	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd8111e_resume
_amd8111e_resume:                       ## @amd8111e_resume
	.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
	callq	_pci_get_drvdata
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_PCI_D0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_set_power_state
	movq	%rbx, %rdi
	callq	_pci_restore_state
	movq	_PCI_D3hot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_pci_enable_wake
	movq	_PCI_D3cold@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_pci_enable_wake
	movq	%r15, %rdi
	callq	_netif_device_attach
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	%r15, %rdi
	callq	_amd8111e_restart
	movq	_OPTION_DYN_IPG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	addq	$8, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_IPG_CONVERGE_JIFFIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_mod_timer
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_D0,4,2                     ## @PCI_D0
	.comm	_PCI_D3hot,4,2                  ## @PCI_D3hot
	.comm	_PCI_D3cold,4,2                 ## @PCI_D3cold
	.comm	_OPTION_DYN_IPG_ENABLE,4,2      ## @OPTION_DYN_IPG_ENABLE
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IPG_CONVERGE_JIFFIES,8,3       ## @IPG_CONVERGE_JIFFIES
	.no_dead_strip	_amd8111e_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd8111e_resume
_amd8111e_resume:                       ; @amd8111e_resume
	.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	x21, x0
	bl	_pci_get_drvdata
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x20
	bl	_netif_running
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _PCI_D0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_D0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_set_power_state
	mov	x0, x21
	bl	_pci_restore_state
Lloh3:
	adrp	x8, _PCI_D3hot@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_D3hot@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_pci_enable_wake
Lloh6:
	adrp	x8, _PCI_D3cold@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_D3cold@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_pci_enable_wake
	mov	x0, x20
	bl	_netif_device_attach
	add	x21, x19, #4
	mov	x0, x21
	bl	_spin_lock_irq
	mov	x0, x20
	bl	_amd8111e_restart
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _OPTION_DYN_IPG_ENABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OPTION_DYN_IPG_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _jiffies@GOTPAGE
Lloh13:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x19, #8
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _IPG_CONVERGE_JIFFIES@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IPG_CONVERGE_JIFFIES@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
LBB0_3:
	mov	x0, x21
	bl	_spin_unlock_irq
LBB0_4:
	mov	w0, #0
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_D0,4,2                     ; @PCI_D0
	.comm	_PCI_D3hot,4,2                  ; @PCI_D3hot
	.comm	_PCI_D3cold,4,2                 ; @PCI_D3cold
	.comm	_OPTION_DYN_IPG_ENABLE,4,2      ; @OPTION_DYN_IPG_ENABLE
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IPG_CONVERGE_JIFFIES,8,3       ; @IPG_CONVERGE_JIFFIES
	.no_dead_strip	_amd8111e_resume
.subsections_via_symbols
