	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_sup_reg
_format_sup_reg:                        ## @format_sup_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	%rsi, %rbx
	movl	%edi, %eax
	movq	%rsi, %rdi
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_REGISTER_PREFIX_CHAR@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	leaq	1(%rbx), %rdi
	movb	%cl, (%rbx)
LBB0_2:
	movq	_cris_support_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.3:
	cmpl	%eax, 8(%rcx)
	je	LBB0_7
## %bb.4:
	addq	$24, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	16(%rcx), %rdx
	cmpl	%eax, (%rcx)
	movq	%rdx, %rcx
	jne	LBB0_5
LBB0_7:
	callq	_strcpy
	jmp	LBB0_9
LBB0_8:
	movups	L_.str.1(%rip), %xmm0
	movups	%xmm0, (%rdi)
	movl	$4674882, 15(%rdi)              ## imm = 0x475542
LBB0_9:
	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_support_regs,8,3          ## @cris_support_regs
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"format_sup_reg-BUG"

	.no_dead_strip	_format_sup_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_sup_reg
_format_sup_reg:                        ; @format_sup_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, x1
	mov	x8, x0
	mov	x0, x1
	cbz	x2, 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:
Lloh3:
	adrp	x9, _cris_support_regs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cris_support_regs@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x1, [x9]
	cbz	x1, LBB0_8
; %bb.3:
	ldr	w10, [x9, #8]
	cmp	w10, w8
	b.eq	LBB0_7
; %bb.4:
	add	x9, x9, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x1, [x9, #-8]
	cbz	x1, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x9], #16
	cmp	w10, w8
	b.ne	LBB0_5
LBB0_7:
	bl	_strcpy
	b	LBB0_9
LBB0_8:
	mov	w8, #21826
	movk	w8, #71, lsl #16
	stur	w8, [x0, #15]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	ldr	q0, [x8]
	str	q0, [x0]
LBB0_9:
	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 AdrpAddLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REGISTER_PREFIX_CHAR,4,2       ; @REGISTER_PREFIX_CHAR
	.comm	_cris_support_regs,8,3          ; @cris_support_regs
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"format_sup_reg-BUG"

	.no_dead_strip	_format_sup_reg
.subsections_via_symbols
