	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spp_post_dev_data
_spp_post_dev_data:                     ## @spp_post_dev_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdx, %rcx
	movl	%esi, %r13d
	movq	%rdi, %r12
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_build_spp_post_dev_data
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %edi
	movq	%rax, %rsi
	callq	_soap_send_receive
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_hs20_spp_validate
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_process_spp_post_dev_data_response
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_2:
	movl	4(%r12), %edi
	callq	_http_get_err
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_write_result
	jmp	LBB0_8
LBB0_6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_xml_node_free
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_write_summary
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP error: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to send SOAP message"

L_.str.2:                               ## @.str.2
	.asciz	"sppPostDevDataResponse"

L_.str.3:                               ## @.str.3
	.asciz	"SPP validation failed"

	.no_dead_strip	_spp_post_dev_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spp_post_dev_data
_spp_post_dev_data:                     ; @spp_post_dev_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x3
	mov	x3, x2
	mov	x22, x1
	mov	x19, x0
	mov	x1, #0
	mov	x2, #0
	bl	_build_spp_post_dev_data
	cbz	x0, LBB0_8
; %bb.1:
	mov	x1, x0
	ldr	w0, [x19, #4]
	bl	_soap_send_receive
	cbz	x0, LBB0_4
; %bb.2:
	mov	x23, x0
Lloh0:
	adrp	x2, l_.str.2@PAGE
Lloh1:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	bl	_hs20_spp_validate
	tbnz	x0, #63, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	bl	_process_spp_post_dev_data_response
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_http_get_err
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
Lloh2:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	mov	x1, x21
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_write_result
	b	LBB0_8
LBB0_6:
Lloh7:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19]
	mov	x1, x23
	bl	_xml_node_free
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_write_summary
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP error: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to send SOAP message"

l_.str.2:                               ; @.str.2
	.asciz	"sppPostDevDataResponse"

l_.str.3:                               ; @.str.3
	.asciz	"SPP validation failed"

	.no_dead_strip	_spp_post_dev_data
.subsections_via_symbols
