	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_ctrl_set_band
_wpas_ctrl_set_band:                    ## @wpas_ctrl_set_band
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	_WPA_SETBAND_2G@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_WPA_SETBAND_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_WPA_SETBAND_5G@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movl	%esi, (%r14)
	movq	%r14, %rdi
	callq	_wpa_drv_setband
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	-32(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_os_memset
	movq	_REGDOM_SET_BY_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_REGDOM_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_EVENT_CHANNEL_LIST_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_wpa_supplicant_event
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AUTO"

	.comm	_WPA_SETBAND_AUTO,4,2           ## @WPA_SETBAND_AUTO
L_.str.1:                               ## @.str.1
	.asciz	"5G"

	.comm	_WPA_SETBAND_5G,4,2             ## @WPA_SETBAND_5G
L_.str.2:                               ## @.str.2
	.asciz	"2G"

	.comm	_WPA_SETBAND_2G,4,2             ## @WPA_SETBAND_2G
	.comm	_REGDOM_SET_BY_USER,4,2         ## @REGDOM_SET_BY_USER
	.comm	_REGDOM_TYPE_UNKNOWN,4,2        ## @REGDOM_TYPE_UNKNOWN
	.comm	_EVENT_CHANNEL_LIST_CHANGED,4,2 ## @EVENT_CHANNEL_LIST_CHANGED
	.no_dead_strip	_wpas_ctrl_set_band
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_ctrl_set_band
_wpas_ctrl_set_band:                    ; @wpas_ctrl_set_band
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_6
; %bb.3:
	mov	w0, #-1
	b	LBB0_10
LBB0_4:
Lloh6:
	adrp	x8, _WPA_SETBAND_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPA_SETBAND_AUTO@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _WPA_SETBAND_5G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WPA_SETBAND_5G@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _WPA_SETBAND_2G@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WPA_SETBAND_2G@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	str	w1, [x19]
	mov	x0, x19
	bl	_wpa_drv_setband
	cbnz	x0, LBB0_9
; %bb.8:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_os_memset
Lloh12:
	adrp	x8, _REGDOM_SET_BY_USER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REGDOM_SET_BY_USER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _REGDOM_TYPE_UNKNOWN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REGDOM_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh18:
	adrp	x8, _EVENT_CHANNEL_LIST_CHANGED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EVENT_CHANNEL_LIST_CHANGED@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_wpa_supplicant_event
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AUTO"

	.comm	_WPA_SETBAND_AUTO,4,2           ; @WPA_SETBAND_AUTO
l_.str.1:                               ; @.str.1
	.asciz	"5G"

	.comm	_WPA_SETBAND_5G,4,2             ; @WPA_SETBAND_5G
l_.str.2:                               ; @.str.2
	.asciz	"2G"

	.comm	_WPA_SETBAND_2G,4,2             ; @WPA_SETBAND_2G
	.comm	_REGDOM_SET_BY_USER,4,2         ; @REGDOM_SET_BY_USER
	.comm	_REGDOM_TYPE_UNKNOWN,4,2        ; @REGDOM_TYPE_UNKNOWN
	.comm	_EVENT_CHANNEL_LIST_CHANGED,4,2 ; @EVENT_CHANNEL_LIST_CHANGED
	.no_dead_strip	_wpas_ctrl_set_band
.subsections_via_symbols
