	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_setup_desc_rings
_igb_setup_desc_rings:                  ## @igb_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	48(%rdi), %r15
	movq	_IGB_DEFAULT_TXD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rdi)
	movups	(%rdi), %xmm0
	movups	%xmm0, 48(%rdi)
	movq	%r15, %rdi
	callq	_igb_setup_tx_resources
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	leaq	24(%rbx), %r14
	movq	%rbx, %rdi
	callq	_igb_setup_tctl
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_igb_configure_tx_ring
	movq	_IGB_DEFAULT_RXD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movups	(%rbx), %xmm0
	movups	%xmm0, 24(%rbx)
	movq	%r14, %rdi
	callq	_igb_setup_rx_resources
	movl	$3, %r12d
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_igb_free_desc_rings
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_E1000_MRQC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	shll	$3, %esi
	callq	_wr32
	movq	%rbx, %rdi
	callq	_igb_setup_rctl
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_igb_configure_rx_ring
	movq	%r14, %rdi
	callq	_igb_desc_unused
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_igb_alloc_rx_buffers
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_DEFAULT_TXD,4,2            ## @IGB_DEFAULT_TXD
	.comm	_IGB_DEFAULT_RXD,4,2            ## @IGB_DEFAULT_RXD
	.comm	_E1000_MRQC,4,2                 ## @E1000_MRQC
	.no_dead_strip	_igb_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 igb_setup_desc_rings
_igb_setup_desc_rings:                  ; @igb_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
	ldr	d0, [x0]
	mov	x21, x0
	str	d0, [x21, #48]!
Lloh0:
	adrp	x8, _IGB_DEFAULT_TXD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGB_DEFAULT_TXD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	ldur	x8, [x21, #-40]
	str	x8, [x21, #8]
	mov	x0, x21
	bl	_igb_setup_tx_resources
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_4
LBB0_2:
	sub	x20, x21, #24
	mov	x0, x19
	bl	_igb_setup_tctl
	mov	x0, x19
	mov	x1, x21
	bl	_igb_configure_tx_ring
Lloh3:
	adrp	x8, _IGB_DEFAULT_RXD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGB_DEFAULT_RXD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	ldr	x8, [x19, #8]
	str	x8, [x19, #32]
	ldr	d0, [x19]
	str	d0, [x19, #24]
	mov	x0, x20
	bl	_igb_setup_rx_resources
	cbz	x0, LBB0_6
; %bb.3:
	mov	w20, #3
LBB0_4:
	mov	x0, x19
	bl	_igb_free_desc_rings
LBB0_5:
	mov	x0, x20
	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
LBB0_6:
Lloh6:
	adrp	x8, _E1000_MRQC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_MRQC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w8, [x19]
	lsl	w1, w8, #3
	bl	_wr32
	mov	x0, x19
	bl	_igb_setup_rctl
	mov	x0, x19
	mov	x1, x20
	bl	_igb_configure_rx_ring
	mov	x0, x20
	bl	_igb_desc_unused
	mov	x1, x0
	mov	x0, x20
	bl	_igb_alloc_rx_buffers
	mov	w20, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_DEFAULT_TXD,4,2            ; @IGB_DEFAULT_TXD
	.comm	_IGB_DEFAULT_RXD,4,2            ; @IGB_DEFAULT_RXD
	.comm	_E1000_MRQC,4,2                 ; @E1000_MRQC
	.no_dead_strip	_igb_setup_desc_rings
.subsections_via_symbols
