	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_tx_mgmt_cancel_wait
_nl80211_tx_mgmt_cancel_wait:           ## @nl80211_tx_mgmt_cancel_wait
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movq	_NL80211_ATTR_COOKIE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.3:
	movq	8(%rsi), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	8(%rax), %r14
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	jae	LBB0_4
## %bb.6:
	callq	_nla_get_u64
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rdev_mgmt_tx_cancel_wait       ## TAILCALL
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_COOKIE,8,3        ## @NL80211_ATTR_COOKIE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nl80211_tx_mgmt_cancel_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_tx_mgmt_cancel_wait
_nl80211_tx_mgmt_cancel_wait:           ; @nl80211_tx_mgmt_cancel_wait
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NL80211_ATTR_COOKIE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_ATTR_COOKIE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x1, #8]
	ldr	x19, [x8]
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
	cbz	w9, LBB0_4
; %bb.2:
	ldr	x20, [x8, #8]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hs	LBB0_4
; %bb.3:
	bl	_nla_get_u64
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rdev_mgmt_tx_cancel_wait
LBB0_4:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	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	_NL80211_ATTR_COOKIE,8,3        ; @NL80211_ATTR_COOKIE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nl80211_tx_mgmt_cancel_wait
.subsections_via_symbols
