	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_stop_adapter_generic     ## -- Begin function ixgbe_stop_adapter_generic
	.p2align	4, 0x90
_ixgbe_stop_adapter_generic:            ## @ixgbe_stop_adapter_generic
	.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	%rdi, %r14
	movl	$1, (%rdi)
	movq	_IXGBE_RXCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_EIMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_IRQ_CLEAR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_EICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	cmpq	$0, 8(%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_IXGBE_TXDCTL_SWFLSH@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_IXGBE_TXDCTL
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_WRITE_REG
	incq	%rbx
	cmpq	8(%r14), %rbx
	jl	LBB0_2
LBB0_3:
	cmpq	$0, 16(%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%r15d, %r15d
	movq	_IXGBE_RXDCTL_ENABLE@GOTPCREL(%rip), %r12
	movq	_IXGBE_RXDCTL_SWFLSH@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_IXGBE_RXDCTL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	(%r12), %ebx
	notl	%ebx
	andl	%eax, %ebx
	orl	(%r13), %ebx
	movq	%r15, %rdi
	callq	_IXGBE_RXDCTL
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	incq	%r15
	cmpq	16(%r14), %r15
	jl	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbe_disable_pcie_master      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_RXCTRL,4,2               ## @IXGBE_RXCTRL
	.comm	_IXGBE_EIMC,4,2                 ## @IXGBE_EIMC
	.comm	_IXGBE_IRQ_CLEAR_MASK,4,2       ## @IXGBE_IRQ_CLEAR_MASK
	.comm	_IXGBE_EICR,4,2                 ## @IXGBE_EICR
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ## @IXGBE_TXDCTL_SWFLSH
	.comm	_IXGBE_RXDCTL_ENABLE,4,2        ## @IXGBE_RXDCTL_ENABLE
	.comm	_IXGBE_RXDCTL_SWFLSH,4,2        ## @IXGBE_RXDCTL_SWFLSH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_stop_adapter_generic     ; -- Begin function ixgbe_stop_adapter_generic
	.p2align	2
_ixgbe_stop_adapter_generic:            ; @ixgbe_stop_adapter_generic
	.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, x0
	mov	w8, #1
	str	w8, [x0]
Lloh0:
	adrp	x8, _IXGBE_RXCTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_RXCTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
Lloh3:
	adrp	x8, _IXGBE_EIMC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_EIMC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IXGBE_IRQ_CLEAR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_IRQ_CLEAR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
Lloh9:
	adrp	x8, _IXGBE_EICR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IXGBE_EICR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh12:
	adrp	x21, _IXGBE_TXDCTL_SWFLSH@GOTPAGE
Lloh13:
	ldr	x21, [x21, _IXGBE_TXDCTL_SWFLSH@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	add	x20, x20, #1
	ldr	x8, [x19, #8]
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
Lloh14:
	adrp	x22, _IXGBE_RXDCTL_ENABLE@GOTPAGE
Lloh15:
	ldr	x22, [x22, _IXGBE_RXDCTL_ENABLE@GOTPAGEOFF]
Lloh16:
	adrp	x23, _IXGBE_RXDCTL_SWFLSH@GOTPAGE
Lloh17:
	ldr	x23, [x23, _IXGBE_RXDCTL_SWFLSH@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	ldr	w8, [x22]
	bic	w8, w0, w8
	ldr	w9, [x23]
	orr	w21, w8, w9
	mov	x0, x20
	bl	_IXGBE_RXDCTL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	add	x20, x20, #1
	ldr	x8, [x19, #16]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x19
	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
	b	_ixgbe_disable_pcie_master
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_RXCTRL,4,2               ; @IXGBE_RXCTRL
	.comm	_IXGBE_EIMC,4,2                 ; @IXGBE_EIMC
	.comm	_IXGBE_IRQ_CLEAR_MASK,4,2       ; @IXGBE_IRQ_CLEAR_MASK
	.comm	_IXGBE_EICR,4,2                 ; @IXGBE_EICR
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ; @IXGBE_TXDCTL_SWFLSH
	.comm	_IXGBE_RXDCTL_ENABLE,4,2        ; @IXGBE_RXDCTL_ENABLE
	.comm	_IXGBE_RXDCTL_SWFLSH,4,2        ; @IXGBE_RXDCTL_SWFLSH
.subsections_via_symbols
