	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_alloc_buffer_zc
_ixgbe_alloc_buffer_zc:                 ## @ixgbe_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rsi)
	movl	$1, %r14d
	jne	LBB0_4
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_xsk_umem_peek_addr
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_XDP_PACKET_HEADROOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	(%r15), %rbx
	movq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_xdp_umem_get_dma
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	movl	%eax, 16(%r12)
	movq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_xdp_umem_get_data
	addq	%rbx, %rax
	movq	%rax, 8(%r12)
	movq	-40(%rbp), %rsi
	movq	(%r15), %rdx
	movq	%r15, %rdi
	callq	_xsk_umem_adjust_offset
	movl	%eax, (%r12)
	movq	%r15, %rdi
	callq	_xsk_umem_discard_addr
	jmp	LBB0_4
LBB0_2:
	incl	(%rbx)
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XDP_PACKET_HEADROOM,8,3        ## @XDP_PACKET_HEADROOM
	.no_dead_strip	_ixgbe_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 ixgbe_alloc_buffer_zc
_ixgbe_alloc_buffer_zc:                 ; @ixgbe_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
	ldr	x8, [x1, #8]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_xsk_umem_peek_addr
	cbz	w0, LBB0_5
; %bb.2:
	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_3:
	mov	w0, #1
LBB0_4:
	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_5:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XDP_PACKET_HEADROOM,8,3        ; @XDP_PACKET_HEADROOM
	.no_dead_strip	_ixgbe_alloc_buffer_zc
.subsections_via_symbols
