	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_io_resume
_tg3_io_resume:                         ## @tg3_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_rtnl_lock
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tg3_full_lock
	movq	_RESET_KIND_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_ape_driver_state_change
	movq	_INIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_tg3_flag_set
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_tg3_restart_hw
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_tg3_full_unlock
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_err
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_netif_device_attach
	movq	%r14, %rdi
	callq	_tg3_timer_start
	movq	%r14, %rdi
	callq	_tg3_netif_start
	movq	%r14, %rdi
	callq	_tg3_full_unlock
	movq	%r14, %rdi
	callq	_tg3_phy_start
LBB0_5:
	movl	$0, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtnl_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RESET_KIND_INIT,4,2            ## @RESET_KIND_INIT
	.comm	_INIT_COMPLETE,4,2              ## @INIT_COMPLETE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot restart hardware after reset.\n"

	.no_dead_strip	_tg3_io_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_io_resume
_tg3_io_resume:                         ; @tg3_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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	bl	_rtnl_lock
	cbz	x20, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_netif_running
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_tg3_full_lock
Lloh0:
	adrp	x8, _RESET_KIND_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESET_KIND_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_ape_driver_state_change
Lloh3:
	adrp	x8, _INIT_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INIT_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
	mov	x0, x19
	mov	w1, #1
	bl	_tg3_restart_hw
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_tg3_full_unlock
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_netif_device_attach
	mov	x0, x19
	bl	_tg3_timer_start
	mov	x0, x19
	bl	_tg3_netif_start
	mov	x0, x19
	bl	_tg3_full_unlock
	mov	x0, x19
	bl	_tg3_phy_start
LBB0_5:
	str	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtnl_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RESET_KIND_INIT,4,2            ; @RESET_KIND_INIT
	.comm	_INIT_COMPLETE,4,2              ; @INIT_COMPLETE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot restart hardware after reset.\n"

	.no_dead_strip	_tg3_io_resume
.subsections_via_symbols
