	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function print_remainder
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x43e0000000000000              ## double 9.2233720368547758E+18
LCPI0_3:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_print_remainder:                       ## @print_remainder
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$19, %edx
	movl	$19, %ebx
	cmovll	%edx, %ebx
	xorl	%eax, %eax
	cmpl	%esi, %ebx
	jg	LBB0_13
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%edx, %edx
	jle	LBB0_2
## %bb.3:
	cmpl	$2, %ebx
	movl	$1, %edx
	cmovgel	%ebx, %edx
	leal	-1(%rdx), %eax
	movl	%edx, %ecx
	andl	$7, %ecx
	cmpl	$7, %eax
	jae	LBB0_5
## %bb.4:
	movl	$1, %eax
	jmp	LBB0_7
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_5:
	andl	$2147483640, %edx               ## imm = 0x7FFFFFF8
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	imulq	$100000000, %rax, %rax          ## imm = 0x5F5E100
	addl	$-8, %edx
	jne	LBB0_6
LBB0_7:
	testl	%ecx, %ecx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rax, %rax
	leaq	(%rax,%rax,4), %rax
	decl	%ecx
	jne	LBB0_8
LBB0_9:
	movq	%rax, %xmm2
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [1127219200,1160773632,0,0]
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	movapd	LCPI0_1(%rip), %xmm4            ## xmm4 = [4.503599627370496E+15,1.9342813113834067E+25]
	subpd	%xmm4, %xmm2
	movapd	%xmm2, %xmm1
	unpckhpd	%xmm2, %xmm1                    ## xmm1 = xmm1[1],xmm2[1]
	addsd	%xmm2, %xmm1
	mulsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %rdx
	movq	%rdx, %rsi
	sarq	$63, %rsi
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	movapd	%xmm1, %xmm2
	subsd	%xmm0, %xmm2
	cvttsd2si	%xmm2, %rcx
	andq	%rsi, %rcx
	orq	%rdx, %rcx
	movq	%rcx, %xmm2
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	subpd	%xmm4, %xmm2
	movapd	%xmm2, %xmm3
	unpckhpd	%xmm2, %xmm3                    ## xmm3 = xmm3[1],xmm2[1]
	addsd	%xmm2, %xmm3
	subsd	%xmm3, %xmm1
	mulsd	LCPI0_3(%rip), %xmm1
	cvttsd2si	%xmm1, %rdx
	movq	%rdx, %rsi
	subsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %rdi
	sarq	$63, %rsi
	andq	%rsi, %rdi
	orq	%rdx, %rdi
	leaq	1(%rcx), %rsi
	leaq	-1(%rax), %rdx
	cmpq	%rax, %rsi
	cmovbq	%rsi, %rdx
	cmpq	$5, %rdi
	cmovbq	%rcx, %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_print_dec_ll
                                        ## kill: def $eax killed $eax def $rax
	cmpl	%ebx, %eax
	jge	LBB0_11
## %bb.10:
	movslq	%eax, %rdi
	addq	%r14, %rdi
	notl	%eax
	addl	%ebx, %eax
	incq	%rax
	movl	$48, %esi
	movq	%rax, %rdx
	callq	_memset
	movl	%ebx, %eax
LBB0_11:
	cmpl	%r15d, %eax
	jge	LBB0_13
## %bb.12:
	movslq	%eax, %rcx
	incl	%eax
	movb	$46, (%r14,%rcx)
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_print_remainder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_remainder
_print_remainder:                       ; @print_remainder
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w8, #19
	cmp	w2, #19
	csel	w21, w2, w8, lt
	cmp	w21, w1
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.3:
	cmp	w21, #1
	csinc	w9, w21, wzr, gt
	mov	w8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #1
	subs	w9, w9, #1
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w8, #1
LBB0_6:
	ucvtf	d1, x8
	fmul	d0, d1, d0
	fcvtzu	x9, d0
	fcvtzu	d1, d0
	ucvtf	d1, d1
	fsub	d0, d0, d1
	fmov	d1, #10.00000000
	fmul	d0, d0, d1
	fcvtzu	x10, d0
	add	x11, x9, #1
	sub	x12, x8, #1
	cmp	x11, x8
	csinc	x8, x12, x9, hs
	cmp	x10, #4
	csel	x2, x8, x9, hi
	mov	x0, x19
	mov	x1, x20
	bl	_print_dec_ll
	cmp	w0, w21
	b.ge	LBB0_8
; %bb.7:
	add	x8, x19, w0, sxtw
	mvn	w9, w0
	add	w9, w21, w9
	add	x2, x9, #1
	mov	x0, x8
	mov	w1, #48
	bl	_memset
	mov	x0, x21
LBB0_8:
	cmp	w0, w20
	b.ge	LBB0_10
; %bb.9:
	mov	w8, #46
	strb	w8, [x19, w0, sxtw]
	add	w0, w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_print_remainder
.subsections_via_symbols
