	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_mac_tx_push_pending     ## -- Begin function ath10k_mac_tx_push_pending
	.p2align	4, 0x90
_ath10k_mac_tx_push_pending:            ## @ath10k_mac_tx_push_pending
	.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	8(%rdi), %rax
	movq	_HTT_TX_MODE_SWITCH_PUSH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	4(%rdi), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cmpl	%ecx, (%rdi)
	jge	LBB0_7
## %bb.2:
	movq	16(%rdi), %r14
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	movq	_EBUSY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ath10k_mac_schedule_txq
	addl	(%r12), %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jl	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTT_TX_MODE_SWITCH_PUSH,8,3    ## @HTT_TX_MODE_SWITCH_PUSH
	.comm	_IEEE80211_NUM_ACS,8,3          ## @IEEE80211_NUM_ACS
	.comm	_EBUSY,4,2                      ## @EBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_mac_tx_push_pending     ; -- Begin function ath10k_mac_tx_push_pending
	.p2align	2
_ath10k_mac_tx_push_pending:            ; @ath10k_mac_tx_push_pending
	.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	x8, [x0, #8]
Lloh0:
	adrp	x9, _HTT_TX_MODE_SWITCH_PUSH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HTT_TX_MODE_SWITCH_PUSH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldp	w8, w9, [x0]
	cmp	w9, #0
	cinc	w9, w9, lt
	cmp	w8, w9, asr #1
	b.ge	LBB0_7
; %bb.2:
	ldr	x19, [x0, #16]
	bl	_rcu_read_lock
Lloh3:
	adrp	x21, _IEEE80211_NUM_ACS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IEEE80211_NUM_ACS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x20, #0
Lloh5:
	adrp	x22, _EBUSY@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EBUSY@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_mac_schedule_txq
	ldr	w8, [x22]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldr	x8, [x21]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_6:
	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
	b	_rcu_read_unlock
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HTT_TX_MODE_SWITCH_PUSH,8,3    ; @HTT_TX_MODE_SWITCH_PUSH
	.comm	_IEEE80211_NUM_ACS,8,3          ; @IEEE80211_NUM_ACS
	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
