	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_reg
_format_reg:                            ## @format_reg
	.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
	movq	%rdx, %rbx
	movl	%esi, %edx
	movq	%rdi, %rax
	movq	%rbx, %rdi
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	_REGISTER_PREFIX_CHAR@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	leaq	1(%rbx), %rdi
	movb	%cl, (%rbx)
LBB0_2:
	cmpl	$14, %edx
	je	LBB0_6
## %bb.3:
	cmpl	$15, %edx
	jne	LBB0_7
## %bb.4:
	movl	(%rax), %eax
	movq	_cris_dis_v32@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	callq	_sprintf
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	callq	_strcpy
LBB0_10:
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	addq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REGISTER_PREFIX_CHAR,4,2       ## @REGISTER_PREFIX_CHAR
	.comm	_cris_dis_v32,4,2               ## @cris_dis_v32
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acr"

L_.str.1:                               ## @.str.1
	.asciz	"pc"

L_.str.2:                               ## @.str.2
	.asciz	"sp"

L_.str.3:                               ## @.str.3
	.asciz	"r%d"

	.no_dead_strip	_format_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_reg
_format_reg:                            ; @format_reg
	.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, x2
	mov	x2, x1
	mov	x8, x0
	mov	x0, x19
	cbz	x3, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _REGISTER_PREFIX_CHAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REGISTER_PREFIX_CHAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	x0, x19
	strb	w9, [x0], #1
LBB0_2:
	cmp	w2, #14
	b.eq	LBB0_6
; %bb.3:
	cmp	w2, #15
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _cris_dis_v32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cris_dis_v32@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.5:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	bl	_strcpy
LBB0_10:
	mov	x0, x19
	bl	_strlen
	add	x0, x19, w0, sxtw
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_REGISTER_PREFIX_CHAR,4,2       ; @REGISTER_PREFIX_CHAR
	.comm	_cris_dis_v32,4,2               ; @cris_dis_v32
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acr"

l_.str.1:                               ; @.str.1
	.asciz	"pc"

l_.str.2:                               ; @.str.2
	.asciz	"sp"

l_.str.3:                               ; @.str.3
	.asciz	"r%d"

	.no_dead_strip	_format_reg
.subsections_via_symbols
