	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_process_mac_tx_intr
_ql_process_mac_tx_intr:                ## @ql_process_mac_tx_intr
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %eax
	movq	_OB_MAC_IOCB_RSP_S@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	movl	(%rbx), %eax
	movl	(%r14), %ecx
LBB0_2:
	movq	24(%r15), %r14
	movq	8(%rbx), %rbx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	8(%r15), %rax
	incl	8(%rax)
	leaq	(%rbx,%rbx,2), %rax
	movq	8(%r14,%rax,8), %rdi
	jmp	LBB0_10
LBB0_4:
	leaq	(%rbx,%rbx,2), %r13
	cmpl	$0, (%r14,%r13,8)
	je	LBB0_5
## %bb.6:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r13,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %r12d
	movq	16(%r14,%r13,8), %rdi
	movq	_mapaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movl	%eax, %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r14,%r13,8), %rdi
	movq	_maplen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_len
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pci_unmap_single
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, (%r13)
	cmpl	$3, %eax
	movq	%r15, %rsi
	jl	LBB0_9
## %bb.7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rax
	addq	$16, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	movl	$4, %r15d
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rdi
	addq	%r15, %rdi
	movq	_mapaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movl	%eax, %ebx
	movq	(%r12), %rdi
	addq	%r15, %rdi
	movq	_maplen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_len
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pci_unmap_page
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	incq	%r14
	movslq	(%r13), %rax
	addq	$4, %r15
	cmpq	%rax, %r14
	jl	LBB0_8
LBB0_9:
	movq	8(%rsi), %rax
	incl	4(%rax)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%r14,%rcx,8), %rdi
	movl	(%rdi), %ecx
	addl	%ecx, (%rax)
	movq	%rsi, %r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	leaq	(%rbx,%rbx,2), %rbx
	callq	_dev_kfree_skb_irq
	movq	$0, 8(%r14,%rbx,8)
LBB0_11:
	movq	%r15, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_inc                     ## TAILCALL
LBB0_5:
	movq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	8(%r15), %rax
	incl	8(%rax)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_OB_MAC_IOCB_RSP_S,4,2          ## @OB_MAC_IOCB_RSP_S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Frame too short but it was padded and sent\n"

L_.str.1:                               ## @.str.1
	.asciz	"Frame too short to be legal, frame not sent\n"

L_.str.2:                               ## @.str.2
	.asciz	"tx_cb->seg_count == 0: %d\n"

	.comm	_mapaddr,4,2                    ## @mapaddr
	.comm	_maplen,4,2                     ## @maplen
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.no_dead_strip	_ql_process_mac_tx_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_process_mac_tx_intr
_ql_process_mac_tx_intr:                ; @ql_process_mac_tx_intr
	.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, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x21, _OB_MAC_IOCB_RSP_S@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OB_MAC_IOCB_RSP_S@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_warn
	ldr	w8, [x20]
	ldr	w9, [x21]
LBB0_2:
	ldr	x21, [x19, #24]
	ldr	x22, [x20, #8]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	mov	w8, #24
	madd	x8, x22, x8, x21
	ldr	x0, [x8, #8]
	b	LBB0_9
LBB0_4:
	mov	w8, #24
	madd	x24, x22, x8, x21
	ldr	w8, [x24]
	cbz	w8, LBB0_11
; %bb.5:
	ldr	w20, [x19, #16]
	mov	w8, #24
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	madd	x25, x22, x8, x21
	ldr	x0, [x25, #16]!
Lloh6:
	adrp	x8, _mapaddr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mapaddr@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_dma_unmap_addr
	mov	x21, x0
	ldr	x0, [x25]
Lloh9:
	adrp	x27, _maplen@GOTPAGE
Lloh10:
	ldr	x27, [x27, _maplen@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_dma_unmap_len
	mov	x2, x0
Lloh11:
	adrp	x28, _PCI_DMA_TODEVICE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	x0, x20
	mov	x1, x21
	bl	_pci_unmap_single
	ldr	w8, [x24]
	sub	w9, w8, #1
	str	w9, [x24]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.6:
	mov	w26, #1
	mov	w23, #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x19, #16]
	ldr	x8, [x25]
	add	x0, x8, x23
Lloh13:
	adrp	x8, _mapaddr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mapaddr@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_dma_unmap_addr
	mov	x21, x0
	ldr	x8, [x25]
	add	x0, x8, x23
	ldr	w1, [x27]
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x28]
	mov	x0, x20
	mov	x1, x21
	bl	_pci_unmap_page
	add	x26, x26, #1
	ldrsw	x8, [x24]
	add	x23, x23, #4
	cmp	x26, x8
	b.lt	LBB0_7
LBB0_8:
	ldr	x8, [x19, #8]
	mov	w9, #24
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	madd	x9, x22, x9, x21
	ldr	x0, [x9, #8]
	ldr	d0, [x8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x0]
	add.2s	v0, v0, v1
	str	d0, [x8]
LBB0_9:
	mov	w8, #24
	madd	x20, x22, x8, x21
	bl	_dev_kfree_skb_irq
	str	xzr, [x20, #8]
LBB0_10:
	mov	x0, x19
	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	_atomic_inc
LBB0_11:
	ldr	x0, [x19, #8]
	str	x22, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_err
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_OB_MAC_IOCB_RSP_S,4,2          ; @OB_MAC_IOCB_RSP_S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Frame too short but it was padded and sent\n"

l_.str.1:                               ; @.str.1
	.asciz	"Frame too short to be legal, frame not sent\n"

l_.str.2:                               ; @.str.2
	.asciz	"tx_cb->seg_count == 0: %d\n"

	.comm	_mapaddr,4,2                    ; @mapaddr
	.comm	_maplen,4,2                     ; @maplen
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.no_dead_strip	_ql_process_mac_tx_intr
.subsections_via_symbols
