	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_check_mng_mode_ich8lan
_e1000_check_mng_mode_ich8lan:          ## @e1000_check_mng_mode_ich8lan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FWSM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_ICH_FWSM_FW_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_E1000_FWSM_MODE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_E1000_ICH_MNG_IAMT_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_E1000_FWSM_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	xorl	%ecx, %ecx
	cmpl	%edx, %eax
	sete	%cl
	jmp	LBB0_3
LBB0_1:
	xorl	%ecx, %ecx
LBB0_3:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FWSM,4,2                       ## @FWSM
	.comm	_E1000_ICH_FWSM_FW_VALID,4,2    ## @E1000_ICH_FWSM_FW_VALID
	.comm	_E1000_FWSM_MODE_MASK,4,2       ## @E1000_FWSM_MODE_MASK
	.comm	_E1000_ICH_MNG_IAMT_MODE,4,2    ## @E1000_ICH_MNG_IAMT_MODE
	.comm	_E1000_FWSM_MODE_SHIFT,4,2      ## @E1000_FWSM_MODE_SHIFT
	.no_dead_strip	_e1000_check_mng_mode_ich8lan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_check_mng_mode_ich8lan
_e1000_check_mng_mode_ich8lan:          ; @e1000_check_mng_mode_ich8lan
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _FWSM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FWSM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_er32
Lloh3:
	adrp	x8, _E1000_ICH_FWSM_FW_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_ICH_FWSM_FW_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _E1000_FWSM_MODE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E1000_FWSM_MODE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh9:
	adrp	x9, _E1000_ICH_MNG_IAMT_MODE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _E1000_ICH_MNG_IAMT_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _E1000_FWSM_MODE_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _E1000_FWSM_MODE_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	cmp	w8, w9
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FWSM,4,2                       ; @FWSM
	.comm	_E1000_ICH_FWSM_FW_VALID,4,2    ; @E1000_ICH_FWSM_FW_VALID
	.comm	_E1000_FWSM_MODE_MASK,4,2       ; @E1000_FWSM_MODE_MASK
	.comm	_E1000_ICH_MNG_IAMT_MODE,4,2    ; @E1000_ICH_MNG_IAMT_MODE
	.comm	_E1000_FWSM_MODE_SHIFT,4,2      ; @E1000_FWSM_MODE_SHIFT
	.no_dead_strip	_e1000_check_mng_mode_ich8lan
.subsections_via_symbols
