// File: /workspace/github_c_makefile_star2_O0/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_SOAP_ENV__Header
SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Header *a, const char *type)
{
	if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Header), type))
		return soap->error;
	if (soap_out__wsa__MessageID(soap, "wsa:MessageID", -1, &a->wsa__MessageID, ""))
		return soap->error;
	if (soap_out_PointerTo_wsa__RelatesTo(soap, "wsa:RelatesTo", -1, &a->wsa__RelatesTo, ""))
		return soap->error;
	if (soap_out_PointerTo_wsa__From(soap, "wsa:From", -1, &a->wsa__From, ""))
		return soap->error;
	soap->mustUnderstand = 1;
	if (soap_out_PointerTo_wsa__ReplyTo(soap, "wsa:ReplyTo", -1, &a->wsa__ReplyTo, ""))
		return soap->error;
	soap->mustUnderstand = 1;
	if (soap_out_PointerTo_wsa__FaultTo(soap, "wsa:FaultTo", -1, &a->wsa__FaultTo, ""))
		return soap->error;
	soap->mustUnderstand = 1;
	if (soap_out__wsa__To(soap, "wsa:To", -1, &a->wsa__To, ""))
		return soap->error;
	soap->mustUnderstand = 1;
	if (soap_out__wsa__Action(soap, "wsa:Action", -1, &a->wsa__Action, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x28(%rbp), %rdx
movl $0x1d, %ecx
callq 0x23f60
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
movl %eax, %edx
movq -0x30(%rbp), %rcx
callq 0x24590
cmpl $0x0, %eax
je 0x392a
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
leaq 0x34e62(%rip), %rsi     # 0x3879b
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x360de(%rip), %r8      # 0x39a23
callq 0xe7b0
cmpl $0x0, %eax
je 0x3961
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x8, %rcx
leaq 0x34dcd(%rip), %rsi     # 0x38741
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x360a3(%rip), %r8      # 0x39a23
callq 0xe9a0
cmpl $0x0, %eax
je 0x399c
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x10, %rcx
leaq 0x34d89(%rip), %rsi     # 0x38738
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x36068(%rip), %r8      # 0x39a23
callq 0xe910
cmpl $0x0, %eax
je 0x39d7
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rax
movw $0x1, 0x1e5ea(%rax)
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x18, %rcx
leaq 0x34d35(%rip), %rsi     # 0x3872c
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x36020(%rip), %r8      # 0x39a23
callq 0xe880
cmpl $0x0, %eax
je 0x3a1f
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rax
movw $0x1, 0x1e5ea(%rax)
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x20, %rcx
leaq 0x34ce1(%rip), %rsi     # 0x38720
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x35fd8(%rip), %r8      # 0x39a23
callq 0xe7f0
cmpl $0x0, %eax
je 0x3a67
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rax
movw $0x1, 0x1e5ea(%rax)
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x28, %rcx
leaq 0x34d0d(%rip), %rsi     # 0x38794
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x35f90(%rip), %r8      # 0x39a23
callq 0xe7b0
cmpl $0x0, %eax
je 0x3aac
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rax
movw $0x1, 0x1e5ea(%rax)
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x30, %rcx
leaq 0x34cbd(%rip), %rsi     # 0x38789
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x35f4b(%rip), %r8      # 0x39a23
callq 0xe7b0
cmpl $0x0, %eax
je 0x3af1
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3b01
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x24680
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)