	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgb_reset                     ## -- Begin function ixgb_reset
	.p2align	4, 0x90
_ixgb_reset:                            ## @ixgb_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	4(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_ixgb_adapter_stop
	movq	%rbx, %rdi
	callq	_ixgb_init_hw
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_err
LBB0_2:
	movq	_MFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	_IXGB_MFS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	%rbx, %rdi
	callq	_IXGB_WRITE_REG
	movq	_IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS@GOTPCREL(%rip), %rax
	movq	_ENET_FCS_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	cmpl	%ecx, (%rbx)
	jle	LBB0_4
## %bb.3:
	movq	_CTRL0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_IXGB_READ_REG
	movq	_IXGB_CTRL0_JFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	orl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IXGB_WRITE_REG                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ixgb_init_hw failed\n"

	.comm	_MFS,4,2                        ## @MFS
	.comm	_IXGB_MFS_SHIFT,4,2             ## @IXGB_MFS_SHIFT
	.comm	_IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS,4,2 ## @IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS
	.comm	_ENET_FCS_LENGTH,4,2            ## @ENET_FCS_LENGTH
	.comm	_CTRL0,4,2                      ## @CTRL0
	.comm	_IXGB_CTRL0_JFE,4,2             ## @IXGB_CTRL0_JFE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgb_reset                     ; -- Begin function ixgb_reset
	.p2align	2
_ixgb_reset:                            ; @ixgb_reset
	.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
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_ixgb_adapter_stop
	mov	x0, x19
	bl	_ixgb_init_hw
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _probe@GOTPAGE
Lloh1:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_err
LBB0_2:
Lloh5:
	adrp	x8, _MFS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MFS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _IXGB_MFS_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGB_MFS_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsl	w2, w8, w9
	mov	x0, x19
	bl	_IXGB_WRITE_REG
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _ENET_FCS_LENGTH@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ENET_FCS_LENGTH@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	add	w9, w10, w9
	cmp	w8, w9
	b.le	LBB0_4
; %bb.3:
Lloh17:
	adrp	x20, _CTRL0@GOTPAGE
Lloh18:
	ldr	x20, [x20, _CTRL0@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_IXGB_READ_REG
Lloh19:
	adrp	x8, _IXGB_CTRL0_JFE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IXGB_CTRL0_JFE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IXGB_WRITE_REG
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ixgb_init_hw failed\n"

	.comm	_MFS,4,2                        ; @MFS
	.comm	_IXGB_MFS_SHIFT,4,2             ; @IXGB_MFS_SHIFT
	.comm	_IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS,4,2 ; @IXGB_MAX_ENET_FRAME_SIZE_WITHOUT_FCS
	.comm	_ENET_FCS_LENGTH,4,2            ; @ENET_FCS_LENGTH
	.comm	_CTRL0,4,2                      ; @CTRL0
	.comm	_IXGB_CTRL0_JFE,4,2             ; @IXGB_CTRL0_JFE
.subsections_via_symbols
