// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl %edx, %esi
movq %rcx, %rdx
movl $0x1d, %ecx
callq 0x1817e
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x186a5
testl %eax, %eax
jne 0x38e1
leaq 0x22004(%rip), %rsi     # 0x257af
leaq 0x22e3c(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %r15, %rcx
movl $0x4, %r9d
callq 0x1fcff
testl %eax, %eax
jne 0x38e1
leaq 0x8(%r15), %rcx
leaq 0x21f7a(%rip), %rsi     # 0x25755
leaq 0x22e0c(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb1bc
testl %eax, %eax
jne 0x38e1
leaq 0x10(%r15), %rcx
leaq 0x21f4a(%rip), %rsi     # 0x2574c
leaq 0x22de5(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb15d
testl %eax, %eax
jne 0x38e1
movw $0x1, 0x1e5ea(%rbx)
leaq 0x18(%r15), %rcx
leaq 0x21f0e(%rip), %rsi     # 0x25740
leaq 0x22db5(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb0fe
testl %eax, %eax
jne 0x38e1
movw $0x1, 0x1e5ea(%rbx)
leaq 0x20(%r15), %rcx
leaq 0x21ed2(%rip), %rsi     # 0x25734
leaq 0x22d85(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xb09f
testl %eax, %eax
jne 0x38e1
movw $0x1, 0x1e5ea(%rbx)
leaq 0x28(%r15), %rcx
leaq 0x21f1a(%rip), %rsi     # 0x257a8
leaq 0x22d59(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x4, %r9d
callq 0x1fcff
testl %eax, %eax
jne 0x38e1
movw $0x1, 0x1e5ea(%rbx)
addq $0x30, %r15
leaq 0x21edd(%rip), %rsi     # 0x2579d
leaq 0x22d27(%rip), %r8      # 0x265ee
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %r15, %rcx
movl $0x4, %r9d
callq 0x1fcff
testl %eax, %eax
je 0x38f3
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x18722