	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de4x5_free_tx_buff
_de4x5_free_tx_buff:                    ## @de4x5_free_tx_buff
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %r14d
	movq	8(%rdi), %rax
	movslq	%esi, %r12
	movl	4(%rax,%r12,8), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movl	(%rax,%r12,8), %edi
	callq	_le32_to_cpu
	movq	_TD_TBS1@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	(%rbx), %rax
	movq	(%rax,%r12,8), %rdi
	cmpl	$2, %edi
	jl	LBB0_2
## %bb.1:
	callq	_dev_kfree_skb_irq
	movq	(%rbx), %rax
LBB0_2:
	movq	$0, (%rax,%r12,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_TBS1,4,2                    ## @TD_TBS1
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_de4x5_free_tx_buff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de4x5_free_tx_buff
_de4x5_free_tx_buff:                    ; @de4x5_free_tx_buff
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	ldr	w20, [x0, #16]
	ldr	x8, [x0, #8]
	sxtw	x22, w1
	sbfiz	x23, x1, #3, #32
	add	x8, x8, x23
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x23]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _TD_TBS1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TD_TBS1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w2, w8, w0
Lloh3:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_unmap_single
	ldr	x8, [x19]
	ldr	x0, [x8, x23]
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	bl	_dev_kfree_skb_irq
	ldr	x8, [x19]
LBB0_2:
	str	xzr, [x8, x22, lsl #3]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_TBS1,4,2                    ; @TD_TBS1
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_de4x5_free_tx_buff
.subsections_via_symbols
