	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eip197_trc_cache_init
_eip197_trc_cache_init:                 ## @eip197_trc_cache_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_eip197_trc_cache_setupvirt
	movq	_EIP197_CS_RAM_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rax, %rbx
	addq	8(%r12), %rdi
	callq	_readl
	movq	_EIP197_TRC_ENABLE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	_EIP197_TRC_ENABLE_0@GOTPCREL(%rip), %rax
	movq	_EIP197_CS_BANKSEL_MASK@GOTPCREL(%rip), %r15
	orl	(%rax), %edi
	orl	(%r15), %edi
	movq	(%rbx), %rsi
	addq	8(%r12), %rsi
	callq	_writel
	movq	(%rbx), %rdi
	addq	8(%r12), %rdi
	callq	_readl
                                        ## kill: def $eax killed $eax def $rax
	andl	(%r15), %eax
	movq	_EIP197_CS_BANKSEL_OFS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	leal	1(%rax), %r14d
	movq	_EIP197_TRC_ECCCTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_EIP197_TRC_PARAMS@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	movq	_EIP197_TRC_PARAMS_SW_RESET@GOTPCREL(%rip), %rcx
	movq	_EIP197_TRC_PARAMS_DATA_ACCESS@GOTPCREL(%rip), %rbx
	orl	(%rcx), %eax
	orl	(%rbx), %eax
	movq	(%r13), %rsi
	addq	8(%r12), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	$-1, %edx
	callq	_eip197_trc_cache_probe
	movl	%eax, %r14d
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	movl	(%r15), %edi
	orl	(%rbx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r13), %rsi
	addq	8(%r12), %rsi
	callq	_writel
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$-1073741825, %edx              ## imm = 0xBFFFFFFF
	callq	_eip197_trc_cache_probe
	movl	%eax, %ebx
	sarl	$4, %eax
	movl	%eax, %r15d
	movq	_EIP197_TRC_ECCCTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_EIP197_CS_TRC_REC_WC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_uint@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rax, %r13
	sarl	$2, %r14d
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
	movl	$1023, %edx                     ## imm = 0x3FF
	callq	_min_t
	movl	%eax, %r14d
	movl	(%r13), %edi
	sarl	$5, %ebx
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_min_t
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	subl	%eax, %edi
	callq	___fls
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	$16, %r13d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	movq	_uint@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %eax
	sarl	$4, %eax
	movl	%r15d, %edx
	subl	%eax, %edx
	movl	%r14d, %esi
	callq	_min_t
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_eip197_trc_cache_clear
	movq	_EIP197_CS_RAM_CTRL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	movq	_EIP197_TRC_ENABLE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rsi
	addq	8(%r12), %rsi
	callq	_writel
	xorl	%edi, %edi
	callq	_EIP197_TRC_FREECHAIN_HEAD_PTR
	movl	%eax, %ebx
	leal	-1(%r14), %edi
	callq	_EIP197_TRC_FREECHAIN_TAIL_PTR
	orl	%eax, %ebx
	movq	_EIP197_TRC_FREECHAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_EIP197_TRC_PARAMS2_RC_SZ_SMALL
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_EIP197_TRC_PARAMS2_HTABLE_PTR
	orl	%eax, %ebx
	movq	_EIP197_TRC_PARAMS2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	%r15d, %edi
	callq	_EIP197_TRC_PARAMS_RC_SZ_LARGE
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_EIP197_TRC_PARAMS_BLK_TIMER_SPEED
	orl	%eax, %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_EIP197_TRC_PARAMS_HTABLE_SZ
	orl	%eax, %ebx
	movq	_EIP197_TRC_PARAMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r12), %edi
	addl	%r13d, %r13d
	leaq	L_.str(%rip), %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r13d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EIP197_CS_RAM_CTRL,8,3         ## @EIP197_CS_RAM_CTRL
	.comm	_EIP197_TRC_ENABLE_MASK,4,2     ## @EIP197_TRC_ENABLE_MASK
	.comm	_EIP197_TRC_ENABLE_0,4,2        ## @EIP197_TRC_ENABLE_0
	.comm	_EIP197_CS_BANKSEL_MASK,4,2     ## @EIP197_CS_BANKSEL_MASK
	.comm	_EIP197_CS_BANKSEL_OFS,4,2      ## @EIP197_CS_BANKSEL_OFS
	.comm	_EIP197_TRC_ECCCTRL,8,3         ## @EIP197_TRC_ECCCTRL
	.comm	_EIP197_TRC_PARAMS,8,3          ## @EIP197_TRC_PARAMS
	.comm	_EIP197_TRC_PARAMS_SW_RESET,4,2 ## @EIP197_TRC_PARAMS_SW_RESET
	.comm	_EIP197_TRC_PARAMS_DATA_ACCESS,4,2 ## @EIP197_TRC_PARAMS_DATA_ACCESS
	.comm	_EIP197_CS_TRC_REC_WC,4,2       ## @EIP197_CS_TRC_REC_WC
	.comm	_uint,4,2                       ## @uint
	.comm	_EIP197_TRC_FREECHAIN,8,3       ## @EIP197_TRC_FREECHAIN
	.comm	_EIP197_TRC_PARAMS2,8,3         ## @EIP197_TRC_PARAMS2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TRC init: %dd,%da (%dr,%dh)\n"

	.no_dead_strip	_eip197_trc_cache_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eip197_trc_cache_init
