	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_alloc_buffer_zc
_i40e_alloc_buffer_zc:                  ## @i40e_alloc_buffer_zc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.1:
	incl	4(%rbx)
	jmp	LBB0_5
LBB0_2:
	movq	%rsi, %r15
	movq	8(%rbx), %r14
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xsk_umem_peek_addr
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_XDP_PACKET_HEADROOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	(%r14), %rbx
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xdp_umem_get_dma
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	movl	%eax, 16(%r15)
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xdp_umem_get_data
	addq	%rbx, %rax
	movq	%rax, 8(%r15)
	movq	-32(%rbp), %rsi
	movq	(%r14), %rdx
	movq	%r14, %rdi
	callq	_xsk_umem_adjust_offset
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_xsk_umem_discard_addr
LBB0_5:
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	incl	(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_XDP_PACKET_HEADROOM,8,3        ## @XDP_PACKET_HEADROOM
	.no_dead_strip	_i40e_alloc_buffer_zc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_alloc_buffer_zc
_i40e_alloc_buffer_zc:                  ; @i40e_alloc_buffer_zc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_4
LBB0_2:
	mov	x19, x1
	ldr	x20, [x21, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_xsk_umem_peek_addr
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _XDP_PACKET_HEADROOM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XDP_PACKET_HEADROOM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x21, x9, x8
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_xdp_umem_get_dma
	add	w8, w0, w21
	str	w8, [x19, #16]
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_xdp_umem_get_data
	add	x8, x0, x21
	str	x8, [x19, #8]
	ldr	x1, [sp, #8]
	ldr	x2, [x20]
	mov	x0, x20
	bl	_xsk_umem_adjust_offset
	str	w0, [x19]
	mov	x0, x20
	bl	_xsk_umem_discard_addr
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XDP_PACKET_HEADROOM,8,3        ; @XDP_PACKET_HEADROOM
	.no_dead_strip	_i40e_alloc_buffer_zc
.subsections_via_symbols
