	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_put_txbuf
_e1000_put_txbuf:                       ## @e1000_put_txbuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movl	16(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %rax
	cmpq	$0, 24(%rbx)
	movq	(%rax), %rdi
	movl	20(%rbx), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	je	LBB0_3
## %bb.2:
	callq	_dma_unmap_page
	jmp	LBB0_4
LBB0_3:
	callq	_dma_unmap_single
LBB0_4:
	movl	$0, 16(%rbx)
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	callq	_dev_kfree_skb_any
	jmp	LBB0_9
LBB0_8:
	callq	_dev_consume_skb_any
LBB0_9:
	movq	$0, 8(%rbx)
LBB0_10:
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_e1000_put_txbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_put_txbuf
_e1000_put_txbuf:                       ; @e1000_put_txbuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	ldr	w1, [x1, #16]
	cbz	w1, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x19, #24]
	ldr	x0, [x8]
	ldr	w2, [x19, #20]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	cbz	x9, LBB0_3
; %bb.2:
	bl	_dma_unmap_page
	b	LBB0_4
LBB0_3:
	bl	_dma_unmap_single
LBB0_4:
	str	wzr, [x19, #16]
LBB0_5:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.6:
	cbz	w20, LBB0_8
; %bb.7:
	bl	_dev_kfree_skb_any
	b	LBB0_9
LBB0_8:
	bl	_dev_consume_skb_any
LBB0_9:
	str	xzr, [x19, #8]
LBB0_10:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_e1000_put_txbuf
.subsections_via_symbols
