	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_unmap_tx_skb
_ena_unmap_tx_skb:                      ## @ena_unmap_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	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rsi), %rbx
	movl	(%rsi), %r13d
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	movl	(%r14), %r15d
	movq	_paddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_addr
	movl	%eax, %r12d
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	addq	$4, %rbx
	decl	%r13d
LBB0_3:
	testl	%r13d, %r13d
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %r15d
	movq	_paddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_addr
	movl	%eax, %r12d
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_page
	addq	$4, %rbx
	decl	%r13d
	jne	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_paddr,4,2                      ## @paddr
	.comm	_len,4,2                        ## @len
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_ena_unmap_tx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_unmap_tx_skb
_ena_unmap_tx_skb:                      ; @ena_unmap_tx_skb
	.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	x21, x1
	mov	x19, x0
	ldr	x20, [x1, #16]
	ldr	w23, [x1]
	cmp	w23, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x24, _paddr@GOTPAGE
Lloh1:
	ldr	x24, [x24, _paddr@GOTPAGEOFF]
Lloh2:
	adrp	x25, _len@GOTPAGE
Lloh3:
	ldr	x25, [x25, _len@GOTPAGEOFF]
Lloh4:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w21, [x19]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_dma_unmap_addr
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x20
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_single
	add	x20, x20, #4
	sub	w23, w23, #1
LBB0_3:
	cmp	w23, #1
	b.lt	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x19]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_dma_unmap_addr
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x20
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_page
	add	x20, x20, #4
	subs	w23, w23, #1
	b.ne	LBB0_4
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_paddr,4,2                      ; @paddr
	.comm	_len,4,2                        ; @len
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_ena_unmap_tx_skb
.subsections_via_symbols
