	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_desc_rings
_ixgbe_setup_desc_rings:                ## @ixgbe_setup_desc_rings
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	88(%rdi), %r15
	movq	_IXGBE_DEFAULT_TXD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rdi)
	movq	$0, 104(%rdi)
	movq	40(%rdi), %rax
	movq	%rax, 96(%rdi)
	movl	32(%rdi), %eax
	movl	%eax, 92(%rdi)
	movq	48(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rdi)
	movq	%r15, %rdi
	callq	_ixgbe_setup_tx_resources
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.1:
	leaq	56(%rbx), %r14
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.2:
	movq	_IXGBE_DMATXCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_DMATXCTL_TE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
LBB0_3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ixgbe_configure_tx_ring
	movq	_IXGBE_DEFAULT_RXD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	$0, 72(%rbx)
	movq	40(%rbx), %rax
	movq	%rax, 64(%rbx)
	movl	32(%rbx), %eax
	movl	%eax, 60(%rbx)
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ixgbe_setup_rx_resources
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ixgbe_free_desc_rings
	movl	$4, %eax
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ixgbe_configure_rx_ring
	movq	_IXGBE_RXCTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_RXCTRL_DMBYPS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movq	%rbx, %rdi
	callq	*8(%rbx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_DEFAULT_TXD,4,2          ## @IXGBE_DEFAULT_TXD
	.comm	_IXGBE_DMATXCTL,4,2             ## @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ## @IXGBE_DMATXCTL_TE
	.comm	_IXGBE_DEFAULT_RXD,4,2          ## @IXGBE_DEFAULT_RXD
	.comm	_IXGBE_RXCTRL,4,2               ## @IXGBE_RXCTRL
	.comm	_IXGBE_RXCTRL_DMBYPS,4,2        ## @IXGBE_RXCTRL_DMBYPS
	.no_dead_strip	_ixgbe_setup_desc_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_desc_rings
_ixgbe_setup_desc_rings:                ; @ixgbe_setup_desc_rings
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldp	x8, x9, [x0, #40]
	str	x8, [x0, #96]
	ldr	x8, [x9]
	ldr	w8, [x8]
	mov	x21, x0
	str	w8, [x21, #88]!
Lloh0:
	adrp	x8, _IXGBE_DEFAULT_TXD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_DEFAULT_TXD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	str	xzr, [x21, #16]
	ldur	w8, [x21, #-56]
	str	w8, [x21, #4]
	mov	x0, x21
	bl	_ixgbe_setup_tx_resources
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_7
LBB0_2:
	sub	x20, x21, #32
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.3:
Lloh3:
	adrp	x22, _IXGBE_DMATXCTL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_DMATXCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh5:
	adrp	x8, _IXGBE_DMATXCTL_TE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_DMATXCTL_TE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x22]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_ixgbe_configure_tx_ring
Lloh8:
	adrp	x8, _IXGBE_DEFAULT_RXD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_DEFAULT_RXD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #80]
	ldr	x8, [x19, #40]
	stp	x8, xzr, [x19, #64]
	ldr	w8, [x19, #32]
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
	mov	x0, x19
	mov	x1, x20
	bl	_ixgbe_setup_rx_resources
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ixgbe_free_desc_rings
	mov	w0, #4
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	mov	x1, x20
	bl	_ixgbe_configure_rx_ring
Lloh11:
	adrp	x20, _IXGBE_RXCTRL@GOTPAGE
Lloh12:
	ldr	x20, [x20, _IXGBE_RXCTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh13:
	adrp	x8, _IXGBE_RXCTRL_DMBYPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IXGBE_RXCTRL_DMBYPS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_DEFAULT_TXD,4,2          ; @IXGBE_DEFAULT_TXD
	.comm	_IXGBE_DMATXCTL,4,2             ; @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ; @IXGBE_DMATXCTL_TE
	.comm	_IXGBE_DEFAULT_RXD,4,2          ; @IXGBE_DEFAULT_RXD
	.comm	_IXGBE_RXCTRL,4,2               ; @IXGBE_RXCTRL
	.comm	_IXGBE_RXCTRL_DMBYPS,4,2        ; @IXGBE_RXCTRL_DMBYPS
	.no_dead_strip	_ixgbe_setup_desc_rings
.subsections_via_symbols
