	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintNum                       ## -- Begin function PrintNum
	.p2align	4, 0x90
_PrintNum:                              ## @PrintNum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r9d
	movq	%rdi, %r12
	movb	16(%rbp), %r10b
	movslq	%edx, %r14
	cmpl	$0, 24(%rbp)
	sete	%al
	shlb	$5, %al
	addb	$55, %al
	movzbl	%al, %r11d
	movl	$48, %r15d
	movq	%rdi, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%r14
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$10, %edx
	movl	%r11d, %edi
	cmovll	%r15d, %edi
	addb	%dl, %dil
	movb	%dil, (%rbx)
	incq	%rbx
	cmpq	%r14, %rsi
	movq	%rax, %rsi
	jb	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rax
	orq	%r14, %rax
	shrq	$32, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_4
LBB0_5:
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:
	movb	$45, (%rbx)
	incq	%rbx
LBB0_7:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	%rbx, %r13
	subq	%r12, %r13
	cmpl	%r8d, %r13d
	movl	%r8d, %r15d
	cmovgl	%r13d, %r15d
	testl	%r14d, %r14d
	movzbl	%r10b, %edx
	movl	$32, %eax
	cmovel	%edx, %eax
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.8:
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:
	cmpb	$48, %al
	jne	LBB0_10
## %bb.12:
	leal	-1(%r15), %r14d
	cmpl	%r8d, %r13d
	jge	LBB0_14
## %bb.13:
	movl	%r13d, %eax
	decl	%eax
	movslq	%eax, %rdi
	addq	%r12, %rdi
	cmpl	%r14d, %r13d
	movl	%r14d, %eax
	cmovgl	%r13d, %eax
	leal	(%r12,%rax), %edx
	subl	%ebx, %edx
	incq	%rdx
	movl	$48, %esi
	callq	_memset
LBB0_14:
	movslq	%r14d, %rax
	movb	$45, (%r12,%rax)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_15
LBB0_10:
	cmpl	%r8d, %r13d
	jge	LBB0_15
## %bb.11:
	movslq	%r13d, %rdi
	addq	%r12, %rdi
	notl	%ebx
	addl	%r15d, %ebx
	addl	%r12d, %ebx
	incq	%rbx
	movzbl	%al, %esi
	movq	%rbx, %rdx
	callq	_memset
LBB0_15:
	testl	%r14d, %r14d
	movl	%r15d, %eax
	cmovnel	%r13d, %eax
	cmpl	$2, %eax
	jl	LBB0_18
## %bb.16:
	movl	%eax, %eax
	addq	$-2, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rcx), %edx
	movzbl	1(%r12,%rax), %ebx
	movb	%bl, (%r12,%rcx)
	movb	%dl, 1(%r12,%rax)
	incq	%rcx
	leaq	-1(%rax), %rdx
	cmpq	%rcx, %rax
	movq	%rdx, %rax
	jg	LBB0_17
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintNum                       ; -- Begin function PrintNum
	.p2align	2
_PrintNum:                              ; @PrintNum
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x5
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
	sxtw	x9, w2
	mov	w8, #55
	mov	w10, #87
	cmp	w7, #0
	csel	w10, w10, w8, eq
	mov	w11, #48
	mov	x8, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	udiv	x12, x1, x9
	msub	w13, w12, w9, w1
	cmp	w13, #10
	csel	w14, w11, w10, lt
	add	w13, w14, w13
	strb	w13, [x8], #1
	cmp	x1, x9
	mov	x1, x12
	b.hs	LBB0_1
; %bb.2:
	cbz	w3, LBB0_4
; %bb.3:
	mov	w9, #45
	strb	w9, [x8], #1
LBB0_4:
	sub	x22, x8, x19
	cmp	w22, w4
	csel	w21, w22, w4, gt
	mov	w9, #32
	cmp	w20, #0
	csel	w1, w9, w6, ne
	cbz	w3, LBB0_10
; %bb.5:
	cbnz	w20, LBB0_10
; %bb.6:
	and	w9, w1, #0xff
	cmp	w9, #48
	b.ne	LBB0_10
; %bb.7:
	sub	w23, w21, #1
	cmp	w22, w4
	b.ge	LBB0_9
; %bb.8:
	sub	w9, w22, #1
	add	x0, x19, w9, sxtw
	cmp	w22, w23
	csel	w9, w22, w23, gt
	add	w9, w9, w19
	sub	w8, w9, w8
	add	x2, x8, #1
	mov	w1, #48
	bl	_memset
LBB0_9:
	mov	w8, #45
	strb	w8, [x19, w23, sxtw]
	b	LBB0_12
LBB0_10:
	cmp	w22, w4
	b.ge	LBB0_12
; %bb.11:
	add	x0, x19, w22, sxtw
	mvn	w8, w8
	add	w9, w21, w19
	add	w8, w9, w8
	add	x2, x8, #1
	bl	_memset
LBB0_12:
	cmp	w20, #0
	csel	w9, w22, w21, ne
	cmp	w9, #2
	b.lt	LBB0_15
; %bb.13:
	mov	x8, #0
	sub	x9, x9, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19, x8]
	ldrb	w11, [x19, x9]
	strb	w11, [x19, x8]
	strb	w10, [x19, x9]
	add	x8, x8, #1
	sub	x9, x9, #1
	cmp	x9, x8
	b.gt	LBB0_14
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
