	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_er_send_get_device_info
_wps_er_send_get_device_info:           ## @wps_er_send_get_device_info
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdi, %r15
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	movq	%rsi, %r14
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_http_client_url_parse
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	-48(%rbp), %rcx
	leaq	-56(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %r8
	leaq	-64(%rbp), %r9
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_wps_er_soap_hdr
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_os_free
	movl	$-1, %ebx
	testq	%r12, %r12
	je	LBB0_11
## %bb.8:
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_wps_er_soap_end
	movq	_wps_er_http_get_dev_info_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %rdi
	movq	%r12, %rsi
	movl	$10000, %edx                    ## imm = 0x2710
	movq	%r15, %r8
	callq	_http_client_addr
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r14, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_9:
	movq	%r12, %rdi
	callq	_wpabuf_free
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS ER: Pending HTTP operation ongoing with the AP - cannot get device info"

L_.str.1:                               ## @.str.1
	.asciz	"WPS ER: No controlURL for AP"

L_.str.2:                               ## @.str.2
	.asciz	"WPS ER: Failed to parse controlURL"

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

	.comm	_wps_er_http_get_dev_info_cb,4,2 ## @wps_er_http_get_dev_info_cb
	.no_dead_strip	_wps_er_send_get_device_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_er_send_get_device_info
_wps_er_send_get_device_info:           ; @wps_er_send_get_device_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_wpa_printf
LBB0_3:
	mov	w0, #-1
LBB0_4:
	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
	add	sp, sp, #80
	ret
LBB0_5:
	mov	x20, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_10
; %bb.6:
	mov	x19, x1
	add	x1, sp, #8
	mov	x2, sp
	bl	_http_client_url_parse
	cbz	x0, LBB0_11
; %bb.7:
	mov	x22, x0
	ldr	x3, [sp]
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x4, sp, #8
	add	x5, sp, #24
	add	x6, sp, #16
	mov	x0, #0
	mov	x2, #0
	bl	_wps_er_soap_hdr
	mov	x21, x0
	mov	x0, x22
	bl	_os_free
	cbz	x21, LBB0_3
; %bb.8:
	ldp	x3, x2, [sp, #16]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_wps_er_soap_end
Lloh9:
	adrp	x8, _wps_er_http_get_dev_info_cb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _wps_er_http_get_dev_info_cb@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #10000
	mov	x4, x20
	bl	_http_client_addr
	str	x0, [x20, #8]
	cbz	x0, LBB0_12
; %bb.9:
	mov	w0, #0
	str	x19, [x20]
	b	LBB0_4
LBB0_10:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_11:
Lloh17:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_12:
	mov	x0, x21
	bl	_wpabuf_free
	b	LBB0_3
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS ER: Pending HTTP operation ongoing with the AP - cannot get device info"

l_.str.1:                               ; @.str.1
	.asciz	"WPS ER: No controlURL for AP"

l_.str.2:                               ; @.str.2
	.asciz	"WPS ER: Failed to parse controlURL"

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

	.comm	_wps_er_http_get_dev_info_cb,4,2 ; @wps_er_http_get_dev_info_cb
	.no_dead_strip	_wps_er_send_get_device_info
.subsections_via_symbols
