	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_er_ap_settings_cb
_wps_er_ap_settings_cb:                 ## @wps_er_ap_settings_cb
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	16(%rbx), %rdi
	callq	_os_free
	movl	$4, %edi
	callq	_os_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_os_memcpy
	movq	16(%rbx), %rax
	movq	$0, (%rax)
LBB0_2:
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movl	8(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	%r14, -40(%rbp)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_WPS_EV_ER_AP_SETTINGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdx
	callq	*8(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS ER: AP Settings received"

	.comm	_WPS_EV_ER_AP_SETTINGS,4,2      ## @WPS_EV_ER_AP_SETTINGS
	.no_dead_strip	_wps_er_ap_settings_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_er_ap_settings_cb
_wps_er_ap_settings_cb:                 ; @wps_er_ap_settings_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
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
	bl	_wpa_printf
	ldr	x0, [x19, #16]
	bl	_os_free
	mov	w0, #4
	bl	_os_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x20
	mov	w2, #4
	bl	_os_memcpy
	ldr	x8, [x19, #16]
	str	xzr, [x8]
LBB0_2:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	ldr	w8, [x19, #8]
	str	w8, [sp, #8]
	str	x20, [sp]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _WPS_EV_ER_AP_SETTINGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WPS_EV_ER_AP_SETTINGS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x2, sp
	blr	x9
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS ER: AP Settings received"

	.comm	_WPS_EV_ER_AP_SETTINGS,4,2      ; @WPS_EV_ER_AP_SETTINGS
	.no_dead_strip	_wps_er_ap_settings_cb
.subsections_via_symbols
