	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_get_invariants_base
_igc_get_invariants_base:               ## @igc_get_invariants_base
	.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
	movl	$-129, %eax
	addl	(%rdi), %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movl	$128, 4(%rdi)
	movq	_igc_media_type_copper@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	callq	_igc_init_mac_params_base
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_igc_init_nvm_params_base
	cmpl	$128, 4(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_igc_init_nvm_params_i225
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_igc_init_phy_params_base       ## TAILCALL
LBB0_5:
	movq	_IGC_ERR_MAC_INIT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subq	(%rcx), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_ERR_MAC_INIT,8,3           ## @IGC_ERR_MAC_INIT
	.comm	_igc_media_type_copper,4,2      ## @igc_media_type_copper
	.no_dead_strip	_igc_get_invariants_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_get_invariants_base
_igc_get_invariants_base:               ; @igc_get_invariants_base
	.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
	ldr	w8, [x0]
	sub	w8, w8, #129
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w8, #128
Lloh0:
	adrp	x9, _igc_media_type_copper@GOTPAGE
Lloh1:
	ldr	x9, [x9, _igc_media_type_copper@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [x0, #4]
	bl	_igc_init_mac_params_base
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_igc_init_nvm_params_base
	ldr	w8, [x19, #4]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_igc_init_nvm_params_i225
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_igc_init_phy_params_base
LBB0_5:
Lloh3:
	adrp	x8, _IGC_ERR_MAC_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGC_ERR_MAC_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	neg	x0, x8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_ERR_MAC_INIT,8,3           ; @IGC_ERR_MAC_INIT
	.comm	_igc_media_type_copper,4,2      ; @igc_media_type_copper
	.no_dead_strip	_igc_get_invariants_base
.subsections_via_symbols
