	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_enable_mas
_igb_enable_mas:                        ## @igb_enable_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_E1000_CONNSW@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_rd32
	movq	(%rbx), %rcx
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_E1000_CONNSW_SERDESD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_E1000_CONNSW_ENRGSRC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_CONNSW_AUTOSENSE_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_wr32
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wrfl                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_CONNSW,4,2               ## @E1000_CONNSW
	.comm	_e1000_media_type_copper,8,3    ## @e1000_media_type_copper
	.comm	_E1000_CONNSW_SERDESD,4,2       ## @E1000_CONNSW_SERDESD
	.comm	_E1000_CONNSW_ENRGSRC,4,2       ## @E1000_CONNSW_ENRGSRC
	.comm	_E1000_CONNSW_AUTOSENSE_EN,4,2  ## @E1000_CONNSW_AUTOSENSE_EN
	.no_dead_strip	_igb_enable_mas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_enable_mas
_igb_enable_mas:                        ; @igb_enable_mas
	.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	x19, x0
Lloh0:
	adrp	x20, _E1000_CONNSW@GOTPAGE
Lloh1:
	ldr	x20, [x20, _E1000_CONNSW@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh3:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _E1000_CONNSW_SERDESD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_CONNSW_SERDESD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh8:
	adrp	x8, _E1000_CONNSW_ENRGSRC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_CONNSW_ENRGSRC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh11:
	adrp	x9, _E1000_CONNSW_AUTOSENSE_EN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _E1000_CONNSW_AUTOSENSE_EN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w0, [x20]
	bl	_wr32
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wrfl
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_CONNSW,4,2               ; @E1000_CONNSW
	.comm	_e1000_media_type_copper,8,3    ; @e1000_media_type_copper
	.comm	_E1000_CONNSW_SERDESD,4,2       ; @E1000_CONNSW_SERDESD
	.comm	_E1000_CONNSW_ENRGSRC,4,2       ; @E1000_CONNSW_ENRGSRC
	.comm	_E1000_CONNSW_AUTOSENSE_EN,4,2  ; @E1000_CONNSW_AUTOSENSE_EN
	.no_dead_strip	_igb_enable_mas
.subsections_via_symbols
