	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eip197_trc_cache_clear
_eip197_trc_cache_clear:                ## @eip197_trc_cache_clear
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	jle	LBB0_6
## %bb.1:
	movq	_EIP197_CLASSIFICATION_RAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EIP197_RC_NULL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_EIP197_CS_RC_NEXT
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_EIP197_CS_RC_PREV
	orl	%eax, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	addl	%r14d, %esi
	movl	%ebx, %edi
	callq	_writel
	movl	$1, %edi
	callq	_EIP197_CS_RC_NEXT
	movl	%eax, %ebx
	movl	$-1, %edi
	callq	_EIP197_CS_RC_PREV
	orl	%eax, %ebx
	movl	(%r13), %edi
	callq	_EIP197_CS_RC_PREV
	orl	%eax, %ebx
	movl	(%r15), %eax
	leal	(%r14,%rax), %esi
	addl	$4, %esi
	movl	%ebx, %edi
	callq	_writel
	movl	(%r15), %eax
	leal	(%r14,%rax), %esi
	addl	$8, %esi
	xorl	%edi, %edi
	callq	_writel
	movl	(%r15), %eax
	leal	(%r14,%rax), %esi
	addl	$12, %esi
	xorl	%edi, %edi
	callq	_writel
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_2
LBB0_6:
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jle	LBB0_9
## %bb.7:
	movq	_EIP197_CS_RC_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	movq	_EIP197_CLASSIFICATION_RAMS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	$29, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %esi
	addl	(%r14), %esi
	addl	%ebx, %esi
	movl	%eax, %edi
	callq	_writel
	addl	$4, %ebx
	decl	%r15d
	jne	LBB0_8
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %edx
	negl	%edx
	movl	$2, %r13d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	leal	(%r14,%rax), %esi
	addl	$4, %esi
	movl	%r12d, %edi
	callq	_writel
	movl	(%rbx), %eax
	leal	(%r14,%rax), %esi
	addl	$8, %esi
	xorl	%edi, %edi
	callq	_writel
	movl	(%rbx), %eax
	leal	(%r14,%rax), %esi
	addl	$12, %esi
	xorl	%edi, %edi
	callq	_writel
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%r13), %eax
	incl	%eax
	movl	%r13d, %ecx
	incl	%ecx
	movl	%ecx, %r13d
	cmpl	$1, %eax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r13), %r14d
	movq	_EIP197_CS_RC_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %r14d
	movq	_EIP197_CLASSIFICATION_RAMS@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movq	_EIP197_RC_NULL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_EIP197_CS_RC_NEXT
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_EIP197_CS_RC_PREV
	orl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	addl	%r14d, %esi
	movl	%ebx, %edi
	callq	_writel
	movl	%r13d, %edi
	callq	_EIP197_CS_RC_NEXT
	movl	%eax, %r15d
	leal	-2(%r13), %edi
	callq	_EIP197_CS_RC_PREV
	movl	%eax, %r12d
	orl	%r15d, %r12d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addl	%r13d, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EIP197_RC_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EIP197_CS_RC_NEXT
	orl	%eax, %r12d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EIP197_CLASSIFICATION_RAMS,4,2 ## @EIP197_CLASSIFICATION_RAMS
	.comm	_EIP197_CS_RC_SIZE,4,2          ## @EIP197_CS_RC_SIZE
	.comm	_EIP197_RC_NULL,4,2             ## @EIP197_RC_NULL
	.no_dead_strip	_eip197_trc_cache_clear
.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_clear
_eip197_trc_cache_clear:                ; @eip197_trc_cache_clear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x20, x0
Lloh0:
	adrp	x24, _EIP197_CLASSIFICATION_RAMS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EIP197_CLASSIFICATION_RAMS@GOTPAGEOFF]
Lloh2:
	adrp	x25, _EIP197_CS_RC_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _EIP197_CS_RC_SIZE@GOTPAGEOFF]
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w23, [x24]
Lloh4:
	adrp	x26, _EIP197_RC_NULL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _EIP197_RC_NULL@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_EIP197_CS_RC_NEXT
	mov	x22, x0
	ldr	w0, [x26]
	bl	_EIP197_CS_RC_PREV
	orr	w0, w0, w22
	ldr	w8, [x20]
	add	w1, w8, w23
	bl	_writel
	mov	w0, #1
	bl	_EIP197_CS_RC_NEXT
	mov	x22, x0
	mov	w0, #-1
	bl	_EIP197_CS_RC_PREV
	orr	w22, w0, w22
	ldr	w0, [x26]
	bl	_EIP197_CS_RC_PREV
	orr	w0, w0, w22
	ldr	w8, [x20]
	add	w8, w23, w8
	add	w1, w8, #4
	bl	_writel
	ldr	w8, [x20]
	add	w8, w23, w8
	add	w1, w8, #8
	mov	w0, #0
	bl	_writel
	ldr	w8, [x20]
	add	w8, w23, w8
	add	w1, w8, #12
	mov	w0, #0
	bl	_writel
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.ne	LBB0_6
LBB0_2:
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	w8, [x25]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	mul	w21, w8, w9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #29
	mov	w1, #0
	bl	_GENMASK
	ldr	w8, [x20]
	ldr	w9, [x24]
	add	w8, w8, w9
	add	w1, w21, w8
	bl	_writel
	add	w21, w21, #4
	subs	w19, w19, #1
	b.ne	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	neg	w27, w8
	mov	w22, #2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x20]
	add	w8, w28, w8
	add	w1, w8, #4
	mov	x0, x23
	bl	_writel
	ldr	w8, [x20]
	add	w8, w28, w8
	add	w1, w8, #8
	mov	w0, #0
	bl	_writel
	ldr	w8, [x20]
	add	w8, w28, w8
	add	w1, w8, #12
	mov	w0, #0
	bl	_writel
	add	w22, w22, #1
	add	w8, w27, w22
	cmp	w8, #1
	b.eq	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w22, #1
	add	w21, w27, w22
	ldr	w9, [x24]
	ldr	w10, [x25]
	madd	w28, w10, w8, w9
	ldr	w0, [x26]
	bl	_EIP197_CS_RC_NEXT
	mov	x23, x0
	ldr	w0, [x26]
	bl	_EIP197_CS_RC_PREV
	orr	w0, w0, w23
	ldr	w8, [x20]
	add	w1, w8, w28
	bl	_writel
	mov	x0, x22
	bl	_EIP197_CS_RC_NEXT
	mov	x23, x0
	sub	w0, w22, #2
	bl	_EIP197_CS_RC_PREV
	orr	w23, w0, w23
	cbnz	w21, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x26]
	bl	_EIP197_CS_RC_NEXT
	orr	w23, w0, w23
	b	LBB0_7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIP197_CLASSIFICATION_RAMS,4,2 ; @EIP197_CLASSIFICATION_RAMS
	.comm	_EIP197_CS_RC_SIZE,4,2          ; @EIP197_CS_RC_SIZE
	.comm	_EIP197_RC_NULL,4,2             ; @EIP197_RC_NULL
	.no_dead_strip	_eip197_trc_cache_clear
.subsections_via_symbols
