	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_tx_complete            ## -- Begin function mac_drv_tx_complete
	.p2align	4, 0x90
_mac_drv_tx_complete:                   ## @mac_drv_tx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	$0, 8(%r15)
	leaq	8(%r14), %rdi
	movq	(%r15), %rsi
	movq	(%rbx), %rdx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	$0, (%r15)
	incl	4(%r14)
	movl	(%rbx), %eax
	addl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_irq
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering mac_drv_tx_complete\n"

L_.str.1:                               ## @.str.1
	.asciz	"TXD with no skb assigned.\n"

	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
L_.str.2:                               ## @.str.2
	.asciz	"leaving mac_drv_tx_complete\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_drv_tx_complete            ; -- Begin function mac_drv_tx_complete
	.p2align	2
_mac_drv_tx_complete:                   ; @mac_drv_tx_complete
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x20, [x21, #8]
	cbz	x20, LBB0_2
; %bb.1:
	str	xzr, [x21, #8]
	add	x0, x19, #8
	ldr	x1, [x21]
	ldr	x2, [x20]
Lloh2:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_pci_unmap_single
	str	xzr, [x21]
	ldr	d0, [x19]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x20]
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x20
	bl	_dev_kfree_skb_irq
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	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	_pr_debug
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering mac_drv_tx_complete\n"

l_.str.1:                               ; @.str.1
	.asciz	"TXD with no skb assigned.\n"

	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
l_.str.2:                               ; @.str.2
	.asciz	"leaving mac_drv_tx_complete\n"

.subsections_via_symbols
