	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ia64_dwarf_reg_to_regnum
_ia64_dwarf_reg_to_regnum:              ## @ia64_dwarf_reg_to_regnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IA64_GR32_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edi, %eax
	subl	%ecx, %eax
	movq	_IA64_GR127_REGNUM@GOTPCREL(%rip), %rdx
	movq	_V32_REGNUM@GOTPCREL(%rip), %rsi
	addl	(%rsi), %eax
	cmpl	%edi, (%rdx)
	cmovll	%edi, %eax
	cmpl	%ecx, %edi
	cmovll	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IA64_GR32_REGNUM,4,2           ## @IA64_GR32_REGNUM
	.comm	_IA64_GR127_REGNUM,4,2          ## @IA64_GR127_REGNUM
	.comm	_V32_REGNUM,4,2                 ## @V32_REGNUM
	.no_dead_strip	_ia64_dwarf_reg_to_regnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ia64_dwarf_reg_to_regnum
_ia64_dwarf_reg_to_regnum:              ; @ia64_dwarf_reg_to_regnum
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IA64_GR32_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IA64_GR32_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IA64_GR127_REGNUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IA64_GR127_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w0
Lloh6:
	adrp	x9, _V32_REGNUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V32_REGNUM@GOTPAGEOFF]
	ccmp	w0, w8, #8, ge
Lloh8:
	ldr	w9, [x9]
	sub	w8, w0, w8
	add	w8, w8, w9
	csel	w0, w0, w8, lt
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IA64_GR32_REGNUM,4,2           ; @IA64_GR32_REGNUM
	.comm	_IA64_GR127_REGNUM,4,2          ; @IA64_GR127_REGNUM
	.comm	_V32_REGNUM,4,2                 ; @V32_REGNUM
	.no_dead_strip	_ia64_dwarf_reg_to_regnum
.subsections_via_symbols
