	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_phy_type
_e1000_set_phy_type:                    ## @e1000_set_phy_type
	.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
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	movq	(%rbx), %rcx
	movq	_e1000_undefined@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_2
LBB0_1:
	movq	_E1000_ERR_PHY_TYPE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_2:
	movl	8(%rbx), %edx
	addl	$-128, %edx
	cmpl	$7, %edx
	ja	LBB0_9
## %bb.3:
	movq	_e1000_phy_m88@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_12:
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	_e1000_phy_undefined@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	jmp	LBB0_1
LBB0_10:
	movq	_e1000_phy_8211@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_e1000_phy_8201@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_e1000_82541@GOTPCREL(%rip), %rdx
	movq	_e1000_phy_igp@GOTPCREL(%rip), %rax
	cmpq	(%rdx), %rcx
	je	LBB0_11
## %bb.5:
	movq	_e1000_82541_rev_2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_11
## %bb.6:
	movq	_e1000_82547@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_11
## %bb.7:
	movq	_e1000_82547_rev_2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"e1000_set_phy_type"

	.comm	_e1000_undefined,8,3            ## @e1000_undefined
	.comm	_E1000_ERR_PHY_TYPE,4,2         ## @E1000_ERR_PHY_TYPE
	.comm	_e1000_phy_m88,4,2              ## @e1000_phy_m88
	.comm	_e1000_82541,8,3                ## @e1000_82541
	.comm	_e1000_82541_rev_2,8,3          ## @e1000_82541_rev_2
	.comm	_e1000_82547,8,3                ## @e1000_82547
	.comm	_e1000_82547_rev_2,8,3          ## @e1000_82547_rev_2
	.comm	_e1000_phy_igp,4,2              ## @e1000_phy_igp
	.comm	_e1000_phy_8211,4,2             ## @e1000_phy_8211
	.comm	_e1000_phy_8201,4,2             ## @e1000_phy_8201
	.comm	_e1000_phy_undefined,4,2        ## @e1000_phy_undefined
	.comm	_E1000_SUCCESS,4,2              ## @E1000_SUCCESS
	.no_dead_strip	_e1000_set_phy_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_phy_type
_e1000_set_phy_type:                    ; @e1000_set_phy_type
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _e1000_undefined@GOTPAGE
Lloh3:
	ldr	x9, [x9, _e1000_undefined@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _E1000_ERR_PHY_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_ERR_PHY_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	ldr	w9, [x19, #8]
	sub	w10, w9, #128
	cmp	w10, #7
	b.hi	LBB0_9
; %bb.3:
Lloh8:
	adrp	x9, _e1000_phy_m88@GOTPAGE
Lloh9:
	ldr	x9, [x9, _e1000_phy_m88@GOTPAGEOFF]
Lloh10:
	adrp	x11, lJTI0_0@PAGE
Lloh11:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_4
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_4:
	ldr	w8, [x9]
	str	w8, [x19, #12]
LBB0_5:
Lloh12:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh15:
	adrp	x9, _e1000_82541@GOTPAGE
Lloh16:
	ldr	x9, [x9, _e1000_82541@GOTPAGEOFF]
Lloh17:
	adrp	x10, _e1000_82541_rev_2@GOTPAGE
Lloh18:
	ldr	x10, [x10, _e1000_82541_rev_2@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, _e1000_82547@GOTPAGE
Lloh22:
	ldr	x11, [x11, _e1000_82547@GOTPAGEOFF]
Lloh23:
	adrp	x12, _e1000_82547_rev_2@GOTPAGE
Lloh24:
	ldr	x12, [x12, _e1000_82547_rev_2@GOTPAGEOFF]
Lloh25:
	ldr	x11, [x11]
Lloh26:
	ldr	x12, [x12]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_5
; %bb.8:
Lloh27:
	adrp	x9, _e1000_phy_igp@GOTPAGE
Lloh28:
	ldr	x9, [x9, _e1000_phy_igp@GOTPAGEOFF]
	b	LBB0_4
LBB0_9:
Lloh29:
	adrp	x8, _e1000_phy_undefined@GOTPAGE
Lloh30:
	ldr	x8, [x8, _e1000_phy_undefined@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	b	LBB0_1
LBB0_10:
Lloh32:
	adrp	x9, _e1000_phy_8211@GOTPAGE
Lloh33:
	ldr	x9, [x9, _e1000_phy_8211@GOTPAGEOFF]
	b	LBB0_4
LBB0_11:
Lloh34:
	adrp	x9, _e1000_phy_8201@GOTPAGE
Lloh35:
	ldr	x9, [x9, _e1000_phy_8201@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"e1000_set_phy_type"

	.comm	_e1000_undefined,8,3            ; @e1000_undefined
	.comm	_E1000_ERR_PHY_TYPE,4,2         ; @E1000_ERR_PHY_TYPE
	.comm	_e1000_phy_m88,4,2              ; @e1000_phy_m88
	.comm	_e1000_82541,8,3                ; @e1000_82541
	.comm	_e1000_82541_rev_2,8,3          ; @e1000_82541_rev_2
	.comm	_e1000_82547,8,3                ; @e1000_82547
	.comm	_e1000_82547_rev_2,8,3          ; @e1000_82547_rev_2
	.comm	_e1000_phy_igp,4,2              ; @e1000_phy_igp
	.comm	_e1000_phy_8211,4,2             ; @e1000_phy_8211
	.comm	_e1000_phy_8201,4,2             ; @e1000_phy_8201
	.comm	_e1000_phy_undefined,4,2        ; @e1000_phy_undefined
	.comm	_E1000_SUCCESS,4,2              ; @E1000_SUCCESS
	.no_dead_strip	_e1000_set_phy_type
.subsections_via_symbols
