	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_stations
_update_stations:                       ## @update_stations
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	_interactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	%rdi, %r15
	movq	_stations@GOTPCREL(%rip), %rdi
	callq	_cli_txt_list_flush
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	movl	$32, %ecx
	xorl	%r8d, %r8d
	callq	_wpa_ctrl_command_sta
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %r14
	leaq	-80(%rbp), %rbx
	leaq	L_.str.2(%rip), %r12
	leaq	-144(%rbp), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_os_snprintf
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	$32, %ecx
	xorl	%r8d, %r8d
	callq	_wpa_ctrl_command_sta
	testq	%rax, %rax
	jne	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_stations@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_cli_txt_list_add
	jmp	LBB0_6
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_interactive,4,2                ## @interactive
	.comm	_stations,4,2                   ## @stations
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STA-FIRST"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"STA-NEXT %s"

	.no_dead_strip	_update_stations
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_stations
_update_stations:                       ; @update_stations
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _interactive@GOTPAGE
Lloh4:
	ldr	x8, [x8, _interactive@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x19, x0
Lloh6:
	adrp	x0, _stations@GOTPAGE
Lloh7:
	ldr	x0, [x0, _stations@GOTPAGEOFF]
	bl	_cli_txt_list_flush
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #72
	mov	x0, x19
	mov	w3, #32
	mov	w4, #0
	bl	_wpa_ctrl_command_sta
	cbz	x0, LBB0_5
LBB0_3:
	ldur	x8, [x29, #-40]
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_9
; %bb.4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
Lloh13:
	adrp	x20, l_.str.1@PAGE
Lloh14:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh15:
	adrp	x21, _stations@GOTPAGE
Lloh16:
	ldr	x21, [x21, _stations@GOTPAGEOFF]
Lloh17:
	adrp	x22, l_.str.2@PAGE
Lloh18:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	add	x3, sp, #72
	mov	w1, #64
	mov	x2, x22
	bl	_os_snprintf
	add	x1, sp, #8
	add	x2, sp, #72
	mov	x0, x19
	mov	w3, #32
	mov	w4, #0
	bl	_wpa_ctrl_command_sta
	cbnz	x0, LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #72
	mov	x1, x20
	bl	_os_strcmp
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #72
	mov	x0, x21
	bl	_cli_txt_list_add
	b	LBB0_6
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_interactive,4,2                ; @interactive
	.comm	_stations,4,2                   ; @stations
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STA-FIRST"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"STA-NEXT %s"

	.no_dead_strip	_update_stations
.subsections_via_symbols
