	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000e_pm_freeze
_e1000e_pm_freeze:                      ## @e1000e_pm_freeze
	.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
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_netif_device_detach
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_E1000_CHECK_RESET_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addq	$4, %r12
	movq	___E1000_RESETTING@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.3:
	decl	%ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_test_bit
	subl	$1, %ebx
	setb	%cl
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testb	%cl, %cl
	je	LBB0_4
LBB0_6:
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_test_bit
	movq	%rax, %rdi
	callq	_WARN_ON
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_e1000e_down
	movq	%r14, %rdi
	callq	_e1000_free_irq
LBB0_7:
	movq	%r14, %rdi
	callq	_e1000e_reset_interrupt_capability
	movq	%r14, %rdi
	callq	_e1000e_disable_pcie_master
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_CHECK_RESET_COUNT,4,2    ## @E1000_CHECK_RESET_COUNT
	.comm	___E1000_RESETTING,4,2          ## @__E1000_RESETTING
	.no_dead_strip	_e1000e_pm_freeze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000e_pm_freeze
_e1000e_pm_freeze:                      ; @e1000e_pm_freeze
	.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
	bl	_dev_get_drvdata
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x20
	bl	_netif_device_detach
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _E1000_CHECK_RESET_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_CHECK_RESET_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	add	x20, x19, #4
Lloh3:
	adrp	x21, ___E1000_RESETTING@GOTPAGE
Lloh4:
	ldr	x21, [x21, ___E1000_RESETTING@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x20
	bl	_test_bit
	cmp	x0, #0
	ccmp	w22, #0, #4, ne
	b.eq	LBB0_4
; %bb.2:
	sub	w22, w22, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	ldr	w0, [x21]
	mov	x1, x20
	bl	_test_bit
	cmp	x0, #0
	ccmp	w22, #0, #4, ne
	sub	w22, w22, #1
	b.ne	LBB0_3
LBB0_4:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_test_bit
	bl	_WARN_ON
	mov	x0, x19
	mov	w1, #0
	bl	_e1000e_down
	mov	x0, x19
	bl	_e1000_free_irq
LBB0_5:
	mov	x0, x19
	bl	_e1000e_reset_interrupt_capability
	mov	x0, x19
	bl	_e1000e_disable_pcie_master
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_CHECK_RESET_COUNT,4,2    ; @E1000_CHECK_RESET_COUNT
	.comm	___E1000_RESETTING,4,2          ; @__E1000_RESETTING
	.no_dead_strip	_e1000e_pm_freeze
.subsections_via_symbols
