	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_validate_mdi_setting     ## -- Begin function e1000_validate_mdi_setting
	.p2align	4, 0x90
_e1000_validate_mdi_setting:            ## @e1000_validate_mdi_setting
	.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
	cmpl	$0, 4(%rdi)
	je	LBB0_1
LBB0_4:
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_1:
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$3, %eax
	je	LBB0_3
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	movl	$1, (%rbx)
	movq	_E1000_ERR_CONFIG@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid MDI setting detected\n"

	.comm	_E1000_ERR_CONFIG,4,2           ## @E1000_ERR_CONFIG
	.comm	_E1000_SUCCESS,4,2              ## @E1000_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_validate_mdi_setting     ; -- Begin function e1000_validate_mdi_setting
	.p2align	2
_e1000_validate_mdi_setting:            ; @e1000_validate_mdi_setting
	.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, #4]
	cbz	w8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #3
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_1
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	mov	w8, #1
	str	w8, [x19]
Lloh5:
	adrp	x8, _E1000_ERR_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_ERR_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid MDI setting detected\n"

	.comm	_E1000_ERR_CONFIG,4,2           ; @E1000_ERR_CONFIG
	.comm	_E1000_SUCCESS,4,2              ; @E1000_SUCCESS
.subsections_via_symbols
