	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_calc_trtr
_emac_calc_trtr:                        ## @emac_calc_trtr
	.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
	movl	%esi, %ebx
	movq	_EMAC_FTR_EMAC4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emac_has_feature
	shrl	$6, %ebx
	decl	%ebx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_EMAC_TRTR_SHIFT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_EMAC_TRTR_SHIFT_EMAC4@GOTPCREL(%rip), %rax
LBB0_3:
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_FTR_EMAC4,4,2             ## @EMAC_FTR_EMAC4
	.comm	_EMAC_TRTR_SHIFT_EMAC4,4,2      ## @EMAC_TRTR_SHIFT_EMAC4
	.comm	_EMAC_TRTR_SHIFT,4,2            ## @EMAC_TRTR_SHIFT
	.no_dead_strip	_emac_calc_trtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_calc_trtr
_emac_calc_trtr:                        ; @emac_calc_trtr
	.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, x1
Lloh0:
	adrp	x8, _EMAC_FTR_EMAC4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMAC_FTR_EMAC4@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_emac_has_feature
	lsr	w8, w19, #6
Lloh3:
	adrp	x9, _EMAC_TRTR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EMAC_TRTR_SHIFT@GOTPAGEOFF]
Lloh5:
	adrp	x10, _EMAC_TRTR_SHIFT_EMAC4@GOTPAGE
Lloh6:
	ldr	x10, [x10, _EMAC_TRTR_SHIFT_EMAC4@GOTPAGEOFF]
	sub	w8, w8, #1
	cmp	x0, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	lsl	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_FTR_EMAC4,4,2             ; @EMAC_FTR_EMAC4
	.comm	_EMAC_TRTR_SHIFT_EMAC4,4,2      ; @EMAC_TRTR_SHIFT_EMAC4
	.comm	_EMAC_TRTR_SHIFT,4,2            ; @EMAC_TRTR_SHIFT
	.no_dead_strip	_emac_calc_trtr
.subsections_via_symbols
