	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_cli_cmd
_hostapd_cli_cmd:                       ## @hostapd_cli_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	movl	$4104, %eax                     ## imm = 0x1008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, -16(%rbp)
	cmpl	%edx, %ecx
	jge	LBB0_2
## %bb.1:
	cmpl	$2, %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	cmovgeq	%rsi, %rcx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_4
LBB0_2:
	movq	%rdi, %rbx
	leaq	-4112(%rbp), %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	movq	%rax, %rdx
	callq	_write_cmd
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	leaq	-4112(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wpa_ctrl_command
	jmp	LBB0_5
LBB0_4:
	movl	$-1, %eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$4104, %rsp                     ## imm = 0x1008
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid %s command - at least %d argument%s required.\n"

L_.str.1:                               ## @.str.1
	.asciz	"s are"

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

	.no_dead_strip	_hostapd_cli_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_cli_cmd
_hostapd_cli_cmd:                       ; @hostapd_cli_cmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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
	mov	x8, x1
Lloh2:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
	cmp	w3, w2
	b.ge	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh7:
	adrp	x10, l_.str.1@PAGE
Lloh8:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w2, #1
	csel	x3, x10, x9, gt
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_printf
	b	LBB0_4
LBB0_2:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #4096
	mov	x2, x8
	bl	_write_cmd
	tbnz	x0, #63, LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_wpa_ctrl_command
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid %s command - at least %d argument%s required.\n"

l_.str.1:                               ; @.str.1
	.asciz	"s are"

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

	.no_dead_strip	_hostapd_cli_cmd
.subsections_via_symbols
