	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_QL_DUMP_OB_MAC_RSP
	movq	%rbx, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r14
	movq	(%r13), %rax
	movq	8(%r13), %rbx
	leaq	(%rax,%rax,2), %r12
	movq	16(%r14,%r12,8), %r15
	shlq	$4, %rbx
	leaq	(%r15,%rbx), %rsi
	movl	8(%r15,%rbx), %edx
	callq	_ql_unmap_send
	movq	(%r15,%rbx), %rdi
	movl	(%rdi), %eax
	addl	%eax, 8(%r14,%r12,8)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	incl	4(%r14,%r12,8)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_dev_kfree_skb
	movq	$0, (%r15,%rbx)
	movq	_OB_MAC_IOCB_RSP_E@GOTPCREL(%rip), %rbx
	movq	_OB_MAC_IOCB_RSP_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%rbx), %edi
	movq	_OB_MAC_IOCB_RSP_L@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_OB_MAC_IOCB_RSP_P@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_OB_MAC_IOCB_RSP_B@GOTPCREL(%rip), %r15
	orl	(%r15), %edi
	andl	16(%r13), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movl	16(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_tx_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_warn
	movl	16(%r13), %eax
LBB0_3:
	movq	_OB_MAC_IOCB_RSP_S@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_tx_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_warn
	movl	16(%r13), %eax
LBB0_5:
	movq	_OB_MAC_IOCB_RSP_L@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_tx_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_warn
	movl	16(%r13), %eax
LBB0_7:
	testl	%eax, (%r15)
	je	LBB0_9
## %bb.8:
	movq	_tx_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_warn
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,8), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_inc                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OB_MAC_IOCB_RSP_E,4,2          ## @OB_MAC_IOCB_RSP_E
	.comm	_OB_MAC_IOCB_RSP_S,4,2          ## @OB_MAC_IOCB_RSP_S
	.comm	_OB_MAC_IOCB_RSP_L,4,2          ## @OB_MAC_IOCB_RSP_L
	.comm	_OB_MAC_IOCB_RSP_P,4,2          ## @OB_MAC_IOCB_RSP_P
	.comm	_OB_MAC_IOCB_RSP_B,4,2          ## @OB_MAC_IOCB_RSP_B
	.comm	_tx_done,4,2                    ## @tx_done
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Total descriptor length did not match transfer length.\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Frame too long, but sent anyway.\n"

L_.str.3:                               ## @.str.3
	.asciz	"PCI backplane error. Frame not sent.\n"

	.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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_QL_DUMP_OB_MAC_RSP
	ldr	x22, [x19, #8]
	mov	w8, #24
	ldp	x23, x9, [x20]
	madd	x24, x23, x8, x22
	ldr	x8, [x24, #16]
	add	x21, x8, x9, lsl #4
	ldr	w2, [x21, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_ql_unmap_send
	ldr	x0, [x21]
	ldr	w8, [x0]
	ldp	w10, w9, [x24, #4]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x24, #4]
	bl	_dev_kfree_skb
	str	xzr, [x21]
	ldr	w8, [x20, #16]
Lloh0:
	adrp	x24, _OB_MAC_IOCB_RSP_E@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OB_MAC_IOCB_RSP_E@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh2:
	adrp	x26, _OB_MAC_IOCB_RSP_S@GOTPAGE
Lloh3:
	ldr	x26, [x26, _OB_MAC_IOCB_RSP_S@GOTPAGEOFF]
	ldr	w10, [x26]
Lloh4:
	adrp	x25, _OB_MAC_IOCB_RSP_L@GOTPAGE
Lloh5:
	ldr	x25, [x25, _OB_MAC_IOCB_RSP_L@GOTPAGEOFF]
	orr	w9, w10, w9
	ldr	w10, [x25]
	orr	w9, w9, w10
Lloh6:
	adrp	x10, _OB_MAC_IOCB_RSP_P@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OB_MAC_IOCB_RSP_P@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x21, _OB_MAC_IOCB_RSP_B@GOTPAGE
Lloh10:
	ldr	x21, [x21, _OB_MAC_IOCB_RSP_B@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w9, w10
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w8, [x20, #16]
	ldr	w9, [x24]
Lloh11:
	adrp	x24, _tx_done@GOTPAGE
Lloh12:
	ldr	x24, [x24, _tx_done@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x24]
	ldr	w2, [x19]
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
	ldr	w8, [x20, #16]
LBB0_3:
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x24]
	ldr	w2, [x19]
Lloh15:
	adrp	x3, l_.str.1@PAGE
Lloh16:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
	ldr	w8, [x20, #16]
LBB0_5:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w1, [x24]
	ldr	w2, [x19]
Lloh17:
	adrp	x3, l_.str.2@PAGE
Lloh18:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
	ldr	w8, [x20, #16]
LBB0_7:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w1, [x24]
	ldr	w2, [x19]
Lloh19:
	adrp	x3, l_.str.3@PAGE
Lloh20:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netif_warn
LBB0_9:
	mov	w8, #24
	madd	x0, x23, x8, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_atomic_inc
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_OB_MAC_IOCB_RSP_E,4,2          ; @OB_MAC_IOCB_RSP_E
	.comm	_OB_MAC_IOCB_RSP_S,4,2          ; @OB_MAC_IOCB_RSP_S
	.comm	_OB_MAC_IOCB_RSP_L,4,2          ; @OB_MAC_IOCB_RSP_L
	.comm	_OB_MAC_IOCB_RSP_P,4,2          ; @OB_MAC_IOCB_RSP_P
	.comm	_OB_MAC_IOCB_RSP_B,4,2          ; @OB_MAC_IOCB_RSP_B
	.comm	_tx_done,4,2                    ; @tx_done
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Total descriptor length did not match transfer length.\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Frame too long, but sent anyway.\n"

l_.str.3:                               ; @.str.3
	.asciz	"PCI backplane error. Frame not sent.\n"

	.no_dead_strip	_ql_process_mac_tx_intr
.subsections_via_symbols
