	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_set_mac_policy            ## -- Begin function wlan_set_mac_policy
	.p2align	4, 0x90
_wlan_set_mac_policy:                   ## @wlan_set_mac_policy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -16(%rbp)
	movl	$-1, %eax
	cmpl	$0, 8(%rdi)
	je	LBB0_8
## %bb.1:
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_IEEE80211_MACCMD_POLICY_RADIUS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_IEEE80211_MACCMD_POLICY_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_IEEE80211_MACCMD_POLICY_DENY@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_IEEE80211_MACCMD_POLICY_ALLOW@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	4(%rdi), %edi
	movq	_IEEE80211_IOC_MACCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	leaq	-16(%rbp), %r8
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_wlan_ioctl
	sarq	$63, %rax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_MACCMD_POLICY_ALLOW,4,2 ## @IEEE80211_MACCMD_POLICY_ALLOW
	.comm	_IEEE80211_MACCMD_POLICY_DENY,4,2 ## @IEEE80211_MACCMD_POLICY_DENY
	.comm	_IEEE80211_MACCMD_POLICY_RADIUS,4,2 ## @IEEE80211_MACCMD_POLICY_RADIUS
	.comm	_IEEE80211_MACCMD_POLICY_OPEN,4,2 ## @IEEE80211_MACCMD_POLICY_OPEN
	.comm	_IEEE80211_IOC_MACCMD,4,2       ## @IEEE80211_IOC_MACCMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_set_mac_policy            ; -- Begin function wlan_set_mac_policy
	.p2align	2
_wlan_set_mac_policy:                   ; @wlan_set_mac_policy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	xzr, [sp]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh2:
	adrp	x8, _IEEE80211_MACCMD_POLICY_RADIUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_RADIUS@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	mov	w0, #-1
	b	LBB0_9
LBB0_5:
Lloh4:
	adrp	x8, _IEEE80211_MACCMD_POLICY_OPEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_OPEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _IEEE80211_MACCMD_POLICY_DENY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_DENY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _IEEE80211_MACCMD_POLICY_ALLOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_ALLOW@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
	ldr	w0, [x0, #4]
Lloh10:
	adrp	x8, _IEEE80211_IOC_MACCMD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_IOC_MACCMD@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	sub	x2, x29, #4
	mov	x4, sp
	mov	x3, #0
	mov	w5, #1
	bl	_wlan_ioctl
	asr	x0, x0, #63
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_IEEE80211_MACCMD_POLICY_ALLOW,4,2 ; @IEEE80211_MACCMD_POLICY_ALLOW
	.comm	_IEEE80211_MACCMD_POLICY_DENY,4,2 ; @IEEE80211_MACCMD_POLICY_DENY
	.comm	_IEEE80211_MACCMD_POLICY_RADIUS,4,2 ; @IEEE80211_MACCMD_POLICY_RADIUS
	.comm	_IEEE80211_MACCMD_POLICY_OPEN,4,2 ; @IEEE80211_MACCMD_POLICY_OPEN
	.comm	_IEEE80211_IOC_MACCMD,4,2       ; @IEEE80211_IOC_MACCMD
.subsections_via_symbols
