	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_free_desc_rings
_ixgbe_free_desc_rings:                 ## @ixgbe_free_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, %r12
	leaq	4(%rdi), %r14
	leaq	8(%rdi), %r15
	movq	_IXGBE_RXCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_RXCTRL_RXEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_ixgbe_disable_rx_queue
	movl	4(%r12), %edi
	callq	_IXGBE_TXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_TXDCTL_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	4(%r12), %edi
	callq	_IXGBE_TXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movl	8(%r12), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	_IXGBE_DMATXCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_DMATXCTL_TE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
LBB0_2:
	movq	%r12, %rdi
	callq	_ixgbe_reset
	movq	%r14, %rdi
	callq	_ixgbe_free_tx_resources
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbe_free_rx_resources        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_RXCTRL,4,2               ## @IXGBE_RXCTRL
	.comm	_IXGBE_RXCTRL_RXEN,4,2          ## @IXGBE_RXCTRL_RXEN
	.comm	_IXGBE_TXDCTL_ENABLE,4,2        ## @IXGBE_TXDCTL_ENABLE
	.comm	_IXGBE_DMATXCTL,4,2             ## @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ## @IXGBE_DMATXCTL_TE
	.no_dead_strip	_ixgbe_free_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_free_desc_rings
_ixgbe_free_desc_rings:                 ; @ixgbe_free_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
	add	x20, x0, #8
Lloh0:
	adrp	x21, _IXGBE_RXCTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_RXCTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh2:
	adrp	x8, _IXGBE_RXCTRL_RXEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_RXCTRL_RXEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	mov	x1, x19
	bl	_ixgbe_disable_rx_queue
	mov	x21, x19
	ldr	w0, [x21, #4]!
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh5:
	adrp	x8, _IXGBE_TXDCTL_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_TXDCTL_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w22, w0, w8
	ldr	w0, [x21]
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x19, #8]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x22, _IXGBE_DMATXCTL@GOTPAGE
Lloh9:
	ldr	x22, [x22, _IXGBE_DMATXCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh10:
	adrp	x8, _IXGBE_DMATXCTL_TE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_DMATXCTL_TE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
LBB0_2:
	mov	x0, x19
	bl	_ixgbe_reset
	mov	x0, x21
	bl	_ixgbe_free_tx_resources
	mov	x0, x19
	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
	b	_ixgbe_free_rx_resources
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_RXCTRL,4,2               ; @IXGBE_RXCTRL
	.comm	_IXGBE_RXCTRL_RXEN,4,2          ; @IXGBE_RXCTRL_RXEN
	.comm	_IXGBE_TXDCTL_ENABLE,4,2        ; @IXGBE_TXDCTL_ENABLE
	.comm	_IXGBE_DMATXCTL,4,2             ; @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ; @IXGBE_DMATXCTL_TE
	.no_dead_strip	_ixgbe_free_desc_rings
.subsections_via_symbols
