	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	80(%rdi), %r15
	leaq	40(%rdi), %r14
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	72(%r12), %rsi
	callq	_set_bit
	movq	_IXGBE_RXCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movl	(%rbx), %esi
	movq	_IXGBE_RXCTRL_RXEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_ixgbe_disable_rx_queue
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	%r15, %rdi
	callq	_netif_tx_stop_all_queues
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movq	%r15, %rdi
	callq	_netif_tx_disable
	movq	%r12, %rdi
	callq	_ixgbe_irq_disable
	movq	%r12, %rdi
	callq	_ixgbe_napi_disable_all
	movq	_IXGBE_FLAG2_FDIR_REQUIRES_REINIT@GOTPCREL(%rip), %rax
	movq	_IXGBE_FLAG2_RESET_REQUESTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 4(%r12)
	movq	_IXGBE_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 60(%r12)
	leaq	56(%r12), %rdi
	callq	_del_timer_sync
	cmpl	$0, 8(%r12)
	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	8(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.5:
	movq	32(%r12), %rdi
	shlq	$2, %rsi
	callq	___bzero
LBB0_6:
	movq	%r12, %rdi
	callq	_ixgbe_ping_all_vfs
	movq	%r12, %rdi
	callq	_ixgbe_disable_tx_rx
LBB0_7:
	cmpl	$0, 12(%r12)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	movq	_IXGBE_TXDCTL_SWFLSH@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_IXGBE_TXDCTL
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_WRITE_REG
	incq	%rbx
	movslq	12(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movl	(%r14), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.11:
	movq	_IXGBE_DMATXCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_DMATXCTL_TE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_IXGBE_WRITE_REG
LBB0_12:
	movl	16(%r12), %edi
	callq	_pci_channel_offline
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_ixgbe_reset
LBB0_14:
	movq	48(%r12), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	*%rax
LBB0_16:
	movq	%r12, %rdi
	callq	_ixgbe_clean_all_tx_rings
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	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_RXCTRL,4,2               ## @IXGBE_RXCTRL
	.comm	_IXGBE_RXCTRL_RXEN,4,2          ## @IXGBE_RXCTRL_RXEN
	.comm	_IXGBE_FLAG2_FDIR_REQUIRES_REINIT,4,2 ## @IXGBE_FLAG2_FDIR_REQUIRES_REINIT
	.comm	_IXGBE_FLAG2_RESET_REQUESTED,4,2 ## @IXGBE_FLAG2_RESET_REQUESTED
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ## @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_IXGBE_EITRSEL,4,2              ## @IXGBE_EITRSEL
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ## @IXGBE_TXDCTL_SWFLSH
	.comm	_IXGBE_DMATXCTL,4,2             ## @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ## @IXGBE_DMATXCTL_TE
.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	x21, [x0, #80]
	add	x20, x0, #40
Lloh0:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #72
	bl	_set_bit
Lloh3:
	adrp	x22, _IXGBE_RXCTRL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_RXCTRL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _IXGBE_RXCTRL_RXEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_RXCTRL_RXEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x19
	bl	_ixgbe_disable_rx_queue
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	mov	x0, x21
	bl	_netif_tx_stop_all_queues
	mov	x0, x21
	bl	_netif_carrier_off
	mov	x0, x21
	bl	_netif_tx_disable
	mov	x0, x19
	bl	_ixgbe_irq_disable
	mov	x0, x19
	bl	_ixgbe_napi_disable_all
Lloh8:
	adrp	x8, _IXGBE_FLAG2_FDIR_REQUIRES_REINIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IXGBE_FLAG2_FDIR_REQUIRES_REINIT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IXGBE_FLAG2_RESET_REQUESTED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IXGBE_FLAG2_RESET_REQUESTED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
Lloh14:
	adrp	x9, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IXGBE_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
	str	w8, [x19, #4]
Lloh16:
	ldr	w8, [x9]
	ldr	w9, [x19, #60]
	bic	w8, w9, w8
	str	w8, [x19, #60]
	add	x0, x19, #56
	bl	_del_timer_sync
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_7
; %bb.4:
Lloh17:
	adrp	x8, _IXGBE_EITRSEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IXGBE_EITRSEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	x0, [x19, #32]
	lsl	x1, x8, #2
	bl	_bzero
LBB0_6:
	mov	x0, x19
	bl	_ixgbe_ping_all_vfs
	mov	x0, x19
	bl	_ixgbe_disable_tx_rx
LBB0_7:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x21, #0
Lloh20:
	adrp	x22, _IXGBE_TXDCTL_SWFLSH@GOTPAGE
Lloh21:
	ldr	x22, [x22, _IXGBE_TXDCTL_SWFLSH@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w0, [x8]
	bl	_IXGBE_TXDCTL
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	add	x21, x21, #1
	ldrsw	x8, [x19, #12]
	cmp	x21, x8
	b.lt	LBB0_9
LBB0_10:
	ldr	w8, [x20]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.11:
Lloh22:
	adrp	x8, _IXGBE_DMATXCTL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IXGBE_DMATXCTL@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_IXGBE_READ_REG
Lloh25:
	adrp	x8, _IXGBE_DMATXCTL_TE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IXGBE_DMATXCTL_TE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x20
	mov	x1, x21
	bl	_IXGBE_WRITE_REG
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_pci_channel_offline
	cbz	w0, LBB0_16
; %bb.13:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_15
LBB0_14:
	mov	x0, x20
	blr	x8
LBB0_15:
	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
LBB0_16:
	mov	x0, x19
	bl	_ixgbe_reset
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_14
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	___IXGBE_DOWN,4,2               ; @__IXGBE_DOWN
	.comm	_IXGBE_RXCTRL,4,2               ; @IXGBE_RXCTRL
	.comm	_IXGBE_RXCTRL_RXEN,4,2          ; @IXGBE_RXCTRL_RXEN
	.comm	_IXGBE_FLAG2_FDIR_REQUIRES_REINIT,4,2 ; @IXGBE_FLAG2_FDIR_REQUIRES_REINIT
	.comm	_IXGBE_FLAG2_RESET_REQUESTED,4,2 ; @IXGBE_FLAG2_RESET_REQUESTED
	.comm	_IXGBE_FLAG_NEED_LINK_UPDATE,4,2 ; @IXGBE_FLAG_NEED_LINK_UPDATE
	.comm	_IXGBE_EITRSEL,4,2              ; @IXGBE_EITRSEL
	.comm	_IXGBE_TXDCTL_SWFLSH,4,2        ; @IXGBE_TXDCTL_SWFLSH
	.comm	_IXGBE_DMATXCTL,4,2             ; @IXGBE_DMATXCTL
	.comm	_IXGBE_DMATXCTL_TE,4,2          ; @IXGBE_DMATXCTL_TE
.subsections_via_symbols
