	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_cli_recv_pending
_hostapd_cli_recv_pending:              ## @hostapd_cli_recv_pending
	.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
	pushq	%rax
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -4148(%rbp)               ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ctrl_conn@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movl	%edx, %r15d
	movq	%rdi, %rbx
	callq	_wpa_ctrl_pending
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movl	$1, %r14d
	leaq	-4144(%rbp), %r12
	leaq	-4160(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_hostapd_cli_action_process
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_wpa_ctrl_pending
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	$4095, -4160(%rbp)              ## imm = 0xFFF
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_wpa_ctrl_recv
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-4160(%rbp), %rsi
	movb	$0, -4144(%rbp,%rsi)
	movq	%r12, %rdi
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_cli_event
	cmpl	$0, -4148(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	callq	_putchar
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_puts
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_13:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.12:
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ctrl_conn,8,3                  ## @ctrl_conn
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Could not read pending message."

	.no_dead_strip	_hostapd_cli_recv_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_cli_recv_pending
_hostapd_cli_recv_pending:              ; @hostapd_cli_recv_pending
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh5:
	adrp	x8, _ctrl_conn@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ctrl_conn@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_wpa_ctrl_pending
	cbz	x0, LBB0_12
; %bb.2:
	mov	w24, #1
	mov	w22, #4095
	add	x23, sp, #8
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_hostapd_cli_action_process
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_wpa_ctrl_pending
	cbz	x0, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x21
	bl	_wpa_ctrl_recv
	cbnz	x0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp]
	strb	wzr, [x23, x1]
	add	x0, sp, #8
	cbnz	w19, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_cli_event
	cbz	w20, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w24, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #10
	bl	_putchar
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_puts
	mov	w24, #0
	b	LBB0_4
LBB0_11:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ctrl_conn,8,3                  ; @ctrl_conn
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Could not read pending message."

	.no_dead_strip	_hostapd_cli_recv_pending
.subsections_via_symbols
