	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgb_init_hw                   ## -- Begin function ixgb_init_hw
	.p2align	4, 0x90
_ixgb_init_hw:                          ## @ixgb_init_hw
	.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
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ENTER
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	%r14, %rdi
	callq	_ixgb_mac_reset
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movq	_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGB_CTRL1_EE_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IXGB_WRITE_REG
	movq	_IXGB_DELAY_AFTER_EE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
	movq	%r14, %rdi
	callq	_ixgb_get_eeprom_data
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_ixgb_get_ee_device_id
	movl	%eax, 12(%r14)
	movq	%r14, %rdi
	callq	_ixgb_identify_phy
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_ixgb_init_rx_addrs
	movl	4(%r14), %edi
	callq	_mac_addr_valid
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movl	$0, (%r14)
	movq	%r14, %rdi
	callq	_ixgb_get_bus_info
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_debug
	movq	_IXGB_MC_TBL_SIZE@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_MTA@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_IXGB_WRITE_REG_ARRAY
	incq	%rbx
	cmpq	(%r15), %rbx
	jl	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	callq	_ixgb_clear_vfta
	movq	%r14, %rdi
	callq	_ixgb_clear_hw_cntrs
	movq	%r14, %rdi
	callq	_ixgb_setup_fc
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ixgb_check_for_link
	movl	%ebx, %eax
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
LBB0_3:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Issuing a global reset to MAC\n"

L_.str.1:                               ## @.str.1
	.asciz	"Issuing an EE reset to MAC\n"

	.comm	_CTRL1,4,2                      ## @CTRL1
	.comm	_IXGB_CTRL1_EE_RST,4,2          ## @IXGB_CTRL1_EE_RST
	.comm	_IXGB_DELAY_AFTER_EE_RESET,4,2  ## @IXGB_DELAY_AFTER_EE_RESET
L_.str.2:                               ## @.str.2
	.asciz	"MAC address invalid after ixgb_init_rx_addrs\n"

L_.str.3:                               ## @.str.3
	.asciz	"Zeroing the MTA\n"

	.comm	_IXGB_MC_TBL_SIZE,8,3           ## @IXGB_MC_TBL_SIZE
	.comm	_MTA,4,2                        ## @MTA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgb_init_hw                   ; -- Begin function ixgb_init_hw
	.p2align	2
_ixgb_init_hw:                          ; @ixgb_init_hw
	.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	x19, x0
	bl	_ENTER
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_ixgb_mac_reset
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
Lloh4:
	adrp	x8, _CTRL1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CTRL1@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _IXGB_CTRL1_EE_RST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IXGB_CTRL1_EE_RST@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IXGB_WRITE_REG
Lloh10:
	adrp	x8, _IXGB_DELAY_AFTER_EE_RESET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGB_DELAY_AFTER_EE_RESET@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_msleep
	mov	x0, x19
	bl	_ixgb_get_eeprom_data
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_ixgb_get_ee_device_id
	str	w0, [x19, #12]
	mov	x0, x19
	bl	_ixgb_identify_phy
	str	w0, [x19, #8]
	mov	x0, x19
	bl	_ixgb_init_rx_addrs
	ldr	w0, [x19, #4]
	bl	_mac_addr_valid
	cbz	w0, LBB0_6
; %bb.2:
	str	wzr, [x19]
	mov	x0, x19
	bl	_ixgb_get_bus_info
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
Lloh15:
	adrp	x21, _IXGB_MC_TBL_SIZE@GOTPAGE
Lloh16:
	ldr	x21, [x21, _IXGB_MC_TBL_SIZE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
Lloh17:
	adrp	x22, _MTA@GOTPAGE
Lloh18:
	ldr	x22, [x22, _MTA@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_IXGB_WRITE_REG_ARRAY
	add	x20, x20, #1
	ldr	x8, [x21]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_ixgb_clear_vfta
	mov	x0, x19
	bl	_ixgb_clear_hw_cntrs
	mov	x0, x19
	bl	_ixgb_setup_fc
	mov	x20, x0
	mov	x0, x19
	bl	_ixgb_check_for_link
	mov	x0, x20
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_7:
	mov	w0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Issuing a global reset to MAC\n"

l_.str.1:                               ; @.str.1
	.asciz	"Issuing an EE reset to MAC\n"

	.comm	_CTRL1,4,2                      ; @CTRL1
	.comm	_IXGB_CTRL1_EE_RST,4,2          ; @IXGB_CTRL1_EE_RST
	.comm	_IXGB_DELAY_AFTER_EE_RESET,4,2  ; @IXGB_DELAY_AFTER_EE_RESET
l_.str.2:                               ; @.str.2
	.asciz	"MAC address invalid after ixgb_init_rx_addrs\n"

l_.str.3:                               ; @.str.3
	.asciz	"Zeroing the MTA\n"

	.comm	_IXGB_MC_TBL_SIZE,8,3           ; @IXGB_MC_TBL_SIZE
	.comm	_MTA,4,2                        ; @MTA
.subsections_via_symbols
