	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tx_pkt_queued
_iwl_mvm_tx_pkt_queued:                 ## @iwl_mvm_tx_pkt_queued
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FW_CTXT_ID_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	movq	_NUM_MAC_INDEX_DRIVER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_1
## %bb.2:
	cltq
	movq	_tid_to_mac80211_ac@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rdi), %rdx
	movq	(%rdx,%rax,8), %rax
	incl	(%rax,%rcx,4)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tid_to_mac80211_ac,8,3         ## @tid_to_mac80211_ac
	.comm	_FW_CTXT_ID_MSK,4,2             ## @FW_CTXT_ID_MSK
	.comm	_NUM_MAC_INDEX_DRIVER,4,2       ## @NUM_MAC_INDEX_DRIVER
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iwl_mvm_tx_pkt_queued
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_tx_pkt_queued
_iwl_mvm_tx_pkt_queued:                 ; @iwl_mvm_tx_pkt_queued
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x10, _FW_CTXT_ID_MSK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FW_CTXT_ID_MSK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh3:
	adrp	x10, _NUM_MAC_INDEX_DRIVER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NUM_MAC_INDEX_DRIVER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh6:
	adrp	x10, _tid_to_mac80211_ac@GOTPAGE
Lloh7:
	ldr	x10, [x10, _tid_to_mac80211_ac@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	x10, [x10, w2, sxtw #3]
	ldr	x8, [x8]
	ldr	x8, [x8, w9, sxtw #3]
	lsl	x9, x10, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ret
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_tid_to_mac80211_ac,8,3         ; @tid_to_mac80211_ac
	.comm	_FW_CTXT_ID_MSK,4,2             ; @FW_CTXT_ID_MSK
	.comm	_NUM_MAC_INDEX_DRIVER,4,2       ; @NUM_MAC_INDEX_DRIVER
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iwl_mvm_tx_pkt_queued
.subsections_via_symbols
