	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl4030_read_reg_cache
_twl4030_read_reg_cache:                ## @twl4030_read_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
	movq	_TWL4030_CACHEREGNUM@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWL4030_CACHEREGNUM,4,2        ## @TWL4030_CACHEREGNUM
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_twl4030_read_reg_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl4030_read_reg_cache
_twl4030_read_reg_cache:                ; @twl4030_read_reg_cache
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TWL4030_CACHEREGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWL4030_CACHEREGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	w0, [x8, w1, uxtw #2]
	ret
LBB0_2:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TWL4030_CACHEREGNUM,4,2        ; @TWL4030_CACHEREGNUM
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_twl4030_read_reg_cache
.subsections_via_symbols
