	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_io_resume
_ef4_io_resume:                         ## @ef4_io_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	(%rbx), %rax
	movq	_STATE_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_RESET_TYPE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ef4_reset
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_hw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movl	%eax, %r8d
	callq	_netif_err
	jmp	LBB0_4
LBB0_3:
	movq	_STATE_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_dbg
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rtnl_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATE_DISABLED,8,3             ## @STATE_DISABLED
	.comm	_RESET_TYPE_ALL,4,2             ## @RESET_TYPE_ALL
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ef4_reset failed after PCI error (%d)\n"

	.comm	_STATE_READY,8,3                ## @STATE_READY
L_.str.1:                               ## @.str.1
	.asciz	"Done resetting and resuming IO after PCI error.\n"

	.no_dead_strip	_ef4_io_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_io_resume
_ef4_io_resume:                         ; @ef4_io_resume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_pci_get_drvdata
	mov	x19, x0
	bl	_rtnl_lock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _STATE_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATE_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _RESET_TYPE_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESET_TYPE_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ef4_reset
	cbz	w0, LBB0_3
; %bb.2:
	mov	x4, x0
Lloh6:
	adrp	x8, _hw@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _STATE_READY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STATE_READY@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh14:
	adrp	x8, _hw@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netif_dbg
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtnl_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_STATE_DISABLED,8,3             ; @STATE_DISABLED
	.comm	_RESET_TYPE_ALL,4,2             ; @RESET_TYPE_ALL
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ef4_reset failed after PCI error (%d)\n"

	.comm	_STATE_READY,8,3                ; @STATE_READY
l_.str.1:                               ; @.str.1
	.asciz	"Done resetting and resuming IO after PCI error.\n"

	.no_dead_strip	_ef4_io_resume
.subsections_via_symbols
