	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csr1212_read_keyval
_csr1212_read_keyval:                   ## @csr1212_read_keyval
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	$1, %edi
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	testq	%r13, %r13
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	setle	%dil
LBB0_3:
	callq	_BUG_ON
	movq	24(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.4:
	movl	(%r13), %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movl	%eax, %r12d
	subl	%ecx, %r12d
	jl	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	4(%rbx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_7
## %bb.18:
	movq	16(%rbx), %r14
	testq	%r14, %r14
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_27
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r14), %r12d
	jl	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	4(%r14), %eax
	cmpl	%eax, %r12d
	jl	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	16(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_19
LBB0_27:
	movq	24(%rbx), %r13
	movl	$24, %edi
	callq	_CSR1212_MALLOC
	testq	%rax, %rax
	je	LBB0_14
## %bb.28:
	movq	%rax, %r14
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	subl	(%r15), %eax
	andl	%r12d, %eax
	movl	%eax, (%r14)
	movl	%eax, 4(%r14)
	movq	%r13, 8(%r14)
	movq	16(%r13), %rax
	movq	%rax, 16(%r14)
	movq	%r14, 16(%r13)
	movq	%r14, 24(%rbx)
	jmp	LBB0_29
LBB0_8:
	movq	24(%r13), %rax
	movq	_CSR1212_KV_ID_EXTENDED_ROM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.11:
	movq	8(%r15), %rax
	movq	_CSR1212_REGISTER_SPACE_BASE@GOTPCREL(%rip), %rcx
	movl	(%r13), %esi
	addl	(%rcx), %esi
	movl	4(%r15), %ecx
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_13:
	movl	-52(%rbp), %edi
	callq	_be32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	sarl	$16, %eax
	movl	%eax, 8(%r13)
	leal	1(%rax), %edi
	callq	_quads_to_bytes
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r15), %esi
	addl	%esi, %eax
	decl	%eax
	negl	%esi
	andl	%eax, %esi
	movl	(%r13), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_csr1212_rom_cache_malloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	addq	$4, %rax
	movq	%rax, 16(%r13)
	movq	16(%r15), %rax
	movq	%rbx, 32(%rax)
	movq	%rax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	%rbx, 16(%r15)
	movl	$24, %edi
	callq	_CSR1212_MALLOC
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.16:
	movabsq	$17179869184, %rcx              ## imm = 0x400000000
	movq	%rcx, (%rax)
	movq	%rax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movl	-52(%rbp), %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_csr1212_parse_keyval
	jmp	LBB0_17
LBB0_20:
	movl	$24, %edi
	callq	_CSR1212_MALLOC
	testq	%rax, %rax
	je	LBB0_14
## %bb.21:
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	subl	(%r15), %ecx
	andl	%r12d, %ecx
	movl	%ecx, (%rax)
	movl	%ecx, 4(%rax)
	movq	%r14, 16(%rax)
	movq	8(%r14), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, 8(%r14)
	xorl	%r13d, %r13d
	movq	%rax, %r14
	jmp	LBB0_30
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	8(%rbx), %r13
	movl	%r12d, %edi
	callq	_bytes_to_quads
	leaq	(,%rax,4), %r15
	addq	%r13, %r15
	movl	(%r13,%rax,4), %edi
	movq	%r15, %r13
	callq	_be16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_quads_to_bytes
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_30
LBB0_25:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_29:
	xorl	%r13d, %r13d
LBB0_30:
	movl	4(%r14), %eax
	testq	%r13, %r13
	sete	%r15b
	je	LBB0_32
## %bb.31:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%r12d, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_48
LBB0_32:
	leaq	4(%r14), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	subl	(%r13), %edi
	andl	%eax, %edi
	callq	_bytes_to_quads
	movl	(%rbx), %ecx
	movq	_CSR1212_CSR_ARCH_REG_SPACE_BASE@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	addl	4(%r14), %ecx
	xorl	%esi, %esi
	subl	(%r13), %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdx
	andl	%ecx, %esi
	movq	8(%r13), %rax
	movl	4(%r13), %ecx
	movq	%r13, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	jne	LBB0_12
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	(%r13), %eax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %ecx
	leal	-1(%rax), %edx
	andl	%ecx, %edx
	subl	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, (%rsi)
	testb	$1, %r15b
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpl	%r12d, %eax
	jle	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%rbx), %r13
	movl	%r12d, %edi
	movq	%rsi, %r15
	callq	_bytes_to_quads
	leaq	(,%rax,4), %rcx
	addq	%r13, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	(%r13,%rax,4), %edi
	callq	_be16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_quads_to_bytes
	movq	%r15, %rsi
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=1
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_38:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	addl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	subl	(%rbx), %eax
	cmpl	4(%rbx), %eax
	jg	LBB0_12
