	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function web_connection_parse_post
_web_connection_parse_post:             ## @web_connection_parse_post
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_http_request_get_data
	movq	%rax, %r13
	movq	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	_UPNP_WPS_DEVICE_CONTROL_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_os_strcasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_HTTP_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movq	_HTTP_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_15
## %bb.14:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_15:
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %r8
	movq	-64(%rbp), %r9
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_web_connection_send_reply
	movq	-48(%rbp), %rdi
	callq	_wpabuf_free
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	_UPNP_INVALID_ACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_web_get_action
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	-56(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	-56(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	-56(%rbp), %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	-56(%rbp), %rdx
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_13
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_5:
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	callq	_web_process_get_device_info
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_7:
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_web_process_put_message
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_9:
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_web_process_put_wlan_response
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_11:
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_web_process_set_selected_registrar
	movl	%eax, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_UPNP_WPS_DEVICE_CONTROL_FILE,4,2 ## @UPNP_WPS_DEVICE_CONTROL_FILE
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS UPnP: Invalid POST filename %s"

	.comm	_HTTP_NOT_FOUND,4,2             ## @HTTP_NOT_FOUND
	.comm	_UPNP_INVALID_ACTION,4,2        ## @UPNP_INVALID_ACTION
L_.str.1:                               ## @.str.1
	.asciz	"GetDeviceInfo"

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

L_.str.3:                               ## @.str.3
	.asciz	"PutWLANResponse"

L_.str.4:                               ## @.str.4
	.asciz	"SetSelectedRegistrar"

L_.str.5:                               ## @.str.5
	.asciz	"WPS UPnP: Unknown POST type"

	.comm	_HTTP_OK,4,2                    ## @HTTP_OK
L_.str.6:                               ## @.str.6
	.asciz	"WPS UPnP: POST failure ret=%d"

	.no_dead_strip	_web_connection_parse_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function web_connection_parse_post
_web_connection_parse_post:             ; @web_connection_parse_post
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x24, x1
	mov	x22, x0
	mov	x0, x2
	bl	_http_request_get_data
	mov	x23, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _UPNP_WPS_DEVICE_CONTROL_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UPNP_WPS_DEVICE_CONTROL_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_os_strcasecmp
Lloh3:
	adrp	x25, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MSG_INFO@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w0, [x25]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x20, #0
Lloh7:
	adrp	x8, _HTTP_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HTTP_NOT_FOUND@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
LBB0_2:
Lloh10:
	adrp	x8, _HTTP_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HTTP_OK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x25]
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
LBB0_4:
	ldp	x5, x3, [sp, #16]
	ldr	x4, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_web_connection_send_reply
	ldr	x0, [sp, #8]
	bl	_wpabuf_free
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
Lloh15:
	adrp	x8, _UPNP_INVALID_ACTION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UPNP_INVALID_ACTION@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	add	x1, sp, #24
	mov	x0, x19
	bl	_web_get_action
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.6:
	ldr	x2, [sp, #24]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_os_strncasecmp
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x2, [sp, #24]
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_os_strncasecmp
	cbz	w0, LBB0_12
; %bb.8:
	ldr	x2, [sp, #24]
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_os_strncasecmp
	cbz	w0, LBB0_13
; %bb.9:
	ldr	x2, [sp, #24]
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_os_strncasecmp
	cbz	w0, LBB0_14
; %bb.10:
	ldr	w0, [x25]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_2
LBB0_11:
	add	x1, sp, #8
	add	x2, sp, #16
	mov	x0, x22
	bl	_web_process_get_device_info
	mov	x21, x0
	b	LBB0_2
LBB0_12:
	add	x2, sp, #8
	add	x3, sp, #16
	mov	x0, x22
	mov	x1, x23
	bl	_web_process_put_message
	mov	x21, x0
	b	LBB0_2
LBB0_13:
	add	x2, sp, #8
	add	x3, sp, #16
	mov	x0, x22
	mov	x1, x23
	bl	_web_process_put_wlan_response
	mov	x21, x0
	b	LBB0_2
LBB0_14:
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_web_process_set_selected_registrar
	mov	x21, x0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_UPNP_WPS_DEVICE_CONTROL_FILE,4,2 ; @UPNP_WPS_DEVICE_CONTROL_FILE
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS UPnP: Invalid POST filename %s"

	.comm	_HTTP_NOT_FOUND,4,2             ; @HTTP_NOT_FOUND
	.comm	_UPNP_INVALID_ACTION,4,2        ; @UPNP_INVALID_ACTION
l_.str.1:                               ; @.str.1
	.asciz	"GetDeviceInfo"

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

l_.str.3:                               ; @.str.3
	.asciz	"PutWLANResponse"

l_.str.4:                               ; @.str.4
	.asciz	"SetSelectedRegistrar"

l_.str.5:                               ; @.str.5
	.asciz	"WPS UPnP: Unknown POST type"

	.comm	_HTTP_OK,4,2                    ; @HTTP_OK
l_.str.6:                               ; @.str.6
	.asciz	"WPS UPnP: POST failure ret=%d"

	.no_dead_strip	_web_connection_parse_post
.subsections_via_symbols
