	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tx_airtime
_iwl_mvm_tx_airtime:                    ## @iwl_mvm_tx_airtime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	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_5
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	jne	LBB0_5
## %bb.2:
	movl	%edx, %r14d
	movslq	%eax, %r15
	movq	24(%rbx), %r12
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MVM_TCM_PERIOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_schedule_delayed_work
LBB0_4:
	addl	%r14d, (%r12,%r15,4)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_CTXT_ID_MSK,4,2             ## @FW_CTXT_ID_MSK
	.comm	_NUM_MAC_INDEX_DRIVER,4,2       ## @NUM_MAC_INDEX_DRIVER
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_MVM_TCM_PERIOD,8,3             ## @MVM_TCM_PERIOD
	.no_dead_strip	_iwl_mvm_tx_airtime
.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_airtime
_iwl_mvm_tx_airtime:                    ; @iwl_mvm_tx_airtime
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _FW_CTXT_ID_MSK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FW_CTXT_ID_MSK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _NUM_MAC_INDEX_DRIVER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NUM_MAC_INDEX_DRIVER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x9, [x0, #16]
	cbnz	x9, LBB0_5
; %bb.2:
	mov	x19, x2
	ldr	x21, [x20, #24]
	sxtw	x22, w8
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
Lloh9:
	adrp	x9, _MVM_TCM_PERIOD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MVM_TCM_PERIOD@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	bl	_schedule_delayed_work
LBB0_4:
	lsl	x8, x22, #2
	ldr	w9, [x21, x8]
	add	w9, w9, w19
	str	w9, [x21, x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_CTXT_ID_MSK,4,2             ; @FW_CTXT_ID_MSK
	.comm	_NUM_MAC_INDEX_DRIVER,4,2       ; @NUM_MAC_INDEX_DRIVER
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_MVM_TCM_PERIOD,8,3             ; @MVM_TCM_PERIOD
	.no_dead_strip	_iwl_mvm_tx_airtime
.subsections_via_symbols
