	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_down                       ## -- Begin function igc_down
	.p2align	4, 0x90
_igc_down:                              ## @igc_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, %r15
	movq	64(%rdi), %r14
	movq	___IGC_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	56(%r15), %rsi
	callq	_set_bit
	movq	_IGC_RCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movl	(%rbx), %edi
	movq	_IGC_RCTL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_wr32
	movq	%r15, %rdi
	callq	_igc_nfc_filter_exit
	movq	%r14, %rdi
	callq	_netif_trans_update
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_netif_tx_stop_all_queues
	movq	_IGC_TCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_IGC_TCTL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movq	%r15, %rdi
	callq	_igc_irq_disable
	movq	_IGC_FLAG_NEED_LINK_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r15)
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_napi_synchronize
	movq	48(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_napi_disable
	movl	(%r15), %eax
	jmp	LBB0_4
LBB0_5:
	leaq	40(%r15), %rdi
	callq	_del_timer_sync
	leaq	36(%r15), %rdi
	callq	_del_timer_sync
	leaq	32(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	%r15, %rdi
	callq	_igc_update_stats
	movq	%r14, %rdi
	callq	_spin_unlock
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movl	8(%r15), %edi
	callq	_pci_channel_offline
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_igc_reset
LBB0_7:
	movq	_IGC_FLAG_VLAN_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_igc_clean_all_tx_rings
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_igc_clean_all_rx_rings         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___IGC_DOWN,4,2                 ## @__IGC_DOWN
	.comm	_IGC_RCTL,4,2                   ## @IGC_RCTL
	.comm	_IGC_RCTL_EN,4,2                ## @IGC_RCTL_EN
	.comm	_IGC_TCTL,4,2                   ## @IGC_TCTL
	.comm	_IGC_TCTL_EN,4,2                ## @IGC_TCTL_EN
	.comm	_IGC_FLAG_NEED_LINK_UPDATE,4,2  ## @IGC_FLAG_NEED_LINK_UPDATE
	.comm	_IGC_FLAG_VLAN_PROMISC,4,2      ## @IGC_FLAG_VLAN_PROMISC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_down                       ; -- Begin function igc_down
	.p2align	2
_igc_down:                              ; @igc_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, #64]
Lloh0:
	adrp	x8, ___IGC_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IGC_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #56
	bl	_set_bit
Lloh3:
	adrp	x21, _IGC_RCTL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IGC_RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _IGC_RCTL_EN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IGC_RCTL_EN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_wr32
	mov	x0, x19
	bl	_igc_nfc_filter_exit
	mov	x0, x20
	bl	_netif_trans_update
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_netif_tx_stop_all_queues
Lloh8:
	adrp	x20, _IGC_TCTL@GOTPAGE
Lloh9:
	ldr	x20, [x20, _IGC_TCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
Lloh10:
	adrp	x8, _IGC_TCTL_EN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IGC_TCTL_EN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_wr32
	bl	_wrfl
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	mov	x0, x19
	bl	_igc_irq_disable
Lloh13:
	adrp	x8, _IGC_FLAG_NEED_LINK_UPDATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IGC_FLAG_NEED_LINK_UPDATE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x8]
	ldp	w8, w10, [x19]
	bic	w9, w10, w9
	str	w9, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #48]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_napi_synchronize
	ldr	x8, [x19, #48]
	ldr	x0, [x8, x20, lsl #3]
	bl	_napi_disable
	ldr	w8, [x19]
	b	LBB0_2
LBB0_5:
	add	x0, x19, #40
	bl	_del_timer_sync
	add	x0, x19, #36
	bl	_del_timer_sync
	add	x20, x19, #32
	mov	x0, x20
	bl	_spin_lock
	mov	x0, x19
	bl	_igc_update_stats
	mov	x0, x20
	bl	_spin_unlock
	stp	xzr, xzr, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_pci_channel_offline
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_igc_reset
LBB0_7:
Lloh16:
	adrp	x8, _IGC_FLAG_VLAN_PROMISC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IGC_FLAG_VLAN_PROMISC@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_igc_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	_igc_clean_all_rx_rings
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	___IGC_DOWN,4,2                 ; @__IGC_DOWN
	.comm	_IGC_RCTL,4,2                   ; @IGC_RCTL
	.comm	_IGC_RCTL_EN,4,2                ; @IGC_RCTL_EN
	.comm	_IGC_TCTL,4,2                   ; @IGC_TCTL
	.comm	_IGC_TCTL_EN,4,2                ; @IGC_TCTL_EN
	.comm	_IGC_FLAG_NEED_LINK_UPDATE,4,2  ; @IGC_FLAG_NEED_LINK_UPDATE
	.comm	_IGC_FLAG_VLAN_PROMISC,4,2      ; @IGC_FLAG_VLAN_PROMISC
.subsections_via_symbols
