	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgb_io_slot_reset
_ixgb_io_slot_reset:                    ## @ixgb_io_slot_reset
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -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, %r12
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pci_enable_device
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
LBB0_7:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r14, %rdi
	callq	_netif_err
	movq	_PCI_ERS_RESULT_DISCONNECT@GOTPCREL(%rip), %r13
	jmp	LBB0_8
LBB0_2:
	movl	(%rbx), %edi
	callq	_PCI_FUNC
	movq	_PCI_ERS_RESULT_RECOVERED@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_pci_set_master
	movq	%r15, %rdi
	callq	_netif_carrier_off
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movq	%r14, %rdi
	callq	_ixgb_reset
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_ixgb_validate_eeprom_checksum
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	8(%r15), %esi
	movq	%r12, %rdi
	callq	_ixgb_get_ee_mac_addr
	movl	8(%r15), %esi
	movl	(%r15), %edi
	movl	4(%r15), %edx
	callq	_memcpy
	movl	(%r15), %edi
	callq	_is_valid_ether_addr
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot re-enable PCI device after reset\n"

	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ## @PCI_ERS_RESULT_DISCONNECT
	.comm	_PCI_ERS_RESULT_RECOVERED,4,2   ## @PCI_ERS_RESULT_RECOVERED
L_.str.1:                               ## @.str.1
	.asciz	"After reset, the EEPROM checksum is not valid\n"

L_.str.2:                               ## @.str.2
	.asciz	"After reset, invalid MAC address\n"

	.no_dead_strip	_ixgb_io_slot_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgb_io_slot_reset
_ixgb_io_slot_reset:                    ; @ixgb_io_slot_reset
	.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, x21
	bl	_pci_enable_device
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
LBB0_2:
Lloh2:
	adrp	x8, _probe@GOTPAGE
Lloh3:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_netif_err
Lloh5:
	adrp	x8, _PCI_ERS_RESULT_DISCONNECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_ERS_RESULT_DISCONNECT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x21]
	bl	_PCI_FUNC
	cbz	x0, LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _PCI_ERS_RESULT_RECOVERED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCI_ERS_RESULT_RECOVERED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
LBB0_6:
	mov	x0, x21
	bl	_pci_set_master
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_netif_stop_queue
	mov	x0, x19
	bl	_ixgb_reset
	add	x21, x19, #4
	mov	x0, x21
	bl	_ixgb_validate_eeprom_checksum
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_ixgb_get_ee_mac_addr
	ldp	w2, w1, [x20, #4]
	ldr	w0, [x20]
	bl	_memcpy
	ldr	w0, [x20]
	bl	_is_valid_ether_addr
	cbnz	w0, LBB0_4
; %bb.8:
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_9:
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot re-enable PCI device after reset\n"

	.comm	_PCI_ERS_RESULT_DISCONNECT,4,2  ; @PCI_ERS_RESULT_DISCONNECT
	.comm	_PCI_ERS_RESULT_RECOVERED,4,2   ; @PCI_ERS_RESULT_RECOVERED
l_.str.1:                               ; @.str.1
	.asciz	"After reset, the EEPROM checksum is not valid\n"

l_.str.2:                               ; @.str.2
	.asciz	"After reset, invalid MAC address\n"

	.no_dead_strip	_ixgb_io_slot_reset
.subsections_via_symbols
