	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_10_100_only_device
_tg3_10_100_only_device:                ## @tg3_10_100_only_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_GRC_MISC_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	movl	%eax, %r15d
	movq	_GRC_MISC_CFG_BOARD_ID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_tg3_asic_rev
	movq	_ASIC_REV_5703@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	andl	%r15d, %ebx
	movl	$1, %r15d
	cmpl	$16384, %ebx                    ## imm = 0x4000
	je	LBB0_8
## %bb.2:
	cmpl	$32768, %ebx                    ## imm = 0x8000
	je	LBB0_8
LBB0_3:
	movq	_TG3_PHYFLG_IS_FET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r15d
	testl	%eax, (%r12)
	jne	LBB0_8
## %bb.4:
	movq	_TG3_DRV_DATA_FLAG_10_100_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	_tg3_asic_rev
	movq	_ASIC_REV_5705@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_TG3_DRV_DATA_FLAG_5705_10_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_8
LBB0_7:
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRC_MISC_CFG,4,2               ## @GRC_MISC_CFG
	.comm	_GRC_MISC_CFG_BOARD_ID_MASK,4,2 ## @GRC_MISC_CFG_BOARD_ID_MASK
	.comm	_ASIC_REV_5703,8,3              ## @ASIC_REV_5703
	.comm	_TG3_PHYFLG_IS_FET,4,2          ## @TG3_PHYFLG_IS_FET
	.comm	_TG3_DRV_DATA_FLAG_10_100_ONLY,4,2 ## @TG3_DRV_DATA_FLAG_10_100_ONLY
	.comm	_ASIC_REV_5705,8,3              ## @ASIC_REV_5705
	.comm	_TG3_DRV_DATA_FLAG_5705_10_100,4,2 ## @TG3_DRV_DATA_FLAG_5705_10_100
	.no_dead_strip	_tg3_10_100_only_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_10_100_only_device
_tg3_10_100_only_device:                ; @tg3_10_100_only_device
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GRC_MISC_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GRC_MISC_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_tr32
	mov	x21, x0
Lloh3:
	adrp	x8, _GRC_MISC_CFG_BOARD_ID_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRC_MISC_CFG_BOARD_ID_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_tg3_asic_rev
Lloh6:
	adrp	x8, _ASIC_REV_5703@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASIC_REV_5703@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	and	w8, w22, w21
	mov	w0, #1
	cmp	w8, #4, lsl #12                 ; =16384
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #8, lsl #12                 ; =32768
	b.eq	LBB0_5
LBB0_3:
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _TG3_PHYFLG_IS_FET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TG3_PHYFLG_IS_FET@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _TG3_DRV_DATA_FLAG_10_100_ONLY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TG3_DRV_DATA_FLAG_10_100_ONLY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_tg3_asic_rev
Lloh15:
	adrp	x8, _ASIC_REV_5705@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ASIC_REV_5705@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.8:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _TG3_DRV_DATA_FLAG_5705_10_100@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TG3_DRV_DATA_FLAG_5705_10_100@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
LBB0_9:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GRC_MISC_CFG,4,2               ; @GRC_MISC_CFG
	.comm	_GRC_MISC_CFG_BOARD_ID_MASK,4,2 ; @GRC_MISC_CFG_BOARD_ID_MASK
	.comm	_ASIC_REV_5703,8,3              ; @ASIC_REV_5703
	.comm	_TG3_PHYFLG_IS_FET,4,2          ; @TG3_PHYFLG_IS_FET
	.comm	_TG3_DRV_DATA_FLAG_10_100_ONLY,4,2 ; @TG3_DRV_DATA_FLAG_10_100_ONLY
	.comm	_ASIC_REV_5705,8,3              ; @ASIC_REV_5705
	.comm	_TG3_DRV_DATA_FLAG_5705_10_100,4,2 ; @TG3_DRV_DATA_FLAG_5705_10_100
	.no_dead_strip	_tg3_10_100_only_device
.subsections_via_symbols
