	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_elf_core_registers
_fetch_elf_core_registers:              ## @fetch_elf_core_registers
	.cfi_startproc
## %bb.0:
	cmpl	$4, %esi
	jae	LBB0_1
## %bb.5:
	leaq	L_.str(%rip), %rdi
	jmp	_error                          ## TAILCALL
LBB0_1:
	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	_NUM_REGS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_mappings@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movslq	(%rax,%rbx,4), %rsi
	addq	%r14, %rsi
	movl	%ebx, %edi
	callq	_supply_register
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Core file register section too small (%u bytes)."

	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_mappings,8,3                   ## @mappings
	.no_dead_strip	_fetch_elf_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_elf_core_registers
_fetch_elf_core_registers:              ; @fetch_elf_core_registers
	.cfi_startproc
; %bb.0:
	cmp	w1, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	_error
LBB0_2:
	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
Lloh2:
	adrp	x21, _NUM_REGS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x19, x0
	mov	x20, #0
Lloh4:
	adrp	x22, _mappings@GOTPAGE
Lloh5:
	ldr	x22, [x22, _mappings@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldrsw	x8, [x8, x20, lsl #2]
	add	x1, x19, x8
	mov	x0, x20
	bl	_supply_register
	add	x20, x20, #1
	ldrsw	x8, [x21]
	cmp	x20, x8
	b.lt	LBB0_4
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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Core file register section too small (%u bytes)."

	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_mappings,8,3                   ; @mappings
	.no_dead_strip	_fetch_elf_core_registers
.subsections_via_symbols
