	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_core_registers
_fetch_core_registers:                  ## @fetch_core_registers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%esi, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	negl	%r12d
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%eax, %eax
	cmpl	%esi, %r12d
	jbe	LBB0_2
## %bb.1:
	movq	_KERNEL_U_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	testl	%r13d, %r13d
	jle	LBB0_9
## %bb.3:
	subl	%eax, %r12d
	movl	$-1, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %esi
	addq	-48(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	%ebx, %edi
	callq	_supply_register
	movl	%r15d, %edi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	%edi, %r15d
	cmpl	%ebx, %r13d
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_CORE_REGISTER_ADDR
	cmpl	%r14d, %eax
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	testl	%r15d, %r15d
	js	LBB0_7
	jmp	LBB0_6
LBB0_8:
	testl	%edi, %edi
	js	LBB0_9
## %bb.10:
	callq	_REGISTER_NAME
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_KERNEL_U_ADDR,4,2              ## @KERNEL_U_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Register %s not found in core file."

	.no_dead_strip	_fetch_core_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_core_registers
_fetch_core_registers:                  ; @fetch_core_registers
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_REGS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _KERNEL_U_ADDR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KERNEL_U_ADDR@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
Lloh5:
	ldr	w9, [x9]
	neg	w8, w3
	cmp	w8, w1
	csel	w9, w9, wzr, hi
	cmp	w23, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
	sub	w22, w8, w9
	mov	w24, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x20, w8, uxtw
	mov	x0, x21
	bl	_supply_register
	mov	x0, x24
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	mov	x24, x0
	cmp	w23, w21
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_CORE_REGISTER_ADDR
	mov	x8, x0
	cmp	w0, w19
	b.lo	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	tbnz	w24, #31, LBB0_3
	b	LBB0_2
LBB0_6:
	tbnz	w0, #31, LBB0_8
; %bb.7:
	bl	_REGISTER_NAME
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_error
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_KERNEL_U_ADDR,4,2              ; @KERNEL_U_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Register %s not found in core file."

	.no_dead_strip	_fetch_core_registers
.subsections_via_symbols
