	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uda1380_write_reg_cache
_uda1380_write_reg_cache:               ## @uda1380_write_reg_cache
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_UDA1380_CACHEREGNUM@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_5
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	(%rdi), %r15
	cmpl	$16, %esi
	jl	LBB0_4
## %bb.2:
	movl	%ebx, %eax
	cmpl	%r14d, (%r15,%rax,4)
	je	LBB0_4
## %bb.3:
	leal	-16(%rbx), %edi
	movq	_uda1380_cache_dirty@GOTPCREL(%rip), %rsi
	callq	_set_bit
LBB0_4:
	movslq	%ebx, %rax
	movl	%r14d, (%r15,%rax,4)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDA1380_CACHEREGNUM,4,2        ## @UDA1380_CACHEREGNUM
	.comm	_uda1380_cache_dirty,4,2        ## @uda1380_cache_dirty
	.no_dead_strip	_uda1380_write_reg_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uda1380_write_reg_cache
_uda1380_write_reg_cache:               ; @uda1380_write_reg_cache
	.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
Lloh0:
	adrp	x8, _UDA1380_CACHEREGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UDA1380_CACHEREGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	ldr	x21, [x0]
	subs	w0, w1, #16
	b.lt	LBB0_4
; %bb.2:
	ldr	w8, [x21, w20, uxtw #2]
	cmp	w8, w19
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, _uda1380_cache_dirty@GOTPAGE
Lloh4:
	ldr	x1, [x1, _uda1380_cache_dirty@GOTPAGEOFF]
	bl	_set_bit
LBB0_4:
	str	w19, [x21, w20, sxtw #2]
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UDA1380_CACHEREGNUM,4,2        ; @UDA1380_CACHEREGNUM
	.comm	_uda1380_cache_dirty,4,2        ; @uda1380_cache_dirty
	.no_dead_strip	_uda1380_write_reg_cache
.subsections_via_symbols
