	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unmap_partial_tx_skb
_unmap_partial_tx_skb:                  ## @unmap_partial_tx_skb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rdi), %edi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	callq	_dma_unmap_single
	movq	%r15, %rdi
	callq	_NEXT_TX
	cmpq	%r14, %rax
	jne	LBB0_1
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	(%rbx,%rax,8), %r14
	addq	$4, %r14
	leaq	(%rbx,%rax,8), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_hme_read_desc32
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_hme_read_desc32
	movq	_TXFLAG_SIZE@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movl	(%r12), %edi
	movl	(%r13), %ecx
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_dma_unmap_page
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_TXFLAG_SIZE,8,3                ## @TXFLAG_SIZE
	.no_dead_strip	_unmap_partial_tx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unmap_partial_tx_skb
_unmap_partial_tx_skb:                  ; @unmap_partial_tx_skb
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	ldr	w0, [x0]
Lloh0:
	adrp	x23, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x23]
	bl	_dma_unmap_single
	mov	x0, x21
	bl	_NEXT_TX
	cmp	x0, x20
	b.ne	LBB0_2
; %bb.1:
	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
LBB0_2:
	add	x20, x22, x0, lsl #3
	add	x21, x20, #4
Lloh2:
	adrp	x24, _TXFLAG_SIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TXFLAG_SIZE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hme_read_desc32
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_hme_read_desc32
	ldr	x8, [x24]
	and	x2, x8, x0
	ldr	w0, [x19]
	ldr	w3, [x23]
	mov	x1, x22
	bl	_dma_unmap_page
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_TXFLAG_SIZE,8,3                ; @TXFLAG_SIZE
	.no_dead_strip	_unmap_partial_tx_skb
.subsections_via_symbols