_eip197_trc_cache_init:                 ; @eip197_trc_cache_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_eip197_trc_cache_setupvirt
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x26, _EIP197_CS_RAM_CTRL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EIP197_CS_RAM_CTRL@GOTPAGEOFF]
	ldr	x9, [x26]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _EIP197_TRC_ENABLE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIP197_TRC_ENABLE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _EIP197_TRC_ENABLE_0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EIP197_TRC_ENABLE_0@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x21, _EIP197_CS_BANKSEL_MASK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _EIP197_CS_BANKSEL_MASK@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w8, w8, w9
	orr	w0, w8, w10
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x21]
	and	w8, w8, w0
Lloh10:
	adrp	x9, _EIP197_CS_BANKSEL_OFS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EIP197_CS_BANKSEL_OFS@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	asr	w8, w8, w9
	add	w20, w8, #1
	ldr	x8, [x19, #8]
Lloh13:
	adrp	x22, _EIP197_TRC_ECCCTRL@GOTPAGE
Lloh14:
	ldr	x22, [x22, _EIP197_TRC_ECCCTRL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x27, _EIP197_TRC_PARAMS@GOTPAGE
Lloh16:
	ldr	x27, [x27, _EIP197_TRC_PARAMS@GOTPAGEOFF]
	ldr	x9, [x27]
	add	x0, x9, x8
	bl	_readl
Lloh17:
	adrp	x8, _EIP197_TRC_PARAMS_SW_RESET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIP197_TRC_PARAMS_SW_RESET@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x23, _EIP197_TRC_PARAMS_DATA_ACCESS@GOTPAGE
Lloh21:
	ldr	x23, [x23, _EIP197_TRC_PARAMS_DATA_ACCESS@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w0
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_eip197_trc_cache_probe
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x23]
	ldr	w9, [x21]
	orr	w8, w9, w8
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	mov	w1, #0
	mov	w2, #-1073741825
	bl	_eip197_trc_cache_probe
	mov	x23, x0
	asr	w21, w0, #4
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh22:
	adrp	x8, _EIP197_CS_TRC_REC_WC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EIP197_CS_TRC_REC_WC@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
Lloh25:
	adrp	x28, _uint@GOTPAGE
Lloh26:
	ldr	x28, [x28, _uint@GOTPAGEOFF]
	ldr	w0, [x28]
	asr	w8, w20, #2
	sdiv	w1, w8, w22
	mov	w2, #1023
	bl	_min_t
	mov	x24, x0
	ldr	w0, [x28]
	asr	w2, w23, #5
	mov	x1, x24
	bl	_min_t
	sub	w0, w21, w0
	bl	___fls
	sub	w25, w0, #2
	mov	w8, #16
	lsl	w23, w8, w25
	ldr	w0, [x28]
	sub	w2, w21, w23, asr #4
	mov	x1, x24
	bl	_min_t
	mov	x24, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_eip197_trc_cache_clear
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	add	x0, x9, x8
	bl	_readl
Lloh27:
	adrp	x8, _EIP197_TRC_ENABLE_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EIP197_TRC_ENABLE_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x26]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	bl	_EIP197_TRC_FREECHAIN_HEAD_PTR
	mov	x26, x0
	sub	w0, w24, #1
	bl	_EIP197_TRC_FREECHAIN_TAIL_PTR
	orr	w0, w0, w26
	ldr	x8, [x19, #8]
Lloh30:
	adrp	x9, _EIP197_TRC_FREECHAIN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EIP197_TRC_FREECHAIN@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x22
	bl	_EIP197_TRC_PARAMS2_RC_SZ_SMALL
	mov	x26, x0
	mov	x0, x24
	bl	_EIP197_TRC_PARAMS2_HTABLE_PTR
	orr	w0, w0, w26
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x9, _EIP197_TRC_PARAMS2@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EIP197_TRC_PARAMS2@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x22
	bl	_EIP197_TRC_PARAMS_RC_SZ_LARGE
	mov	x22, x0
	mov	w0, #1
	bl	_EIP197_TRC_PARAMS_BLK_TIMER_SPEED
	orr	w22, w0, w22
	mov	x0, x25
	bl	_EIP197_TRC_PARAMS_HTABLE_SZ
	orr	w0, w22, w0
	ldr	x8, [x19, #8]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19]
	lsl	w5, w23, #1
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x21
	mov	x4, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dev_info
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EIP197_CS_RAM_CTRL,8,3         ; @EIP197_CS_RAM_CTRL
	.comm	_EIP197_TRC_ENABLE_MASK,4,2     ; @EIP197_TRC_ENABLE_MASK
	.comm	_EIP197_TRC_ENABLE_0,4,2        ; @EIP197_TRC_ENABLE_0
	.comm	_EIP197_CS_BANKSEL_MASK,4,2     ; @EIP197_CS_BANKSEL_MASK
	.comm	_EIP197_CS_BANKSEL_OFS,4,2      ; @EIP197_CS_BANKSEL_OFS
	.comm	_EIP197_TRC_ECCCTRL,8,3         ; @EIP197_TRC_ECCCTRL
	.comm	_EIP197_TRC_PARAMS,8,3          ; @EIP197_TRC_PARAMS
	.comm	_EIP197_TRC_PARAMS_SW_RESET,4,2 ; @EIP197_TRC_PARAMS_SW_RESET
	.comm	_EIP197_TRC_PARAMS_DATA_ACCESS,4,2 ; @EIP197_TRC_PARAMS_DATA_ACCESS
	.comm	_EIP197_CS_TRC_REC_WC,4,2       ; @EIP197_CS_TRC_REC_WC
	.comm	_uint,4,2                       ; @uint
	.comm	_EIP197_TRC_FREECHAIN,8,3       ; @EIP197_TRC_FREECHAIN
	.comm	_EIP197_TRC_PARAMS2,8,3         ; @EIP197_TRC_PARAMS2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TRC init: %dd,%da (%dr,%dh)\n"

	.no_dead_strip	_eip197_trc_cache_init
.subsections_via_symbols
