	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_down                     ## -- Begin function ixgbe_down
	.p2align	4, 0x90
_ixgbe_down:                            ## @ixgbe_down
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %r14
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	36(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	callq	_netif_tx_stop_all_queues
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_netif_tx_disable
	movq	%rbx, %rdi
	callq	_ixgbe_disable_rx
	movq	40(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_synchronize_rcu
LBB0_3:
	leaq	16(%rbx), %r14
	movq	%rbx, %rdi
	callq	_ixgbe_irq_disable
	movq	%rbx, %rdi
	callq	_ixgbe_napi_disable_all
	movq	___IXGBE_RESET_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	_IXGBE_FLAG2_FDIR_REQUIRES_REINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 32(%rbx)
	movq	_IXGBE_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 28(%rbx)
	leaq	24(%rbx), %rdi
	callq	_del_timer_sync
	cmpl	$0, (%rbx)
	je	LBB0_7
## %bb.4:
	movq	_IXGBE_EITRSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.5:
	movq	8(%rbx), %rdi
	shlq	$2, %rsi
	callq	___bzero
LBB0_6:
	movq	%rbx, %rdi
	callq	_ixgbe_ping_all_vfs
	movq	%rbx, %rdi
	callq	_ixgbe_disable_tx_rx
LBB0_7:
	movq	%rbx, %rdi
	callq	_ixgbe_disable_tx
	movl	4(%rbx), %edi
	callq	_pci_channel_offline
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_ixgbe_reset
LBB0_9:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	*%rax
LBB0_11:
	movq	%rbx, %rdi
	callq	_ixgbe_clean_all_tx_rings
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbe_clean_all_rx_rings       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___IXGBE_DOWN,4,2               ## @__IXGBE_DOWN
	.comm	___IXGBE_RESET_REQUESTED,4,2    ## @__IXGBE_RESET_REQUESTED
	.comm	_IXGBE_FLAG2_FDIR_REQUIRES_REINIT,4,2 ## @IXGBE_FLAG2_FDIR_REQUIRES_REINIT
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ## @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_IXGBE_EITRSEL,4,2              ## @IXGBE_EITRSEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_down                     ; -- Begin function ixgbe_down
	.p2align	2
_ixgbe_down:                            ; @ixgbe_down
	.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	x20, [x0, #48]
Lloh0:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x19, #36
	mov	x1, x21
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
	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_2:
	mov	x0, x20
	bl	_netif_tx_stop_all_queues
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_netif_tx_disable
	mov	x0, x19
	bl	_ixgbe_disable_rx
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_synchronize_rcu
LBB0_4:
	add	x20, x19, #16
	mov	x0, x19
	bl	_ixgbe_irq_disable
	mov	x0, x19
	bl	_ixgbe_napi_disable_all
Lloh3:
	adrp	x8, ___IXGBE_RESET_REQUESTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___IXGBE_RESET_REQUESTED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
Lloh6:
	adrp	x8, _IXGBE_FLAG2_FDIR_REQUIRES_REINIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_FLAG2_FDIR_REQUIRES_REINIT@GOTPAGEOFF]
Lloh8:
	adrp	x9, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh10:
	ldr	s0, [x9]
	ld1.s	{ v0 }[1], [x8]
	ldur	d1, [x19, #28]
	bic.8b	v0, v1, v0
	stur	d0, [x19, #28]
	add	x0, x19, #24
	bl	_del_timer_sync
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.5:
Lloh11:
	adrp	x8, _IXGBE_EITRSEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_EITRSEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x0, [x19, #8]
	lsl	x1, x8, #2
	bl	_bzero
LBB0_7:
	mov	x0, x19
	bl	_ixgbe_ping_all_vfs
	mov	x0, x19
	bl	_ixgbe_disable_tx_rx
LBB0_8:
	mov	x0, x19
	bl	_ixgbe_disable_tx
	ldr	w0, [x19, #4]
	bl	_pci_channel_offline
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ixgbe_reset
LBB0_10:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x20
	blr	x8
LBB0_12:
	mov	x0, x19
	bl	_ixgbe_clean_all_tx_rings
	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_clean_all_rx_rings
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	___IXGBE_DOWN,4,2               ; @__IXGBE_DOWN
	.comm	___IXGBE_RESET_REQUESTED,4,2    ; @__IXGBE_RESET_REQUESTED
	.comm	_IXGBE_FLAG2_FDIR_REQUIRES_REINIT,4,2 ; @IXGBE_FLAG2_FDIR_REQUIRES_REINIT
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ; @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_IXGBE_EITRSEL,4,2              ; @IXGBE_EITRSEL
.subsections_via_symbols
