	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_xsk_umem_dma_map
_ixgbe_xsk_umem_dma_map:                ## @ixgbe_xsk_umem_dma_map
	.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
	cmpl	$0, (%rsi)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	movq	(%rdi), %r12
	xorl	%r13d, %r13d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rdx
	movq	_IXGBE_RX_DMA_ATTR@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%r13,4), %esi
	movq	%rcx, %r15
	movl	(%rcx), %ecx
	movl	(%rdx), %r8d
	movl	(%rdi), %r9d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_dma_map_page_attrs
	movq	%r12, %rdi
	movq	%rax, %rbx
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movq	%rbx, (%rax,%r13,8)
	incq	%r13
	movl	(%r14), %eax
	cmpq	%rax, %r13
	movq	%r15, %rcx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rdx
	movq	_IXGBE_RX_DMA_ATTR@GOTPCREL(%rip), %rdi
	jb	LBB0_2
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$-1, %eax
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	(%rax,%r13,8), %rsi
	movl	(%r15), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_IXGBE_RX_DMA_ATTR@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	%r12, %rdi
	callq	_dma_unmap_page_attrs
	movq	8(%rbx), %rax
	movq	$0, (%rax,%r13,8)
	cmpl	$1, %r13d
	je	LBB0_7
## %bb.5:
	movq	%r15, %rax
	movq	%r12, %r15
	leaq	-1(%r13), %rbx
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movl	(%r12), %r8d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dma_unmap_page_attrs
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	$0, (%rax,%r13,8)
	decl	%ebx
	jne	LBB0_6
LBB0_7:
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_IXGBE_RX_DMA_ATTR,4,2          ## @IXGBE_RX_DMA_ATTR
	.no_dead_strip	_ixgbe_xsk_umem_dma_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_xsk_umem_dma_map
_ixgbe_xsk_umem_dma_map:                ; @ixgbe_xsk_umem_dma_map
	.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
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x22, #0
	ldr	x20, [x0]
Lloh0:
	adrp	x23, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh4:
	adrp	x25, _IXGBE_RX_DMA_ATTR@GOTPAGE
Lloh5:
	ldr	x25, [x25, _IXGBE_RX_DMA_ATTR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x22, lsl #2]
	ldr	w3, [x23]
	ldr	w4, [x24]
	ldr	w5, [x25]
	mov	x0, x20
	mov	w2, #0
	bl	_dma_map_page_attrs
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_dma_mapping_error
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	str	x21, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldr	w8, [x19]
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_10
LBB0_5:
	cbz	w22, LBB0_9
; %bb.6:
	ldr	x8, [x19, #8]
	lsl	x21, x22, #3
	ldr	x1, [x8, x21]
	ldr	w2, [x23]
	ldr	w3, [x24]
	ldr	w4, [x25]
	mov	x0, x20
	bl	_dma_unmap_page_attrs
	ldr	x8, [x19, #8]
	str	xzr, [x8, x21]
	cmp	w22, #1
	b.eq	LBB0_9
; %bb.7:
	sub	x21, x22, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23]
	ldr	w3, [x24]
	ldr	w4, [x25]
	mov	x0, x20
	mov	x1, #0
	bl	_dma_unmap_page_attrs
	ldr	x8, [x19, #8]
	str	xzr, [x8, x22, lsl #3]
	subs	w21, w21, #1
	b.ne	LBB0_8
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_IXGBE_RX_DMA_ATTR,4,2          ; @IXGBE_RX_DMA_ATTR
	.no_dead_strip	_ixgbe_xsk_umem_dma_map
.subsections_via_symbols
