	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_alloc_challenge      ## -- Begin function ieee80211_alloc_challenge
	.p2align	4, 0x90
_ieee80211_alloc_challenge:             ## @ieee80211_alloc_challenge
	.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), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_IEEE80211_CHALLENGE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_80211_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_IEEE80211_MALLOC
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	movq	_IEEE80211_MSG_DEBUG@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	movq	%rbx, %rdx
	callq	_IEEE80211_NOTE
	movq	(%rbx), %rax
LBB0_3:
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHALLENGE_LEN,4,2    ## @IEEE80211_CHALLENGE_LEN
	.comm	_M_80211_NODE,4,2               ## @M_80211_NODE
	.comm	_IEEE80211_M_NOWAIT,4,2         ## @IEEE80211_M_NOWAIT
	.comm	_IEEE80211_MSG_DEBUG,4,2        ## @IEEE80211_MSG_DEBUG
	.comm	_IEEE80211_MSG_AUTH,4,2         ## @IEEE80211_MSG_AUTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"shared key challenge alloc failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_alloc_challenge      ; -- Begin function ieee80211_alloc_challenge
	.p2align	2
_ieee80211_alloc_challenge:             ; @ieee80211_alloc_challenge
	.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
	ldr	x0, [x0]
	cbnz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _IEEE80211_CHALLENGE_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CHALLENGE_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _M_80211_NODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_80211_NODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IEEE80211_M_NOWAIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_M_NOWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_IEEE80211_MALLOC
	str	x0, [x19]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _IEEE80211_MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
Lloh17:
	adrp	x4, l_.str.1@PAGE
Lloh18:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_IEEE80211_NOTE
	ldr	x0, [x19]
LBB0_3:
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHALLENGE_LEN,4,2    ; @IEEE80211_CHALLENGE_LEN
	.comm	_M_80211_NODE,4,2               ; @M_80211_NODE
	.comm	_IEEE80211_M_NOWAIT,4,2         ; @IEEE80211_M_NOWAIT
	.comm	_IEEE80211_MSG_DEBUG,4,2        ; @IEEE80211_MSG_DEBUG
	.comm	_IEEE80211_MSG_AUTH,4,2         ; @IEEE80211_MSG_AUTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"shared key challenge alloc failed"

.subsections_via_symbols