## %bb.39:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	16(%r14), %r13
	testq	%r13, %r13
	je	LBB0_46
## %bb.40:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	(%rsi), %eax
	cmpl	(%r13), %eax
	jl	LBB0_46
## %bb.41:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	(%r14), %eax
	movl	%eax, (%r13)
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, 16(%rax)
LBB0_43:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	%rax, 8(%r13)
	cmpq	%r14, 16(%rbx)
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, 16(%rbx)
LBB0_45:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	%r14, %rdi
	callq	_CSR1212_FREE
	movq	%r13, %r14
LBB0_46:                                ##   in Loop: Header=BB0_33 Depth=1
	leaq	4(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	sete	%r15b
	je	LBB0_33
## %bb.47:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%r12d, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_33
LBB0_48:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_csr1212_parse_keyval           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR1212_KV_ID_EXTENDED_ROM,8,3 ## @CSR1212_KV_ID_EXTENDED_ROM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CSR1212_REGISTER_SPACE_BASE,4,2 ## @CSR1212_REGISTER_SPACE_BASE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CSR1212_CSR_ARCH_REG_SPACE_BASE,4,2 ## @CSR1212_CSR_ARCH_REG_SPACE_BASE
	.no_dead_strip	_csr1212_read_keyval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function csr1212_read_keyval
lCPI0_0:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_csr1212_read_keyval:                   ; @csr1212_read_keyval
	.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, x1
	mov	x20, x0
	mov	w0, #1
	cbz	x20, LBB0_3
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	cset	w0, lt
LBB0_3:
	bl	_BUG_ON
	ldr	x21, [x20, #24]
	cbz	x21, LBB0_15
; %bb.4:
	ldr	w8, [x19]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x21, #32]
	cbz	x21, LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	subs	w22, w8, w9
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x21, #4]
	add	w9, w10, w9
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.8:
	ldr	x23, [x21, #16]
	cbz	x23, LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	cmp	w22, w8
	b.lt	LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x23, #4]
	cmp	w22, w8
	b.lt	LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w22, w8
	b.eq	LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_9
LBB0_13:
	ldr	x26, [x21, #24]
	mov	w0, #24
	bl	_CSR1212_MALLOC
	cbz	x0, LBB0_24
; %bb.14:
	mov	x23, x0
	mov	w24, #0
	mov	x25, #0
	ldr	w8, [x20]
	neg	w8, w8
	and	w8, w22, w8
	stp	w8, w8, [x0]
	ldr	x8, [x26, #16]
	stp	x26, x8, [x0, #8]
	str	x0, [x26, #16]
	str	x0, [x21, #24]
	b	LBB0_30
LBB0_15:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _CSR1212_KV_ID_EXTENDED_ROM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CSR1212_KV_ID_EXTENDED_ROM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.16:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CSR1212_REGISTER_SPACE_BASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CSR1212_REGISTER_SPACE_BASE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x19]
	add	w1, w10, w9
	ldr	w3, [x20, #4]
	add	x2, sp, #12
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_19
LBB0_17:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_25
LBB0_18:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_25
LBB0_19:
	ldr	w0, [sp, #12]
	bl	_be32_to_cpu
	asr	w8, w0, #16
	str	w8, [x19, #8]
	add	w0, w8, #1
	bl	_quads_to_bytes
	ldr	w8, [x20]
	add	w9, w0, w8
	sub	w9, w9, #1
	neg	w8, w8
	and	w1, w9, w8
	ldr	w0, [x19]
	bl	_csr1212_rom_cache_malloc
	cbz	x0, LBB0_24
; %bb.20:
	mov	x21, x0
	ldr	x8, [x0, #8]
	add	x8, x8, #4
	str	x8, [x19, #16]
	ldr	x8, [x20, #16]
	str	x0, [x8, #32]
	stp	xzr, x8, [x0, #32]
	str	x0, [x20, #16]
	mov	w0, #24
	bl	_CSR1212_MALLOC
	str	x0, [x21, #16]
	cbz	x0, LBB0_24
; %bb.21:
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	str	x0, [x21, #24]
	stp	xzr, xzr, [x0, #8]
	ldr	w8, [sp, #12]
	ldr	x9, [x21, #8]
	str	w8, [x9]
	mov	x0, x19
	mov	x1, x21
	bl	_csr1212_parse_keyval
	b	LBB0_26
LBB0_22:
	mov	w0, #24
	bl	_CSR1212_MALLOC
	cbz	x0, LBB0_24
; %bb.23:
	mov	w24, #0
	mov	x25, #0
	ldr	w8, [x20]
	neg	w8, w8
	and	w8, w22, w8
	stp	w8, w8, [x0]
	ldr	x8, [x23, #8]
	stp	x8, x23, [x0, #8]
	str	x0, [x23, #8]
	mov	x23, x0
	b	LBB0_30
LBB0_24:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	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_27:
	ldr	x24, [x21, #8]
	mov	x0, x22
	bl	_bytes_to_quads
	add	x25, x24, x0, lsl #2
	ldr	w0, [x25]
	bl	_be16_to_cpu
	add	w0, w0, #1
	bl	_quads_to_bytes
	mov	x24, x0
	b	LBB0_30
LBB0_28:
	mov	w24, #0
	mov	x25, #0
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x23
	bl	_CSR1212_FREE
	mov	x23, x28
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	cmp	x25, #0
	cset	w28, eq
	mov	x27, x23
	ldr	w8, [x27, #4]!
	cbz	x25, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	add	w9, w24, w22
	cmp	w8, w9
	b.ge	LBB0_44
LBB0_32:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x26, [x21, #8]
	ldr	w9, [x20]
	neg	w9, w9
	and	w0, w8, w9
	bl	_bytes_to_quads
	add	x2, x26, x0, lsl #2
Lloh14:
	adrp	x8, _CSR1212_CSR_ARCH_REG_SPACE_BASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CSR1212_CSR_ARCH_REG_SPACE_BASE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x21]
	ldr	w10, [x23, #4]
	add	w8, w9, w8
	add	w8, w8, w10
	ldp	w9, w3, [x20]
	neg	w9, w9
	and	w1, w8, w9
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	cbnz	x0, LBB0_17
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x27]
	sub	w10, w8, #1
	and	w10, w9, w10
	sub	w8, w8, w10
	add	w8, w8, w9
	str	w8, [x27]
	tbz	w28, #0, LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_30 Depth=1
	cmp	w8, w22
	b.le	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x24, [x21, #8]
	mov	x0, x22
	bl	_bytes_to_quads
	add	x25, x24, x0, lsl #2
	ldr	w0, [x25]
	bl	_be16_to_cpu
	add	w0, w0, #1
	bl	_quads_to_bytes
	mov	x24, x0
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x25, #0
LBB0_37:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x19]
	ldp	w9, w10, [x21]
	add	w8, w8, w24
	sub	w8, w8, w9
	cmp	w8, w10
	b.gt	LBB0_17
; %bb.38:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x28, [x23, #16]
	cbz	x28, LBB0_30
; %bb.39:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x27]
	ldr	w9, [x28]
	cmp	w8, w9
	b.lt	LBB0_30
; %bb.40:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x23]
	str	w8, [x28]
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_30 Depth=1
	str	x28, [x8, #16]
LBB0_42:                                ;   in Loop: Header=BB0_30 Depth=1
	str	x8, [x28, #8]
	ldr	x8, [x21, #16]
	cmp	x8, x23
	b.ne	LBB0_29
; %bb.43:                               ;   in Loop: Header=BB0_30 Depth=1
	str	x28, [x21, #16]
	b	LBB0_29
LBB0_44:
	mov	x0, x19
	mov	x1, x21
	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
	b	_csr1212_parse_keyval
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR1212_KV_ID_EXTENDED_ROM,8,3 ; @CSR1212_KV_ID_EXTENDED_ROM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CSR1212_REGISTER_SPACE_BASE,4,2 ; @CSR1212_REGISTER_SPACE_BASE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CSR1212_CSR_ARCH_REG_SPACE_BASE,4,2 ; @CSR1212_CSR_ARCH_REG_SPACE_BASE
	.no_dead_strip	_csr1212_read_keyval
.subsections_via_symbols
