	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm8211_interrupt_tci
_adm8211_interrupt_tci:                 ## @adm8211_interrupt_tci
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	leaq	12(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%r12), %ebx
	cmpl	%ebx, 4(%r12)
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %r14d
	jmp	LBB0_10
LBB0_2:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ieee80211_tx_status_irqsafe
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	cmpl	4(%r12), %ebx
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	8(%r12)
	movl	%edx, %r14d
	movq	32(%r12), %rax
	movl	(%rax,%r14,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movq	_TDES0_CONTROL_OWN@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TDES0_CONTROL_DONE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rbx
	movq	24(%r12), %r15
	shlq	$4, %r14
	leaq	(%r15,%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r15,%r14), %r12
	movq	%r12, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %edi
	movl	12(%r15,%r14), %esi
	movq	(%r15,%r14), %rax
	movl	4(%rax), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ieee80211_tx_info_clear_status
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movl	8(%r15,%r14), %esi
	movq	%r12, %rdi
	callq	_skb_push
	movl	(%r12), %esi
	movl	8(%r15,%r14), %edx
	movl	%eax, %edi
	callq	_memcpy
	movl	(%rbx), %eax
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TDES0_STATUS_ES@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_9:
	movl	%ebx, %r14d
	movl	4(%r12), %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_10:
	subl	%r14d, %ebx
	movl	8(%r12), %eax
	addl	$-2, %eax
	cmpl	%eax, %ebx
	jae	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_ieee80211_wake_queue
LBB0_12:
	movl	%r14d, (%r12)
	movq	%r15, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TDES0_CONTROL_OWN,4,2          ## @TDES0_CONTROL_OWN
	.comm	_TDES0_CONTROL_DONE,4,2         ## @TDES0_CONTROL_DONE
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.comm	_TDES0_STATUS_ES,4,2            ## @TDES0_STATUS_ES
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.no_dead_strip	_adm8211_interrupt_tci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm8211_interrupt_tci
_adm8211_interrupt_tci:                 ; @adm8211_interrupt_tci
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	ldr	x24, [x0]
	add	x21, x24, #12
	mov	x0, x21
	bl	_spin_lock
	ldp	w25, w8, [x24]
	cmp	w8, w25
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x25
	b	LBB0_10
LBB0_2:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _TDES0_CONTROL_OWN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TDES0_CONTROL_OWN@GOTPAGEOFF]
Lloh2:
	adrp	x27, _TDES0_CONTROL_DONE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _TDES0_CONTROL_DONE@GOTPAGEOFF]
Lloh4:
	adrp	x19, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh5:
	ldr	x19, [x19, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ieee80211_tx_status_irqsafe
	str	xzr, [x28]
	add	w25, w25, #1
	ldr	w8, [x24, #4]
	cmp	w25, w8
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24, #8]
	udiv	w9, w25, w8
	msub	w21, w9, w8, w25
	ldr	x8, [x24, #32]
	ldr	w0, [x8, w21, uxtw #2]
	bl	_le32_to_cpu
	ldr	w8, [x26]
	tst	w8, w0
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #24]
	add	x28, x8, x21, lsl #4
	ldr	x21, [x28]
	mov	x0, x21
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
	ldr	w0, [x24, #16]
	ldr	w1, [x28, #12]
	ldr	x8, [x28]
	ldr	w2, [x8, #4]
Lloh6:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_pci_unmap_single
	mov	x0, x23
	bl	_ieee80211_tx_info_clear_status
	mov	x0, x21
	mov	w1, #4
	bl	_skb_pull
	ldr	w1, [x28, #8]
	mov	x0, x21
	bl	_skb_push
	ldr	w1, [x21]
	ldr	w2, [x28, #8]
	bl	_memcpy
	ldr	w8, [x23]
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x9, _TDES0_STATUS_ES@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TDES0_STATUS_ES@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w22
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x9, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x23]
	b	LBB0_3
LBB0_9:
	mov	x19, x25
	ldr	w25, [x24, #4]
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
LBB0_10:
	ldr	w8, [x24, #8]
	sub	w8, w8, #2
	sub	w9, w25, w19
	cmp	w9, w8
	b.hs	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	w1, #0
	bl	_ieee80211_wake_queue
LBB0_12:
	str	w19, [x24]
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TDES0_CONTROL_OWN,4,2          ; @TDES0_CONTROL_OWN
	.comm	_TDES0_CONTROL_DONE,4,2         ; @TDES0_CONTROL_DONE
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.comm	_TDES0_STATUS_ES,4,2            ; @TDES0_STATUS_ES
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.no_dead_strip	_adm8211_interrupt_tci
.subsections_via_symbols
