	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_setup_rx_resources       ## -- Begin function ixgbe_setup_rx_resources
	.p2align	4, 0x90
_ixgbe_setup_rx_resources:              ## @ixgbe_setup_rx_resources
	.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, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	72(%rsi), %r14
	movq	%r14, %rdi
	callq	_dev_to_node
	movl	%eax, %r12d
	movl	(%rbx), %r15d
	shll	$2, %r15d
	movq	64(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_NUMA_NO_NODE@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %r13d
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_vmalloc_node
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_vmalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:
	movl	(%rbx), %edi
	shll	$2, %edi
	movl	%edi, 4(%rbx)
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_ALIGN
	movl	%eax, 4(%rbx)
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_set_dev_node
	movl	4(%rbx), %esi
	leaq	56(%rbx), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_dma_alloc_coherent
	movq	%rax, 48(%rbx)
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_set_dev_node
	cmpq	$0, 48(%rbx)
	jne	LBB0_6
## %bb.5:
	movl	4(%rbx), %esi
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_dma_alloc_coherent
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	leaq	24(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movl	20(%rbx), %edx
	callq	_xdp_rxq_info_reg
	testq	%rax, %rax
	js	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	movq	8(%rbx), %rdi
	callq	_vfree
	movq	$0, 8(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUMA_NO_NODE,4,2               ## @NUMA_NO_NODE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate memory for the Rx descriptor ring\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_setup_rx_resources       ; -- Begin function ixgbe_setup_rx_resources
	.p2align	2
_ixgbe_setup_rx_resources:              ; @ixgbe_setup_rx_resources
	.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	x19, x1
	mov	x21, x0
	ldr	x20, [x1, #72]
	mov	x0, x20
	bl	_dev_to_node
	mov	x22, x0
	ldr	w8, [x19]
	lsl	w24, w8, #2
	ldr	x8, [x19, #64]
Lloh0:
	adrp	x9, _NUMA_NO_NODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUMA_NO_NODE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x8, eq
	ldr	w23, [x8]
	mov	x0, x24
	mov	x1, x23
	bl	_vmalloc_node
	str	x0, [x19, #8]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_vmalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_6
LBB0_2:
	ldr	w8, [x19]
	lsl	w0, w8, #2
	str	w0, [x19, #4]
	mov	w1, #4096
	bl	_ALIGN
	str	w0, [x19, #4]
	mov	x0, x20
	mov	x1, x23
	bl	_set_dev_node
	ldr	w1, [x19, #4]
	add	x23, x19, #56
Lloh2:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x20
	mov	x2, x23
	bl	_dma_alloc_coherent
	str	x0, [x19, #48]
	mov	x0, x20
	mov	x1, x22
	bl	_set_dev_node
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w1, [x19, #4]
	ldr	w3, [x24]
	mov	x0, x20
	mov	x2, x23
	bl	_dma_alloc_coherent
	str	x0, [x19, #48]
	cbz	x0, LBB0_6
LBB0_4:
	add	x0, x19, #24
	stp	xzr, xzr, [x19, #32]
	ldr	w1, [x21, #4]
	ldr	w2, [x19, #20]
	bl	_xdp_rxq_info_reg
	tbnz	x0, #63, LBB0_6
; %bb.5:
	mov	w0, #0
	ldr	w8, [x21]
	str	w8, [x19, #16]
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_vfree
	str	xzr, [x19, #8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUMA_NO_NODE,4,2               ; @NUMA_NO_NODE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate memory for the Rx descriptor ring\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
