	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_aux_stat_to_speed_duplex
_tg3_aux_stat_to_speed_duplex:          ## @tg3_aux_stat_to_speed_duplex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MII_TG3_AUX_STAT_SPDMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_2:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_TG3_PHYFLG_IS_FET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_15
## %bb.4:
	movq	_MII_TG3_AUX_STAT_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	jne	LBB0_16
## %bb.5:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
LBB0_13:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_15:
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_16:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	_MII_TG3_AUX_STAT_FULL@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_13
## %bb.18:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_MII_TG3_AUX_STAT_SPDMASK,4,2   ## @MII_TG3_AUX_STAT_SPDMASK
	.comm	_SPEED_10,4,2                   ## @SPEED_10
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_SPEED_1000,4,2                 ## @SPEED_1000
	.comm	_TG3_PHYFLG_IS_FET,4,2          ## @TG3_PHYFLG_IS_FET
	.comm	_MII_TG3_AUX_STAT_100,4,2       ## @MII_TG3_AUX_STAT_100
	.comm	_MII_TG3_AUX_STAT_FULL,4,2      ## @MII_TG3_AUX_STAT_FULL
	.comm	_SPEED_UNKNOWN,4,2              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.no_dead_strip	_tg3_aux_stat_to_speed_duplex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_aux_stat_to_speed_duplex
_tg3_aux_stat_to_speed_duplex:          ; @tg3_aux_stat_to_speed_duplex
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MII_TG3_AUX_STAT_SPDMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_TG3_AUX_STAT_SPDMASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %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:
Lloh5:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	ldr	w8, [x0]
Lloh7:
	adrp	x9, _TG3_PHYFLG_IS_FET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TG3_PHYFLG_IS_FET@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.4:
Lloh10:
	adrp	x8, _MII_TG3_AUX_STAT_100@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MII_TG3_AUX_STAT_100@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _SPEED_100@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SPEED_100@GOTPAGEOFF]
Lloh15:
	adrp	x10, _SPEED_10@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SPEED_10@GOTPAGEOFF]
	tst	w8, w1
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [x2]
Lloh17:
	adrp	x8, _MII_TG3_AUX_STAT_FULL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MII_TG3_AUX_STAT_FULL@GOTPAGEOFF]
Lloh19:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x10, _DUPLEX_HALF@GOTPAGE
Lloh23:
	ldr	x10, [x10, _DUPLEX_HALF@GOTPAGEOFF]
	tst	w8, w1
	csel	x8, x10, x9, eq
	b	LBB0_12
LBB0_5:
Lloh24:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh26:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh28:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh30:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x2]
Lloh32:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh34:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x2]
Lloh36:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	str	w8, [x3]
	ret
LBB0_13:
Lloh38:
	adrp	x8, _SPEED_UNKNOWN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x2]
Lloh41:
	adrp	x8, _DUPLEX_UNKNOWN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DUPLEX_UNKNOWN@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_MII_TG3_AUX_STAT_SPDMASK,4,2   ; @MII_TG3_AUX_STAT_SPDMASK
	.comm	_SPEED_10,4,2                   ; @SPEED_10
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_SPEED_1000,4,2                 ; @SPEED_1000
	.comm	_TG3_PHYFLG_IS_FET,4,2          ; @TG3_PHYFLG_IS_FET
	.comm	_MII_TG3_AUX_STAT_100,4,2       ; @MII_TG3_AUX_STAT_100
	.comm	_MII_TG3_AUX_STAT_FULL,4,2      ; @MII_TG3_AUX_STAT_FULL
	.comm	_SPEED_UNKNOWN,4,2              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.no_dead_strip	_tg3_aux_stat_to_speed_duplex
.subsections_via_symbols
