	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regmap
_regmap:                                ## @regmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_current_gdbarch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gdbarch_tdep
	movl	$0, (%r14)
	cmpl	%ebx, (%rax)
	jg	LBB0_2
## %bb.1:
	cmpl	%ebx, 4(%rax)
	jge	LBB0_22
LBB0_2:
	movq	_FP0_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jg	LBB0_5
## %bb.3:
	movq	_FPLAST_REGNUM@GOTPCREL(%rip), %rdx
	cmpl	%ebx, (%rdx)
	jl	LBB0_5
## %bb.4:
	movl	$1, (%r14)
	subl	(%rcx), %ebx
	movq	_FPR0@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jmp	LBB0_22
LBB0_5:
	movq	_PC_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_7
## %bb.6:
	movq	_IAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_7:
	cmpl	%ebx, 8(%rax)
	jne	LBB0_9
## %bb.8:
	movq	_MSR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_9:
	cmpl	%ebx, 12(%rax)
	jne	LBB0_11
## %bb.10:
	movq	_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_11:
	cmpl	%ebx, 16(%rax)
	jne	LBB0_13
## %bb.12:
	movq	_LR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_13:
	cmpl	%ebx, 20(%rax)
	jne	LBB0_15
## %bb.14:
	movq	_CTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_15:
	cmpl	%ebx, 24(%rax)
	jne	LBB0_17
## %bb.16:
	movq	_XER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_17:
	cmpl	%ebx, 28(%rax)
	jne	LBB0_19
## %bb.18:
	movq	_FPSCR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_19:
	movl	32(%rax), %eax
	movl	$-1, %ecx
	cmpl	%ebx, %eax
	movl	$-1, %ebx
	jne	LBB0_21
## %bb.20:
	movq	_MQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_21:
	testl	%eax, %eax
	cmovnsl	%ecx, %ebx
LBB0_22:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_FP0_REGNUM,4,2                 ## @FP0_REGNUM
	.comm	_FPLAST_REGNUM,4,2              ## @FPLAST_REGNUM
	.comm	_FPR0,4,2                       ## @FPR0
	.comm	_PC_REGNUM,4,2                  ## @PC_REGNUM
	.comm	_IAR,4,2                        ## @IAR
	.comm	_MSR,4,2                        ## @MSR
	.comm	_CR,4,2                         ## @CR
	.comm	_LR,4,2                         ## @LR
	.comm	_CTR,4,2                        ## @CTR
	.comm	_XER,4,2                        ## @XER
	.comm	_FPSCR,4,2                      ## @FPSCR
	.comm	_MQ,4,2                         ## @MQ
	.no_dead_strip	_regmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regmap
_regmap:                                ; @regmap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _current_gdbarch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_gdbarch_tdep
	str	wzr, [x20]
	ldr	w8, [x0]
	cmp	w8, w19
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [x0, #4]
	cmp	w8, w19
	b.ge	LBB0_6
LBB0_2:
Lloh3:
	adrp	x8, _FP0_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FP0_REGNUM@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh5:
	adrp	x10, _FPLAST_REGNUM@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FPLAST_REGNUM@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w9, w19
	ccmp	w10, w19, #8, le
	b.ge	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_7
; %bb.4:
Lloh11:
	adrp	x8, _IAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IAR@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_5:
	mov	w9, #1
	str	w9, [x20]
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _FPR0@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FPR0@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	sub	w8, w19, w8
	add	w19, w8, w9
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x0, #8]
	cmp	w8, w19
	b.ne	LBB0_9
; %bb.8:
Lloh17:
	adrp	x8, _MSR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSR@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_9:
	ldr	w8, [x0, #12]
	cmp	w8, w19
	b.ne	LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _CR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CR@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_11:
	ldr	w8, [x0, #16]
	cmp	w8, w19
	b.ne	LBB0_13
; %bb.12:
Lloh23:
	adrp	x8, _LR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LR@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_13:
	ldr	w8, [x0, #20]
	cmp	w8, w19
	b.ne	LBB0_15
; %bb.14:
Lloh26:
	adrp	x8, _CTR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CTR@GOTPAGEOFF]
Lloh28:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_15:
	ldr	w8, [x0, #24]
	cmp	w8, w19
	b.ne	LBB0_17
; %bb.16:
Lloh29:
	adrp	x8, _XER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XER@GOTPAGEOFF]
Lloh31:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_17:
	ldr	w8, [x0, #28]
	cmp	w8, w19
	b.ne	LBB0_19
; %bb.18:
Lloh32:
	adrp	x8, _FPSCR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FPSCR@GOTPAGEOFF]
Lloh34:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_19:
	ldr	w8, [x0, #32]
	cmp	w8, w19
	mov	w9, #-1
	ccmp	w8, w9, #4, eq
Lloh35:
	adrp	x8, _MQ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MQ@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	csinv	w19, w8, wzr, gt
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_FP0_REGNUM,4,2                 ; @FP0_REGNUM
	.comm	_FPLAST_REGNUM,4,2              ; @FPLAST_REGNUM
	.comm	_FPR0,4,2                       ; @FPR0
	.comm	_PC_REGNUM,4,2                  ; @PC_REGNUM
	.comm	_IAR,4,2                        ; @IAR
	.comm	_MSR,4,2                        ; @MSR
	.comm	_CR,4,2                         ; @CR
	.comm	_LR,4,2                         ; @LR
	.comm	_CTR,4,2                        ; @CTR
	.comm	_XER,4,2                        ; @XER
	.comm	_FPSCR,4,2                      ; @FPSCR
	.comm	_MQ,4,2                         ; @MQ
	.no_dead_strip	_regmap
.subsections_via_symbols
