	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pch_gbe_down                   ## -- Begin function pch_gbe_down
	.p2align	4, 0x90
_pch_gbe_down:                          ## @pch_gbe_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, %rbx
	movq	40(%rdi), %r14
	movq	(%rdi), %r12
	movq	8(%rdi), %r15
	addq	$32, %rdi
	callq	_napi_disable
	leaq	28(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	callq	_pch_gbe_irq_disable
	movq	%rbx, %rdi
	callq	_pch_gbe_free_irq
	leaq	24(%rbx), %rdi
	callq	_del_timer_sync
	movl	20(%rbx), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_pci_channel_io_normal@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_pch_gbe_reset
LBB0_3:
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_pch_gbe_clean_tx_ring
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_pch_gbe_clean_rx_ring
	movq	(%rbx), %rdi
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movq	16(%r15), %rcx
	callq	_pci_free_consistent
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movq	$0, 16(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pci_channel_io_normal,8,3      ## @pci_channel_io_normal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pch_gbe_down                   ; -- Begin function pch_gbe_down
	.p2align	2
_pch_gbe_down:                          ; @pch_gbe_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, #40]
	ldp	x22, x21, [x0], #32
	bl	_napi_disable
	add	x0, x19, #28
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x19
	bl	_pch_gbe_irq_disable
	mov	x0, x19
	bl	_pch_gbe_free_irq
	add	x0, x19, #24
	bl	_del_timer_sync
	ldr	w8, [x19, #20]
	str	w8, [x20]
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_netif_stop_queue
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _pci_channel_io_normal@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pci_channel_io_normal@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x8, x9, #4, ne
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_pch_gbe_reset
LBB0_2:
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_pch_gbe_clean_tx_ring
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_pch_gbe_clean_rx_ring
	ldr	x0, [x19]
	ldp	x2, x1, [x21]
	ldr	x3, [x21, #16]
	bl	_pci_free_consistent
	stp	xzr, xzr, [x21, #8]
	str	xzr, [x21]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pci_channel_io_normal,8,3      ; @pci_channel_io_normal
.subsections_via_symbols
