	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_init_mas
_igb_init_mas:                          ## @igb_init_mas
	.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
	movq	%rdi, %rbx
	addq	$8, %rdi
	movq	_NVM_COMPAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rcx
	movl	$1, %edx
	callq	*16(%rbx)
	movl	8(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_IGB_MAS_ENABLE_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -12(%rbp)
	je	LBB0_12
## %bb.3:
	movq	_IGB_FLAG_MAS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$128, %edx
	jmp	LBB0_11
LBB0_4:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_12
LBB0_5:
	movq	_IGB_MAS_ENABLE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -12(%rbp)
	je	LBB0_12
## %bb.6:
	movq	_IGB_FLAG_MAS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$129, %edx
	jmp	LBB0_11
LBB0_7:
	movq	_IGB_MAS_ENABLE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -12(%rbp)
	je	LBB0_12
## %bb.8:
	movq	_IGB_FLAG_MAS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$130, %edx
	jmp	LBB0_11
LBB0_9:
	movq	_IGB_MAS_ENABLE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -12(%rbp)
	je	LBB0_12
## %bb.10:
	movq	_IGB_FLAG_MAS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$131, %edx
LBB0_11:
	callq	_netdev_info
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_NVM_COMPAT,4,2                 ## @NVM_COMPAT
	.comm	_IGB_MAS_ENABLE_0,4,2           ## @IGB_MAS_ENABLE_0
	.comm	_IGB_FLAG_MAS_ENABLE,4,2        ## @IGB_FLAG_MAS_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAS: Enabling Media Autosense for port %d\n"

	.comm	_IGB_MAS_ENABLE_1,4,2           ## @IGB_MAS_ENABLE_1
	.comm	_IGB_MAS_ENABLE_2,4,2           ## @IGB_MAS_ENABLE_2
	.comm	_IGB_MAS_ENABLE_3,4,2           ## @IGB_MAS_ENABLE_3
L_.str.1:                               ## @.str.1
	.asciz	"MAS: Invalid port configuration, returning\n"

	.no_dead_strip	_igb_init_mas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_init_mas
_igb_init_mas:                          ; @igb_init_mas
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x0, x0, #8
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _NVM_COMPAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVM_COMPAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x3, sp, #12
	mov	w2, #1
	blr	x8
	ldr	w8, [x19, #8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _IGB_MAS_ENABLE_3@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IGB_MAS_ENABLE_3@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.3:
Lloh8:
	adrp	x8, _IGB_FLAG_MAS_ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IGB_FLAG_MAS_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldp	w0, w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #128
	b	LBB0_11
LBB0_4:
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	b	LBB0_12
LBB0_5:
	ldr	w8, [sp, #12]
Lloh15:
	adrp	x9, _IGB_MAS_ENABLE_2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IGB_MAS_ENABLE_2@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.6:
Lloh18:
	adrp	x8, _IGB_FLAG_MAS_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IGB_FLAG_MAS_ENABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldp	w0, w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #129
	b	LBB0_11
LBB0_7:
	ldr	w8, [sp, #12]
Lloh23:
	adrp	x9, _IGB_MAS_ENABLE_1@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IGB_MAS_ENABLE_1@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.8:
Lloh26:
	adrp	x8, _IGB_FLAG_MAS_ENABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IGB_FLAG_MAS_ENABLE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldp	w0, w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #130
	b	LBB0_11
LBB0_9:
	ldr	w8, [sp, #12]
Lloh31:
	adrp	x9, _IGB_MAS_ENABLE_0@GOTPAGE
Lloh32:
	ldr	x9, [x9, _IGB_MAS_ENABLE_0@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
Lloh34:
	adrp	x8, _IGB_FLAG_MAS_ENABLE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IGB_FLAG_MAS_ENABLE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldp	w0, w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #131
LBB0_11:
	bl	_netdev_info
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_NVM_COMPAT,4,2                 ; @NVM_COMPAT
	.comm	_IGB_MAS_ENABLE_0,4,2           ; @IGB_MAS_ENABLE_0
	.comm	_IGB_FLAG_MAS_ENABLE,4,2        ; @IGB_FLAG_MAS_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAS: Enabling Media Autosense for port %d\n"

	.comm	_IGB_MAS_ENABLE_1,4,2           ; @IGB_MAS_ENABLE_1
	.comm	_IGB_MAS_ENABLE_2,4,2           ; @IGB_MAS_ENABLE_2
	.comm	_IGB_MAS_ENABLE_3,4,2           ; @IGB_MAS_ENABLE_3
l_.str.1:                               ; @.str.1
	.asciz	"MAS: Invalid port configuration, returning\n"

	.no_dead_strip	_igb_init_mas
.subsections_via_symbols
