	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i386_register_name             ## -- Begin function i386_register_name
	.p2align	4, 0x90
_i386_register_name:                    ## @i386_register_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_current_gdbarch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_i386_mmx_regnum_p
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_i386_mmx_names@GOTPCREL(%rip), %rcx
	movq	_I387_MM0_REGNUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	movslq	%ebx, %rax
	subq	%rdx, %rax
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.3:
	movq	_i386_num_register_names@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_6
## %bb.4:
	movq	_i386_register_names@GOTPCREL(%rip), %rcx
	movl	%ebx, %eax
LBB0_5:
	shlq	$3, %rax
	addq	(%rcx), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_i386_mmx_names,8,3             ## @i386_mmx_names
	.comm	_I387_MM0_REGNUM,4,2            ## @I387_MM0_REGNUM
	.comm	_i386_num_register_names,4,2    ## @i386_num_register_names
	.comm	_i386_register_names,8,3        ## @i386_register_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i386_register_name             ; -- Begin function i386_register_name
	.p2align	2
_i386_register_name:                    ; @i386_register_name
	.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	x19, x0
Lloh0:
	adrp	x8, _current_gdbarch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_i386_mmx_regnum_p
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _i386_mmx_names@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i386_mmx_names@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _I387_MM0_REGNUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I387_MM0_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w9, w19, w9
	add	x8, x8, w9, sxtw #3
	b	LBB0_5
LBB0_2:
	tbnz	w19, #31, LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _i386_num_register_names@GOTPAGE
Lloh10:
	ldr	x8, [x8, _i386_num_register_names@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _i386_register_names@GOTPAGE
Lloh13:
	ldr	x8, [x8, _i386_register_names@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x8, x8, w19, uxtw #3
LBB0_5:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_i386_mmx_names,8,3             ; @i386_mmx_names
	.comm	_I387_MM0_REGNUM,4,2            ; @I387_MM0_REGNUM
	.comm	_i386_num_register_names,4,2    ; @i386_num_register_names
	.comm	_i386_register_names,8,3        ; @i386_register_names
.subsections_via_symbols
