	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_tx_cmd_complete             ## -- Begin function il_tx_cmd_complete
	.p2align	4, 0x90
_il_tx_cmd_complete:                    ## @il_tx_cmd_complete
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_SEQ_TO_QUEUE
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_SEQ_TO_IDX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	_SEQ_HUGE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rcx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %r12
	movslq	%r13d, %rax
	xorl	%edi, %edi
	cmpq	%rax, %rcx
	setne	%dil
	movq	%rcx, %r14
	shlq	$5, %r14
	movl	24(%r12,%r14), %eax
	movl	28(%r12,%r14), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r15d, %r8d
	callq	_WARN
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	$32, %edx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_il_print_hex_error             ## TAILCALL
LBB0_1:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	leaq	(%r12,%r14), %rdi
	addq	$24, %rdi
	xorl	%edx, %edx
	testl	%ebx, -72(%rbp)                 ## 4-byte Folded Reload
	setne	%dl
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_il_get_cmd_idx
	movq	8(%r12,%r14), %rsi
	movq	16(%r12,%r14), %rdx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rcx
	movq	(%rdx,%rcx,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,2), %r13
	leaq	(%rsi,%r13,8), %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12,%r14)
	movq	%rsi, %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	20(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_addr
	movl	%eax, %r12d
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_len
	movq	_PCI_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_pci_unmap_single
	movq	_CMD_WANT_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14,%r13,8)
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.2:
	movq	%r15, %rbx
	movq	%r15, %rdi
	callq	_rxb_addr
	movq	16(%r14,%r13,8), %rcx
	movq	%rax, (%rcx)
	movq	$0, (%r15)
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_5
LBB0_3:
	movq	8(%r14,%r13,8), %rax
	testq	%rax, %rax
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	*%rax
LBB0_5:
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_il_hcmd_queue_reclaim
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	testl	%eax, (%r14)
	jne	LBB0_7
## %bb.6:
	movq	_S_HCMD_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_clear_bit
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_il_get_cmd_string
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_D_INFO
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_wake_up
LBB0_7:
	movl	$0, (%r14)
	movq	%r12, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SEQ_HUGE_FRAME,4,2             ## @SEQ_HUGE_FRAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_mapping,4,2                    ## @mapping
	.comm	_len,4,2                        ## @len
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ## @PCI_DMA_BIDIRECTIONAL
	.comm	_CMD_WANT_SKB,4,2               ## @CMD_WANT_SKB
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
	.comm	_S_HCMD_ACTIVE,4,2              ## @S_HCMD_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"Clearing HCMD_ACTIVE for command %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_tx_cmd_complete             ; -- Begin function il_tx_cmd_complete
	.p2align	2
_il_tx_cmd_complete:                    ; @il_tx_cmd_complete
	.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	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	mov	x23, x0
	ldr	w0, [x0]
	bl	_le16_to_cpu
	mov	x25, x0
	bl	_SEQ_TO_QUEUE
	mov	x20, x0
	mov	x0, x25
	bl	_SEQ_TO_IDX
	mov	x21, x0
	ldr	w26, [x23]
Lloh0:
	adrp	x8, _SEQ_HUGE_FRAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEQ_HUGE_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	ldr	x8, [x19, #24]
	ldr	x3, [x19]
	cmp	x3, w20, sxtw
	cset	w0, ne
	add	x27, x8, x3, lsl #5
	mov	x24, x27
	ldp	w6, w5, [x24, #24]!
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x25
	bl	_WARN
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	mov	w2, #32
	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	_il_print_hex_error
LBB0_2:
	tst	w28, w26
	cset	w2, ne
	mov	x0, x24
	mov	x1, x21
	bl	_il_get_cmd_idx
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x26, w0
	ldp	x25, x8, [x27, #8]
	ldr	x8, [x8, w0, sxtw #3]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w8, #24
	smaddl	x24, w0, w8, x25
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x27]
	ldr	w27, [x19, #20]
Lloh8:
	adrp	x8, _mapping@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mapping@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_dma_unmap_addr
	mov	x28, x0
Lloh11:
	adrp	x8, _len@GOTPAGE
Lloh12:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_dma_unmap_len
	mov	x2, x0
Lloh14:
	adrp	x8, _PCI_DMA_BIDIRECTIONAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCI_DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x27
	mov	x1, x28
	bl	_pci_unmap_single
	ldr	w8, [x24]
Lloh17:
	adrp	x9, _CMD_WANT_SKB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CMD_WANT_SKB@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_rxb_addr
	mov	w8, #24
	madd	x8, x26, x8, x25
	ldr	x8, [x8, #16]
	str	x0, [x8]
	str	xzr, [x22]
	b	LBB0_6
LBB0_4:
	mov	w8, #24
	madd	x8, x26, x8, x25
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x23
	blr	x8
LBB0_6:
	add	x22, x19, #8
	mov	x0, x22
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x26
	bl	_il_hcmd_queue_reclaim
	ldr	w8, [x24]
Lloh20:
	adrp	x9, _CMD_ASYNC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CMD_ASYNC@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _S_HCMD_ACTIVE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _S_HCMD_ACTIVE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_clear_bit
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_il_get_cmd_string
	mov	x1, x0
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D_INFO
	add	x0, x19, #12
	bl	_wake_up
LBB0_8:
	str	wzr, [x24]
	mov	x0, x22
	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_irqrestore
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SEQ_HUGE_FRAME,4,2             ; @SEQ_HUGE_FRAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_mapping,4,2                    ; @mapping
	.comm	_len,4,2                        ; @len
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ; @PCI_DMA_BIDIRECTIONAL
	.comm	_CMD_WANT_SKB,4,2               ; @CMD_WANT_SKB
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
	.comm	_S_HCMD_ACTIVE,4,2              ; @S_HCMD_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"Clearing HCMD_ACTIVE for command %s\n"

.subsections_via_symbols
