	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regcache_cooked_read           ## -- Begin function regcache_cooked_read
	.p2align	4, 0x90
_regcache_cooked_read:                  ## @regcache_cooked_read
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_gdb_assert
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	setg	%dil
	callq	_gdb_assert
	movq	(%r15), %rax
	cmpl	%ebx, 4(%rax)
	jle	LBB0_1
## %bb.5:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regcache_raw_read              ## TAILCALL
LBB0_1:
	cmpq	$0, 16(%r15)
	je	LBB0_4
## %bb.2:
	cmpl	%ebx, (%rax)
	jle	LBB0_4
## %bb.3:
	movq	8(%r15), %rcx
	movslq	%ebx, %r12
	cmpq	$0, (%rcx,%r12,8)
	je	LBB0_4
## %bb.6:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_register_buffer
	movq	(%r15), %rcx
	movq	16(%rcx), %rcx
	movl	(%rcx,%r12,4), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_4:
	movl	8(%rax), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdbarch_pseudo_register_read   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regcache_cooked_read           ; -- Begin function regcache_cooked_read
	.p2align	2
_regcache_cooked_read:                  ; @regcache_cooked_read
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mvn	w8, w1
	lsr	w0, w8, #31
	bl	_gdb_assert
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, gt
	bl	_gdb_assert
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	cmp	w9, w21
	b.le	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	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
	b	_regcache_raw_read
LBB0_2:
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	w9, [x8]
	cmp	w9, w21
	b.le	LBB0_6
; %bb.4:
	ldr	x9, [x20, #8]
	ldr	x9, [x9, w21, sxtw #3]
	cbz	x9, LBB0_6
; %bb.5:
	sxtw	x22, w21
	mov	x0, x20
	mov	x1, x21
	bl	_register_buffer
	mov	x1, x0
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x19
	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
	b	_memcpy
LBB0_6:
	ldr	w0, [x8, #8]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	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
	b	_gdbarch_pseudo_register_read
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
