	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_key_allowed
_nl80211_key_allowed:                   ## @nl80211_key_allowed
	.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
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ASSERT_WDEV_LOCK
	movl	(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	movl	$58, %edx
	btl	%ecx, %edx
	jb	LBB0_8
## %bb.2:
	movl	$5, %edx
	btl	%ecx, %edx
	jae	LBB0_3
## %bb.5:
	movl	4(%rbx), %ecx
	movq	_CFG80211_SME_CONNECTED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_4
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	cmpl	$0, 8(%rbx)
	jne	LBB0_8
LBB0_4:
	movq	_ENOLINK@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOLINK,4,2                    ## @ENOLINK
	.comm	_CFG80211_SME_CONNECTED,4,2     ## @CFG80211_SME_CONNECTED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nl80211_key_allowed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_key_allowed
_nl80211_key_allowed:                   ; @nl80211_key_allowed
	.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	x19, x0
	bl	_ASSERT_WDEV_LOCK
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #58
	tst	w8, w9
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
	mov	w9, #5
	tst	w8, w9
	b.eq	LBB0_6
; %bb.4:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _CFG80211_SME_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CFG80211_SME_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_2
LBB0_7:
Lloh5:
	adrp	x8, _ENOLINK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOLINK@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOLINK,4,2                    ; @ENOLINK
	.comm	_CFG80211_SME_CONNECTED,4,2     ; @CFG80211_SME_CONNECTED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nl80211_key_allowed
.subsections_via_symbols
