	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_cli_interactive
_hostapd_cli_interactive:               ## @hostapd_cli_interactive
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_os_strlen
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rdi
	callq	_os_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r14,%rax), %r15d
	addl	$2, %r15d
	movl	%r15d, %edi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.2(%rip), %r8
	movq	%rax, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rcx
	callq	_os_snprintf
	jmp	LBB0_5
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	movq	_hostapd_cli_eloop_terminate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_eloop_register_signal_terminate
	movq	_hostapd_cli_edit_cmd_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_hostapd_cli_edit_eof_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_hostapd_cli_edit_completion_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_edit_init
	movq	_ping_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_hostapd_cli_ping@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	xorl	%eax, %eax
	callq	_eloop_run
	movq	_stations@GOTPCREL(%rip), %rdi
	callq	_cli_txt_list_flush
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_edit_deinit
	movq	%r14, %rdi
	callq	_os_free
	movl	(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eloop_cancel_timeout           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"HOME"

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

L_.str.3:                               ## @.str.3
	.asciz	"%s/%s"

	.comm	_hostapd_cli_eloop_terminate,4,2 ## @hostapd_cli_eloop_terminate
	.comm	_hostapd_cli_edit_cmd_cb,4,2    ## @hostapd_cli_edit_cmd_cb
	.comm	_hostapd_cli_edit_eof_cb,4,2    ## @hostapd_cli_edit_eof_cb
	.comm	_hostapd_cli_edit_completion_cb,4,2 ## @hostapd_cli_edit_completion_cb
	.comm	_ping_interval,4,2              ## @ping_interval
	.comm	_hostapd_cli_ping,4,2           ## @hostapd_cli_ping
	.comm	_stations,4,2                   ## @stations
	.comm	_CONFIG_HOSTAPD_CLI_HISTORY_DIR,8,3 ## @CONFIG_HOSTAPD_CLI_HISTORY_DIR
L_str:                                  ## @str
	.asciz	"\nInteractive mode\n"

	.no_dead_strip	_hostapd_cli_interactive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_cli_interactive
_hostapd_cli_interactive:               ; @hostapd_cli_interactive
	.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
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_os_strlen
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_os_strlen
	add	w8, w19, w0
	add	w21, w8, #2
	mov	x0, x21
	bl	_os_malloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh8:
	adrp	x4, l_.str.2@PAGE
Lloh9:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_os_snprintf
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
Lloh10:
	adrp	x8, _hostapd_cli_eloop_terminate@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hostapd_cli_eloop_terminate@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_eloop_register_signal_terminate
Lloh13:
	adrp	x8, _hostapd_cli_edit_cmd_cb@GOTPAGE
Lloh14:
	ldr	x8, [x8, _hostapd_cli_edit_cmd_cb@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _hostapd_cli_edit_eof_cb@GOTPAGE
Lloh17:
	ldr	x8, [x8, _hostapd_cli_edit_eof_cb@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _hostapd_cli_edit_completion_cb@GOTPAGE
Lloh20:
	ldr	x8, [x8, _hostapd_cli_edit_completion_cb@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x3, #0
	mov	x4, x19
	mov	x5, #0
	bl	_edit_init
Lloh22:
	adrp	x8, _ping_interval@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ping_interval@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x20, _hostapd_cli_ping@GOTPAGE
Lloh26:
	ldr	x20, [x20, _hostapd_cli_ping@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	mov	x3, #0
	mov	x4, #0
	bl	_eloop_register_timeout
	bl	_eloop_run
Lloh27:
	adrp	x0, _stations@GOTPAGE
Lloh28:
	ldr	x0, [x0, _stations@GOTPAGEOFF]
	bl	_cli_txt_list_flush
	mov	x0, x19
	mov	x1, #0
	bl	_edit_deinit
	mov	x0, x19
	bl	_os_free
	ldr	w0, [x20]
	mov	x1, #0
	mov	x2, #0
	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
	b	_eloop_cancel_timeout
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"HOME"

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

l_.str.3:                               ; @.str.3
	.asciz	"%s/%s"

	.comm	_hostapd_cli_eloop_terminate,4,2 ; @hostapd_cli_eloop_terminate
	.comm	_hostapd_cli_edit_cmd_cb,4,2    ; @hostapd_cli_edit_cmd_cb
	.comm	_hostapd_cli_edit_eof_cb,4,2    ; @hostapd_cli_edit_eof_cb
	.comm	_hostapd_cli_edit_completion_cb,4,2 ; @hostapd_cli_edit_completion_cb
	.comm	_ping_interval,4,2              ; @ping_interval
	.comm	_hostapd_cli_ping,4,2           ; @hostapd_cli_ping
	.comm	_stations,4,2                   ; @stations
	.comm	_CONFIG_HOSTAPD_CLI_HISTORY_DIR,8,3 ; @CONFIG_HOSTAPD_CLI_HISTORY_DIR
l_str:                                  ; @str
	.asciz	"\nInteractive mode\n"

	.no_dead_strip	_hostapd_cli_interactive
.subsections_via_symbols
