	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_dpp_listen_start
_wpas_dpp_listen_start:                 ## @wpas_dpp_listen_start
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_7:
	movl	$-1, %r12d
LBB0_8:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_wpas_dpp_listen_stop
LBB0_4:
	movl	%r14d, (%rbx)
	movl	$4, %edi
	callq	_os_zalloc
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r15
	movl	%r14d, (%rax)
	movq	_dpp_start_listen_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_radio_add_work
	testq	%rax, %rax
	jns	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_wpas_dpp_listen_work_free
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: Reject start_listen since dpp_listen_work already exists"

L_.str.1:                               ## @.str.1
	.asciz	"dpp-listen"

	.comm	_dpp_start_listen_cb,4,2        ## @dpp_start_listen_cb
	.no_dead_strip	_wpas_dpp_listen_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_dpp_listen_start
_wpas_dpp_listen_start:                 ; @wpas_dpp_listen_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %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
	bl	_wpa_printf
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_wpas_dpp_listen_stop
LBB0_6:
	str	w19, [x20]
	mov	w0, #4
	bl	_os_zalloc
	cbz	x0, LBB0_2
; %bb.7:
	mov	x21, x0
	str	w19, [x0]
Lloh5:
	adrp	x8, _dpp_start_listen_cb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dpp_start_listen_cb@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	mov	x5, x21
	bl	_radio_add_work
	mov	x8, x0
	mov	w0, #0
	tbz	x8, #63, LBB0_3
; %bb.8:
	mov	x0, x21
	bl	_wpas_dpp_listen_work_free
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.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	"DPP: Reject start_listen since dpp_listen_work already exists"

l_.str.1:                               ; @.str.1
	.asciz	"dpp-listen"

	.comm	_dpp_start_listen_cb,4,2        ; @dpp_start_listen_cb
	.no_dead_strip	_wpas_dpp_listen_start
.subsections_via_symbols
