	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	negl	%ecx
	movq	_reg_ptr@GOTPCREL(%rip), %r14
	movl	%ecx, (%r14)
	movq	_MAX_REGISTER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	cmpl	%r12d, (%r14)
	jbe	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_2:
	movq	_NUM_REGS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_10
## %bb.3:
	movl	$-1, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %esi
	addq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	%ebx, %edi
	callq	_supply_register
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_register_addr
	cmpl	%r12d, %eax
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	cmovsl	%ebx, %r13d
	jmp	LBB0_7
LBB0_8:
	testl	%r13d, %r13d
	js	LBB0_10
## %bb.9:
	movl	%r13d, %edi
	callq	_REGISTER_NAME
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_error
LBB0_10:
	movq	_ZERO_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_supply_register
	movq	_DEPRECATED_FP_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_supply_register
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_reg_ptr,4,2                    ## @reg_ptr
	.comm	_MAX_REGISTER_SIZE,4,2          ## @MAX_REGISTER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Old mips core file can't be processed on this machine."

	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
L_.str.1:                               ## @.str.1
	.asciz	"Register %s not found in core file."

	.comm	_ZERO_REGNUM,4,2                ## @ZERO_REGNUM
	.comm	_DEPRECATED_FP_REGNUM,4,2       ## @DEPRECATED_FP_REGNUM
	.comm	_KERNEL_U_ADDR,8,3              ## @KERNEL_U_ADDR
	.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	neg	w8, w3
Lloh3:
	adrp	x24, _reg_ptr@GOTPAGE
Lloh4:
	ldr	x24, [x24, _reg_ptr@GOTPAGEOFF]
	str	w8, [x24]
Lloh5:
	adrp	x8, _MAX_REGISTER_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_REGISTER_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x9, x2
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	mov	x0, x19
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	ldr	w8, [x24]
	cmp	w8, w20
	b.ls	LBB0_2
; %bb.1:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh12:
	adrp	x25, _NUM_REGS@GOTPAGE
Lloh13:
	ldr	x25, [x25, _NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	w23, #0
	mov	w22, #-1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, x21, w0, uxtw
	mov	x0, x23
	bl	_supply_register
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
	ldr	w8, [x25]
	cmp	w23, w8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x23
	bl	_register_addr
	cmp	w0, w20
	b.lo	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, #0
	csel	w22, w23, w22, lt
	b	LBB0_5
LBB0_8:
	tbnz	w22, #31, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_REGISTER_NAME
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	add	sp, sp, #16
LBB0_10:
Lloh16:
	adrp	x8, _ZERO_REGNUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZERO_REGNUM@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_supply_register
Lloh19:
	adrp	x8, _DEPRECATED_FP_REGNUM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DEPRECATED_FP_REGNUM@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_supply_register
	ldur	x8, [x29, #-72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_reg_ptr,4,2                    ; @reg_ptr
	.comm	_MAX_REGISTER_SIZE,4,2          ; @MAX_REGISTER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Old mips core file can't be processed on this machine."

	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
l_.str.1:                               ; @.str.1
	.asciz	"Register %s not found in core file."

	.comm	_ZERO_REGNUM,4,2                ; @ZERO_REGNUM
	.comm	_DEPRECATED_FP_REGNUM,4,2       ; @DEPRECATED_FP_REGNUM
	.comm	_KERNEL_U_ADDR,8,3              ; @KERNEL_U_ADDR
	.no_dead_strip	_fetch_core_registers
.subsections_via_symbols
