Program: frac-calc

x86 assembly:
	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$288, %rsp                      ## imm = 0x120
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	$0, -244(%rbp)
	movl	%edi, -248(%rbp)
	movq	%rsi, -256(%rbp)
	movl	$1, -268(%rbp)
	movq	_opterr@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-248(%rbp), %edi
	movq	-256(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_libmin_getopt
	movl	%eax, -260(%rbp)
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-260(%rbp), %eax
	movl	%eax, -272(%rbp)                ## 4-byte Spill
	subl	$63, %eax
	je	LBB0_6
	jmp	LBB0_18
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-272(%rbp), %eax                ## 4-byte Reload
	subl	$86, %eax
	je	LBB0_4
	jmp	LBB0_19
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-272(%rbp), %eax                ## 4-byte Reload
	subl	$104, %eax
	je	LBB0_3
	jmp	LBB0_20
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-272(%rbp), %eax                ## 4-byte Reload
	subl	$118, %eax
	je	LBB0_5
	jmp	LBB0_7
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_help
	jmp	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_copyr
	jmp	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	_verb(%rip), %eax
	addl	$1, %eax
	movl	%eax, _verb(%rip)
	jmp	LBB0_8
LBB0_6:
	jmp	LBB0_7
LBB0_7:
	movq	-256(%rbp), %rax
	movq	(%rax), %rsi
	movq	-256(%rbp), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	movl	$1, -244(%rbp)
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	jmp	LBB0_1
LBB0_9:
	cmpl	$0, _verb(%rip)
	je	LBB0_11
## %bb.10:
	movl	_verb(%rip), %esi
	leaq	L_.str.3(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
LBB0_11:
	jmp	LBB0_12
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	-80(%rbp), %rdi
	callq	_frac_init
	leaq	-80(%rbp), %rdi
	leaq	-128(%rbp), %rsi
	callq	_divtokens
	leaq	-128(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	callq	_calcula
	movss	%xmm0, -264(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	movss	-264(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	leaq	-128(%rbp), %rdx
	callq	_print
	leaq	L_.str.4(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	-240(%rbp), %rdi
	movq	_minput(%rip), %rdx
	movl	$60, %esi
	callq	_libmin_mgets
	leaq	-240(%rbp), %rdi
	callq	_libmin_atoi
	movl	%eax, -268(%rbp)
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$1, -268(%rbp)
	je	LBB0_12
## %bb.14:
	callq	_libmin_success
	movl	$0, -244(%rbp)
LBB0_15:
	movl	-244(%rbp), %eax
	movl	%eax, -276(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-8(%rbp), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_17
## %bb.16:
	movl	-276(%rbp), %eax                ## 4-byte Reload
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	ud2
	.cfi_endproc
                                        ## -- End function
	.globl	_help                           ## -- Begin function help
	.p2align	4, 0x90
_help:                                  ## @help
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.7(%rip), %rdx
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.8(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.9(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.10(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.11(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.12(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.13(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.14(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.15(%rip), %rdi
	leaq	L_.str.16(%rip), %rsi
	leaq	L_.str.17(%rip), %rdx
	movb	$0, %al
	callq	_libmin_printf
	movl	$1, %edi
	callq	_libmin_fail
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_copyr                          ## -- Begin function copyr
	.p2align	4, 0x90
_copyr:                                 ## @copyr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.18(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.19(%rip), %rdx
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.20(%rip), %rdi
	movl	$2018, %esi                     ## imm = 0x7E2
	leaq	L_.str.16(%rip), %rdx
	leaq	L_.str.17(%rip), %rcx
	movb	$0, %al
	callq	_libmin_printf
	cmpl	$3, _verb(%rip)
	jle	LBB2_2
## %bb.1:
	movl	_verb(%rip), %esi
	leaq	L_.str.21(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
LBB2_2:
	movl	$1, %edi
	callq	_libmin_fail
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_frac_init                      ## -- Begin function frac_init
	.p2align	4, 0x90
_frac_init:                             ## @frac_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	leaq	L_.str.22(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	leaq	L_.str.23(%rip), %rdi
	movb	$0, %al
	callq	_libmin_printf
	movq	-8(%rbp), %rdi
	movq	_minput(%rip), %rdx
	movl	$60, %esi
	callq	_libmin_mgets
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_divtokens                      ## -- Begin function divtokens
	.p2align	4, 0x90
_divtokens:                             ## @divtokens
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$592, %rsp                      ## imm = 0x250
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	%rdi, -568(%rbp)
	movq	%rsi, -576(%rbp)
	movl	$0, -588(%rbp)
	leaq	-80(%rbp), %rdi
	movq	-568(%rbp), %rsi
	callq	_libmin_strcpy
	leaq	-80(%rbp), %rdi
	leaq	L_.str.24(%rip), %rsi
	callq	_libmin_strtok
	movq	%rax, -584(%rbp)
LBB4_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -584(%rbp)
	je	LBB4_3
## %bb.2:                               ##   in Loop: Header=BB4_1 Depth=1
	movq	-584(%rbp), %rcx
	movslq	-588(%rbp), %rax
	movq	%rcx, -560(%rbp,%rax,8)
	xorl	%eax, %eax
	movl	%eax, %edi
	leaq	L_.str.24(%rip), %rsi
	callq	_libmin_strtok
	movq	%rax, -584(%rbp)
	movl	-588(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -588(%rbp)
	jmp	LBB4_1
LBB4_3:
	movl	-588(%rbp), %ecx
	movq	-576(%rbp), %rax
	movl	%ecx, 36(%rax)
	leaq	-560(%rbp), %rdi
	movq	-576(%rbp), %rsi
	movl	-588(%rbp), %edx
	callq	_avaliatokens
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-8(%rbp), %rcx
	cmpq	%rcx, %rax
	jne	LBB4_5
## %bb.4:
	addq	$592, %rsp                      ## imm = 0x250
	popq	%rbp
	retq
LBB4_5:
	callq	___stack_chk_fail
	ud2
	.cfi_endproc
                                        ## -- End function
	.globl	_calcula                        ## -- Begin function calcula
	.p2align	4, 0x90
_calcula:                               ## @calcula
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movl	$0, -20(%rbp)
	movq	-8(%rbp), %rax
	movl	4(%rax), %ecx
	movl	12(%rax), %eax
	imull	%eax, %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	movq	-8(%rbp), %rax
	movl	40(%rax), %eax
	decl	%eax
	movl	%eax, %ecx
	movq	%rcx, -40(%rbp)                 ## 8-byte Spill
	subl	$3, %eax
	ja	LBB5_5
## %bb.6:
	movq	-40(%rbp), %rax                 ## 8-byte Reload
	leaq	LJTI5_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB5_1:
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	movq	-8(%rbp), %rcx
	cltd
	idivl	4(%rcx)
	movl	%eax, %ecx
	movq	-8(%rbp), %rax
	imull	(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	movq	-8(%rbp), %rsi
	cltd
	idivl	12(%rsi)
	movq	-8(%rbp), %rdx
	imull	8(%rdx), %eax
	addl	%eax, %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	-16(%rbp), %rax
	cvtsi2ssl	4(%rax), %xmm0
	movss	%xmm0, -24(%rbp)
	movq	-16(%rbp), %rax
	cvtsi2ssl	(%rax), %xmm0
	movss	%xmm0, -28(%rbp)
	movss	-24(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	divss	-28(%rbp), %xmm0
	movss	%xmm0, -20(%rbp)
	movq	-16(%rbp), %rdi
	callq	_simplifica
	jmp	LBB5_5
LBB5_2:
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	movq	-8(%rbp), %rcx
	cltd
	idivl	4(%rcx)
	movl	%eax, %ecx
	movq	-8(%rbp), %rax
	imull	(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	movq	-8(%rbp), %rsi
	cltd
	idivl	12(%rsi)
	movq	-8(%rbp), %rdx
	imull	8(%rdx), %eax
	subl	%eax, %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	-16(%rbp), %rax
	cvtsi2ssl	4(%rax), %xmm0
	movss	%xmm0, -24(%rbp)
	movq	-16(%rbp), %rax
	cvtsi2ssl	(%rax), %xmm0
	movss	%xmm0, -28(%rbp)
	movss	-24(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	divss	-28(%rbp), %xmm0
	movss	%xmm0, -20(%rbp)
	movq	-16(%rbp), %rdi
	callq	_simplifica
	jmp	LBB5_5
LBB5_3:
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movq	-8(%rbp), %rax
	imull	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	-16(%rbp), %rax
	cvtsi2ssl	4(%rax), %xmm0
	movss	%xmm0, -24(%rbp)
	movq	-16(%rbp), %rax
	cvtsi2ssl	(%rax), %xmm0
	movss	%xmm0, -28(%rbp)
	movss	-24(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	divss	-28(%rbp), %xmm0
	movss	%xmm0, -20(%rbp)
	movq	-16(%rbp), %rdi
	callq	_simplifica
	jmp	LBB5_5
LBB5_4:
	movq	-8(%rbp), %rax
	movl	4(%rax), %ecx
	movq	-8(%rbp), %rax
	imull	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movq	-8(%rbp), %rax
	imull	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	-16(%rbp), %rax
	cvtsi2ssl	4(%rax), %xmm0
	movss	%xmm0, -24(%rbp)
	movq	-16(%rbp), %rax
	cvtsi2ssl	(%rax), %xmm0
	movss	%xmm0, -28(%rbp)
	movss	-24(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	divss	-28(%rbp), %xmm0
	movss	%xmm0, -20(%rbp)
	movq	-16(%rbp), %rdi
	callq	_simplifica
LBB5_5:
	movss	-20(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L5_0_set_1, LBB5_1-LJTI5_0
.set L5_0_set_2, LBB5_2-LJTI5_0
.set L5_0_set_3, LBB5_3-LJTI5_0
.set L5_0_set_4, LBB5_4-LJTI5_0
LJTI5_0:
	.long	L5_0_set_1
	.long	L5_0_set_2
	.long	L5_0_set_3
	.long	L5_0_set_4
	.end_data_region
                                        ## -- End function
	.globl	_print                          ## -- Begin function print
	.p2align	4, 0x90
_print:                                 ## @print
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movss	%xmm0, -36(%rbp)
	movq	%rdx, -48(%rbp)
	movq	-48(%rbp), %rax
	cmpl	$1, 40(%rax)
	jne	LBB6_2
## %bb.1:
	movb	$43, -49(%rbp)
LBB6_2:
	movq	-48(%rbp), %rax
	cmpl	$2, 40(%rax)
	jne	LBB6_4
## %bb.3:
	movb	$45, -49(%rbp)
LBB6_4:
	movq	-48(%rbp), %rax
	cmpl	$3, 40(%rax)
	jne	LBB6_6
## %bb.5:
	movb	$42, -49(%rbp)
LBB6_6:
	movq	-48(%rbp), %rax
	cmpl	$4, 40(%rax)
	jne	LBB6_8
## %bb.7:
	movb	$47, -49(%rbp)
LBB6_8:
	movq	-24(%rbp), %rsi
	movq	-48(%rbp), %rax
	movl	36(%rax), %edx
	movq	-48(%rbp), %rax
	movl	32(%rax), %ecx
	movsbl	-49(%rbp), %r8d
	movq	-48(%rbp), %rax
	movl	28(%rax), %r9d
	movq	-48(%rbp), %rax
	movl	24(%rax), %r14d
	movq	-32(%rbp), %rax
	movl	4(%rax), %ebx
	movq	-32(%rbp), %rax
	movl	(%rax), %r11d
	movq	-32(%rbp), %rax
	movl	12(%rax), %r10d
	movq	-32(%rbp), %rax
	movl	16(%rax), %eax
	movss	-36(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	leaq	L_.str.29(%rip), %rdi
	movl	%r14d, (%rsp)
	movl	%ebx, 8(%rsp)
	movl	%r11d, 16(%rsp)
	movl	%r10d, 24(%rsp)
	movl	%eax, 32(%rsp)
	movb	$1, %al
	callq	_libmin_printf
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_avaliatokens                   ## -- Begin function avaliatokens
	.p2align	4, 0x90
_avaliatokens:                          ## @avaliatokens
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movl	%edx, -20(%rbp)
	movl	$0, -28(%rbp)
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	je	LBB7_4
## %bb.1:
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdi
	leaq	L_.str.26(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	je	LBB7_4
## %bb.2:
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdi
	leaq	L_.str.27(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	je	LBB7_4
## %bb.3:
	movq	-8(%rbp), %rax
	movq	16(%rax), %rdi
	leaq	L_.str.28(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	jne	LBB7_6
LBB7_4:
	cmpl	$4, -20(%rbp)
	jne	LBB7_6
## %bb.5:
	movl	$1, -44(%rbp)
LBB7_6:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	je	LBB7_10
## %bb.7:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.26(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	je	LBB7_10
## %bb.8:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.27(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	je	LBB7_10
## %bb.9:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.28(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	jne	LBB7_12
LBB7_10:
	cmpl	$4, -20(%rbp)
	jne	LBB7_12
## %bb.11:
	movl	$2, -44(%rbp)
LBB7_12:
	movl	$0, -24(%rbp)
LBB7_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB7_23 Depth 2
	movl	-24(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jge	LBB7_27
## %bb.14:                              ##   in Loop: Header=BB7_13 Depth=1
	movq	-8(%rbp), %rax
	movslq	-24(%rbp), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	jne	LBB7_16
## %bb.15:                              ##   in Loop: Header=BB7_13 Depth=1
	movq	-16(%rbp), %rax
	movl	$1, 40(%rax)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
LBB7_16:                                ##   in Loop: Header=BB7_13 Depth=1
	movq	-8(%rbp), %rax
	movslq	-24(%rbp), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	L_.str.26(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	jne	LBB7_18
## %bb.17:                              ##   in Loop: Header=BB7_13 Depth=1
	movq	-16(%rbp), %rax
	movl	$2, 40(%rax)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
LBB7_18:                                ##   in Loop: Header=BB7_13 Depth=1
	movq	-8(%rbp), %rax
	movslq	-24(%rbp), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	L_.str.27(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	jne	LBB7_20
## %bb.19:                              ##   in Loop: Header=BB7_13 Depth=1
	movq	-16(%rbp), %rax
	movl	$3, 40(%rax)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
LBB7_20:                                ##   in Loop: Header=BB7_13 Depth=1
	movq	-8(%rbp), %rax
	movslq	-24(%rbp), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	L_.str.28(%rip), %rsi
	callq	_libmin_strcmp
	cmpl	$0, %eax
	jne	LBB7_22
## %bb.21:                              ##   in Loop: Header=BB7_13 Depth=1
	movq	-16(%rbp), %rax
	movl	$4, 40(%rax)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
LBB7_22:                                ##   in Loop: Header=BB7_13 Depth=1
	movq	-8(%rbp), %rax
	movslq	-24(%rbp), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	L_.str.28(%rip), %rsi
	callq	_libmin_strtok
	movq	%rax, -40(%rbp)
LBB7_23:                                ##   Parent Loop BB7_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, -40(%rbp)
	je	LBB7_25
## %bb.24:                              ##   in Loop: Header=BB7_23 Depth=2
	movq	-40(%rbp), %rdi
	callq	_libmin_atoi
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movslq	-28(%rbp), %rcx
	movl	%edx, (%rax,%rcx,4)
	xorl	%eax, %eax
	movl	%eax, %edi
	leaq	L_.str.28(%rip), %rsi
	callq	_libmin_strtok
	movq	%rax, -40(%rbp)
	movl	-28(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	LBB7_23
LBB7_25:                                ##   in Loop: Header=BB7_13 Depth=1
	jmp	LBB7_26
LBB7_26:                                ##   in Loop: Header=BB7_13 Depth=1
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	LBB7_13
LBB7_27:
	movl	-44(%rbp), %edi
	movq	-16(%rbp), %rsi
	movl	-20(%rbp), %edx
	callq	_misto
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_misto                          ## -- Begin function misto
	.p2align	4, 0x90
_misto:                                 ## @misto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, -4(%rbp)
	movq	%rsi, -16(%rbp)
	movl	%edx, -20(%rbp)
	cmpl	$3, -20(%rbp)
	jne	LBB8_2
## %bb.1:
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 36(%rax)
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 32(%rax)
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 28(%rax)
	movq	-16(%rbp), %rax
	movl	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 24(%rax)
	jmp	LBB8_9
LBB8_2:
	cmpl	$1, -4(%rbp)
	jne	LBB8_4
## %bb.3:
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	imull	(%rax), %ecx
	movq	-16(%rbp), %rax
	addl	4(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	-16(%rbp), %rax
	movl	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 8(%rax)
	movq	-16(%rbp), %rax
	movl	16(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 12(%rax)
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 36(%rax)
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 32(%rax)
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 28(%rax)
	movq	-16(%rbp), %rax
	movl	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 24(%rax)
	jmp	LBB8_9
LBB8_4:
	cmpl	$2, -4(%rbp)
	jne	LBB8_6
## %bb.5:
	movq	-16(%rbp), %rax
	movl	16(%rax), %ecx
	movq	-16(%rbp), %rax
	imull	8(%rax), %ecx
	movq	-16(%rbp), %rax
	addl	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 8(%rax)
	movq	-16(%rbp), %rax
	movl	16(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 12(%rax)
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 36(%rax)
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 32(%rax)
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 28(%rax)
	movq	-16(%rbp), %rax
	movl	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 24(%rax)
	jmp	LBB8_9
LBB8_6:
	cmpl	$5, -20(%rbp)
	jne	LBB8_8
## %bb.7:
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	imull	(%rax), %ecx
	movq	-16(%rbp), %rax
	addl	4(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, (%rax)
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 4(%rax)
	movq	-16(%rbp), %rax
	movl	20(%rax), %ecx
	movq	-16(%rbp), %rax
	imull	12(%rax), %ecx
	movq	-16(%rbp), %rax
	addl	16(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 8(%rax)
	movq	-16(%rbp), %rax
	movl	20(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 12(%rax)
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 36(%rax)
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 32(%rax)
	movq	-16(%rbp), %rax
	movl	8(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 28(%rax)
	movq	-16(%rbp), %rax
	movl	12(%rax), %ecx
	movq	-16(%rbp), %rax
	movl	%ecx, 24(%rax)
	jmp	LBB8_9
LBB8_8:
	jmp	LBB8_9
LBB8_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.globl	_simplifica                     ## -- Begin function simplifica
	.p2align	4, 0x90
_simplifica:                            ## @simplifica
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	$1, -12(%rbp)
LBB9_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$13, -12(%rbp)
	jge	LBB9_7
## %bb.2:                               ##   in Loop: Header=BB9_1 Depth=1
	movl	-16(%rbp), %eax
	cltd
	idivl	-12(%rbp)
	cmpl	$0, %edx
	jne	LBB9_5
## %bb.3:                               ##   in Loop: Header=BB9_1 Depth=1
	movl	-20(%rbp), %eax
	cltd
	idivl	-12(%rbp)
	cmpl	$0, %edx
	jne	LBB9_5
## %bb.4:                               ##   in Loop: Header=BB9_1 Depth=1
	movl	-12(%rbp), %ecx
	movl	-16(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%eax, -16(%rbp)
	movl	-12(%rbp), %ecx
	movl	-20(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%eax, -20(%rbp)
LBB9_5:                                 ##   in Loop: Header=BB9_1 Depth=1
	jmp	LBB9_6
LBB9_6:                                 ##   in Loop: Header=BB9_1 Depth=1
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -12(%rbp)
	jmp	LBB9_1
LBB9_7:
	movl	-16(%rbp), %ecx
	movq	-8(%rbp), %rax
	movl	%ecx, 12(%rax)
	movl	-20(%rbp), %ecx
	movq	-8(%rbp), %rax
	movl	%ecx, 16(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.globl	___input                        ## @__input
	.p2align	4
___input:
	.ascii	" 3/4 + 6 7/19\n1\n7/19 + 21/7\n0\n"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input.h"

	.section	__DATA,__data
	.globl	_input                          ## @input
	.p2align	3
_input:
	.quad	L_.str
	.quad	30                              ## 0x1e
	.quad	___input
	.long	0                               ## 0x0
	.space	4

	.globl	_minput                         ## @minput
	.p2align	3
_minput:
	.quad	_input

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"vhV"

.zerofill __DATA,__bss,_verb,4,2        ## @verb
L_.str.2:                               ## @.str.2
	.asciz	"Type\n\t$man %s\nor\n\t$%s -h\nfor help.\n\n"

L_.str.3:                               ## @.str.3
	.asciz	"Verbose level set at: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"\nDo you want to do another operation?\nenter 1 for yes\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s - %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"frac"

L_.str.7:                               ## @.str.7
	.asciz	"Fraction Calculator"

L_.str.8:                               ## @.str.8
	.asciz	"\nUsage: %s [-h|-v]\n"

L_.str.9:                               ## @.str.9
	.asciz	"\nOptions:\n"

L_.str.10:                              ## @.str.10
	.asciz	"\t-h,  --help\n\t\tShow this help.\n"

L_.str.11:                              ## @.str.11
	.asciz	"\t-V,  --version\n\t\tShow version and copyright information.\n"

L_.str.12:                              ## @.str.12
	.asciz	"\t-v,  --verbose\n\t\tSet verbose level (cumulative).\n"

L_.str.13:                              ## @.str.13
	.asciz	"\nExit status:\n\t0 if ok.\n\t1 some error occurred.\n"

L_.str.14:                              ## @.str.14
	.asciz	"\nTodo:\n\tLong options not implemented yet.\n"

L_.str.15:                              ## @.str.15
	.asciz	"\nAuthor:\n\tWritten by %s <%s>\n\n"

L_.str.16:                              ## @.str.16
	.asciz	"Iago Gade Gusmao Carrazzoni"

L_.str.17:                              ## @.str.17
	.asciz	"iagocarrazzoni@gmail.com"

L_.str.18:                              ## @.str.18
	.asciz	"%s - Version %s\n"

L_.str.19:                              ## @.str.19
	.asciz	"20180915.214818"

L_.str.20:                              ## @.str.20
	.asciz	"\nCopyright (C) %d %s <%s>, GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This  is  free  software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. USE IT AS IT IS. The author takes no responsability to any damage this software may inflige in your data.\n\n"

L_.str.21:                              ## @.str.21
	.asciz	"copyr(): Verbose: %d\n"

L_.str.22:                              ## @.str.22
	.asciz	"-------------------\n"

L_.str.23:                              ## @.str.23
	.asciz	"FRACTION CALCULATOR\nPlease entry the desired operation:\n(It is necessary to add a space between the fractions, like a/b + c/d)\n-> "

L_.str.24:                              ## @.str.24
	.asciz	" "

L_.str.25:                              ## @.str.25
	.asciz	"+"

L_.str.26:                              ## @.str.26
	.asciz	"-"

L_.str.27:                              ## @.str.27
	.asciz	"*"

L_.str.28:                              ## @.str.28
	.asciz	"/"

L_.str.29:                              ## @.str.29
	.asciz	"\nEXPRESSION: %sFRACTION: %d/%d %c %d/%d\nINTERMEDIATE: %d/%d\nRESULT: %d/%d\nDECIMAL: %.3f\n"

.subsections_via_symbols


ARM64 assembly:
	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
	adrp	x8, ___stack_chk_guard@GOTPAGE
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	wzr, [sp, #84]
	str	w0, [sp, #80]
	str	x1, [sp, #72]
	mov	w8, #1
	str	w8, [sp, #60]
	adrp	x8, _opterr@GOTPAGE
	ldr	x8, [x8, _opterr@GOTPAGEOFF]
	str	wzr, [x8]
	b	LBB0_1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #80]
	ldr	x1, [sp, #72]
	adrp	x2, l_.str.1@PAGE
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_libmin_getopt
	str	w0, [sp, #68]
	adds	w8, w0, #1
	cset	w8, eq
	tbnz	w8, #0, LBB0_12
	b	LBB0_2
LBB0_2:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #68]
	str	w8, [sp, #56]                   ; 4-byte Folded Spill
	subs	w8, w8, #63
	cset	w8, eq
	tbnz	w8, #0, LBB0_9
	b	LBB0_3
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	subs	w8, w8, #86
	cset	w8, eq
	tbnz	w8, #0, LBB0_7
	b	LBB0_4
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	subs	w8, w8, #104
	cset	w8, eq
	tbnz	w8, #0, LBB0_6
	b	LBB0_5
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	subs	w8, w8, #118
	cset	w8, eq
	tbnz	w8, #0, LBB0_8
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_help
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_copyr
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	adrp	x9, _verb@PAGE
	ldr	w8, [x9, _verb@PAGEOFF]
	add	w8, w8, #1
	str	w8, [x9, _verb@PAGEOFF]
	b	LBB0_11
LBB0_9:
	b	LBB0_10
LBB0_10:
	ldr	x8, [sp, #72]
	ldr	x10, [x8]
	ldr	x8, [sp, #72]
	ldr	x8, [x8]
	mov	x9, sp
	str	x10, [x9]
	str	x8, [x9, #8]
	adrp	x0, l_.str.2@PAGE
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_libmin_printf
	mov	w8, #1
	str	w8, [sp, #84]
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	b	LBB0_1
LBB0_12:
	adrp	x8, _verb@PAGE
	ldr	w8, [x8, _verb@PAGEOFF]
	subs	w8, w8, #0
	cset	w8, eq
	tbnz	w8, #0, LBB0_14
	b	LBB0_13
LBB0_13:
	adrp	x8, _verb@PAGE
	ldr	w9, [x8, _verb@PAGEOFF]
                                        ; implicit-def: $x8
	mov	x8, x9
	mov	x9, sp
	str	x8, [x9]
	adrp	x0, l_.str.3@PAGE
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_libmin_printf
	b	LBB0_14
LBB0_14:
	b	LBB0_15
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #84
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_frac_init
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	sub	x1, x29, #128
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	bl	_divtokens
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	add	x1, sp, #148
	str	x1, [sp, #32]                   ; 8-byte Folded Spill
	bl	_calcula
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	str	s0, [sp, #64]
	ldr	s0, [sp, #64]
	bl	_print
	adrp	x0, l_.str.4@PAGE
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_libmin_printf
	adrp	x8, _minput@PAGE
	ldr	x2, [x8, _minput@PAGEOFF]
	add	x0, sp, #88
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	mov	x1, #60
	bl	_libmin_mgets
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_libmin_atoi
	str	w0, [sp, #60]
	b	LBB0_16
LBB0_16:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [sp, #60]
	subs	w8, w8, #1
	cset	w8, eq
	tbnz	w8, #0, LBB0_15
	b	LBB0_17
LBB0_17:
	bl	_libmin_success
	str	wzr, [sp, #84]
	b	LBB0_18
LBB0_18:
	ldr	w8, [sp, #84]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldur	x9, [x29, #-24]
	adrp	x8, ___stack_chk_guard@GOTPAGE
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
	ldr	x8, [x8]
	subs	x8, x8, x9
	cset	w8, eq
	tbnz	w8, #0, LBB0_20
	b	LBB0_19
LBB0_19:
	bl	___stack_chk_fail
LBB0_20:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_help                           ; -- Begin function help
	.p2align	2
_help:                                  ; @help
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	x9, sp
	adrp	x8, l_.str.6@PAGE
	add	x8, x8, l_.str.6@PAGEOFF
	stur	x8, [x29, #-8]                  ; 8-byte Folded Spill
	str	x8, [x9]
	adrp	x8, l_.str.7@PAGE
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x9, #8]
	adrp	x0, l_.str.5@PAGE
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_libmin_printf
	ldur	x8, [x29, #-8]                  ; 8-byte Folded Reload
	mov	x9, sp
	str	x8, [x9]
	adrp	x0, l_.str.8@PAGE
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.9@PAGE
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.10@PAGE
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.11@PAGE
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.12@PAGE
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.13@PAGE
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.14@PAGE
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_libmin_printf
	mov	x9, sp
	adrp	x8, l_.str.16@PAGE
	add	x8, x8, l_.str.16@PAGEOFF
	str	x8, [x9]
	adrp	x8, l_.str.17@PAGE
	add	x8, x8, l_.str.17@PAGEOFF
	str	x8, [x9, #8]
	adrp	x0, l_.str.15@PAGE
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_libmin_printf
	mov	w0, #1
	bl	_libmin_fail
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_copyr                          ; -- Begin function copyr
	.p2align	2
_copyr:                                 ; @copyr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	x9, sp
	adrp	x8, l_.str.6@PAGE
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [x9]
	adrp	x8, l_.str.19@PAGE
	add	x8, x8, l_.str.19@PAGEOFF
	str	x8, [x9, #8]
	adrp	x0, l_.str.18@PAGE
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_libmin_printf
	mov	x9, sp
	mov	x8, #2018
	str	x8, [x9]
	adrp	x8, l_.str.16@PAGE
	add	x8, x8, l_.str.16@PAGEOFF
	str	x8, [x9, #8]
	adrp	x8, l_.str.17@PAGE
	add	x8, x8, l_.str.17@PAGEOFF
	str	x8, [x9, #16]
	adrp	x0, l_.str.20@PAGE
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_libmin_printf
	adrp	x8, _verb@PAGE
	ldr	w8, [x8, _verb@PAGEOFF]
	subs	w8, w8, #3
	cset	w8, le
	tbnz	w8, #0, LBB2_2
	b	LBB2_1
LBB2_1:
	adrp	x8, _verb@PAGE
	ldr	w9, [x8, _verb@PAGEOFF]
                                        ; implicit-def: $x8
	mov	x8, x9
	mov	x9, sp
	str	x8, [x9]
	adrp	x0, l_.str.21@PAGE
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_libmin_printf
	b	LBB2_2
LBB2_2:
	mov	w0, #1
	bl	_libmin_fail
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_frac_init                      ; -- Begin function frac_init
	.p2align	2
_frac_init:                             ; @frac_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	x0, [sp, #8]
	adrp	x0, l_.str.22@PAGE
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_libmin_printf
	adrp	x0, l_.str.23@PAGE
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_libmin_printf
	ldr	x0, [sp, #8]
	adrp	x8, _minput@PAGE
	ldr	x2, [x8, _minput@PAGEOFF]
	mov	x1, #60
	bl	_libmin_mgets
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_divtokens                      ; -- Begin function divtokens
	.p2align	2
_divtokens:                             ; @divtokens
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -24
	.cfi_offset w28, -32
	sub	sp, sp, #592
	adrp	x8, ___stack_chk_guard@GOTPAGE
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	x0, [sp, #32]
	str	x1, [sp, #24]
	str	wzr, [sp, #12]
	ldr	x1, [sp, #32]
	sub	x0, x29, #84
	str	x0, [sp]                        ; 8-byte Folded Spill
	bl	_libmin_strcpy
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	adrp	x1, l_.str.24@PAGE
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_libmin_strtok
	str	x0, [sp, #16]
	b	LBB4_1
LBB4_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	subs	x8, x8, #0
	cset	w8, eq
	tbnz	w8, #0, LBB4_3
	b	LBB4_2
LBB4_2:                                 ;   in Loop: Header=BB4_1 Depth=1
	ldr	x8, [sp, #16]
	ldrsw	x10, [sp, #12]
	add	x9, sp, #40
	str	x8, [x9, x10, lsl #3]
	mov	x0, #0
	adrp	x1, l_.str.24@PAGE
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_libmin_strtok
	str	x0, [sp, #16]
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #12]
	b	LBB4_1
LBB4_3:
	ldr	w8, [sp, #12]
	ldr	x9, [sp, #24]
	str	w8, [x9, #36]
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #12]
	add	x0, sp, #40
	bl	_avaliatokens
	ldur	x9, [x29, #-24]
	adrp	x8, ___stack_chk_guard@GOTPAGE
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
	ldr	x8, [x8]
	subs	x8, x8, x9
	cset	w8, eq
	tbnz	w8, #0, LBB4_5
	b	LBB4_4
LBB4_4:
	bl	___stack_chk_fail
LBB4_5:
	add	sp, sp, #592
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_calcula                        ; -- Begin function calcula
	.p2align	2
_calcula:                               ; @calcula
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stur	x0, [x29, #-8]
	stur	x1, [x29, #-16]
	movi	d0, #0000000000000000
	stur	s0, [x29, #-20]
	ldur	x8, [x29, #-8]
	ldr	w8, [x8, #4]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #12]
	mul	w8, w8, w9
	ldur	x9, [x29, #-16]
	str	w8, [x9]
	ldur	x8, [x29, #-8]
	ldr	w8, [x8, #40]
	subs	w8, w8, #1
                                        ; kill: def $x8 killed $w8
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	subs	x8, x8, #3
	cset	w8, hi
	tbnz	w8, #0, LBB5_6
; %bb.1:
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	adrp	x10, lJTI5_0@PAGE
	add	x10, x10, lJTI5_0@PAGEOFF
Ltmp0:
	adr	x8, Ltmp0
	ldrsw	x9, [x10, x11, lsl #2]
	add	x8, x8, x9
	br	x8
LBB5_2:
	ldur	x8, [x29, #-16]
	ldr	w8, [x8]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #4]
	sdiv	w8, w8, w9
	ldur	x9, [x29, #-8]
	ldr	w9, [x9]
	mul	w8, w8, w9
	ldur	x9, [x29, #-16]
	ldr	w9, [x9]
	ldur	x10, [x29, #-8]
	ldr	w10, [x10, #12]
	sdiv	w9, w9, w10
	ldur	x10, [x29, #-8]
	ldr	w10, [x10, #8]
	mul	w9, w9, w10
	add	w8, w8, w9
	ldur	x9, [x29, #-16]
	str	w8, [x9, #4]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8, #4]
	scvtf	s0, s0
	str	s0, [sp, #24]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8]
	scvtf	s0, s0
	str	s0, [sp, #20]
	ldr	s0, [sp, #24]
	ldr	s1, [sp, #20]
	fdiv	s0, s0, s1
	stur	s0, [x29, #-20]
	ldur	x0, [x29, #-16]
	bl	_simplifica
	b	LBB5_6
LBB5_3:
	ldur	x8, [x29, #-16]
	ldr	w8, [x8]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #4]
	sdiv	w8, w8, w9
	ldur	x9, [x29, #-8]
	ldr	w9, [x9]
	mul	w8, w8, w9
	ldur	x9, [x29, #-16]
	ldr	w9, [x9]
	ldur	x10, [x29, #-8]
	ldr	w10, [x10, #12]
	sdiv	w9, w9, w10
	ldur	x10, [x29, #-8]
	ldr	w10, [x10, #8]
	mul	w9, w9, w10
	subs	w8, w8, w9
	ldur	x9, [x29, #-16]
	str	w8, [x9, #4]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8, #4]
	scvtf	s0, s0
	str	s0, [sp, #24]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8]
	scvtf	s0, s0
	str	s0, [sp, #20]
	ldr	s0, [sp, #24]
	ldr	s1, [sp, #20]
	fdiv	s0, s0, s1
	stur	s0, [x29, #-20]
	ldur	x0, [x29, #-16]
	bl	_simplifica
	b	LBB5_6
LBB5_4:
	ldur	x8, [x29, #-8]
	ldr	w8, [x8]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #8]
	mul	w8, w8, w9
	ldur	x9, [x29, #-16]
	str	w8, [x9, #4]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8, #4]
	scvtf	s0, s0
	str	s0, [sp, #24]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8]
	scvtf	s0, s0
	str	s0, [sp, #20]
	ldr	s0, [sp, #24]
	ldr	s1, [sp, #20]
	fdiv	s0, s0, s1
	stur	s0, [x29, #-20]
	ldur	x0, [x29, #-16]
	bl	_simplifica
	b	LBB5_6
LBB5_5:
	ldur	x8, [x29, #-8]
	ldr	w8, [x8, #4]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #8]
	mul	w8, w8, w9
	ldur	x9, [x29, #-16]
	str	w8, [x9]
	ldur	x8, [x29, #-8]
	ldr	w8, [x8]
	ldur	x9, [x29, #-8]
	ldr	w9, [x9, #12]
	mul	w8, w8, w9
	ldur	x9, [x29, #-16]
	str	w8, [x9, #4]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8, #4]
	scvtf	s0, s0
	str	s0, [sp, #24]
	ldur	x8, [x29, #-16]
	ldr	s0, [x8]
	scvtf	s0, s0
	str	s0, [sp, #20]
	ldr	s0, [sp, #24]
	ldr	s1, [sp, #20]
	fdiv	s0, s0, s1
	stur	s0, [x29, #-20]
	ldur	x0, [x29, #-16]
	bl	_simplifica
	b	LBB5_6
LBB5_6:
	ldur	s0, [x29, #-20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
	.p2align	2
lJTI5_0:
	.long	LBB5_2-Ltmp0
	.long	LBB5_3-Ltmp0
	.long	LBB5_4-Ltmp0
	.long	LBB5_5-Ltmp0
                                        ; -- End function
	.globl	_print                          ; -- Begin function print
	.p2align	2
_print:                                 ; @print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	x0, [x29, #-8]
	stur	x1, [x29, #-16]
	stur	s0, [x29, #-20]
	stur	x2, [x29, #-32]
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #40]
	subs	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB6_2
	b	LBB6_1
LBB6_1:
	mov	w8, #43
	sturb	w8, [x29, #-33]
	b	LBB6_2
LBB6_2:
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #40]
	subs	w8, w8, #2
	cset	w8, ne
	tbnz	w8, #0, LBB6_4
	b	LBB6_3
LBB6_3:
	mov	w8, #45
	sturb	w8, [x29, #-33]
	b	LBB6_4
LBB6_4:
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #40]
	subs	w8, w8, #3
	cset	w8, ne
	tbnz	w8, #0, LBB6_6
	b	LBB6_5
LBB6_5:
	mov	w8, #42
	sturb	w8, [x29, #-33]
	b	LBB6_6
LBB6_6:
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #40]
	subs	w8, w8, #4
	cset	w8, ne
	tbnz	w8, #0, LBB6_8
	b	LBB6_7
LBB6_7:
	mov	w8, #47
	sturb	w8, [x29, #-33]
	b	LBB6_8
LBB6_8:
	ldur	x0, [x29, #-8]
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #36]
                                        ; implicit-def: $x17
	mov	x17, x8
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #32]
                                        ; implicit-def: $x15
	mov	x15, x8
	ldursb	w16, [x29, #-33]
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #28]
                                        ; implicit-def: $x14
	mov	x14, x8
	ldur	x8, [x29, #-32]
	ldr	w8, [x8, #24]
                                        ; implicit-def: $x13
	mov	x13, x8
	ldur	x8, [x29, #-16]
	ldr	w8, [x8, #4]
                                        ; implicit-def: $x12
	mov	x12, x8
	ldur	x8, [x29, #-16]
	ldr	w8, [x8]
                                        ; implicit-def: $x11
	mov	x11, x8
	ldur	x8, [x29, #-16]
	ldr	w8, [x8, #12]
                                        ; implicit-def: $x10
	mov	x10, x8
	ldur	x8, [x29, #-16]
	ldr	w8, [x8, #16]
                                        ; implicit-def: $x9
	mov	x9, x8
	ldur	s0, [x29, #-20]
	fcvt	d0, s0
	mov	x8, sp
	str	x0, [x8]
	str	x17, [x8, #8]
	str	x15, [x8, #16]
                                        ; implicit-def: $x15
	mov	x15, x16
	str	x15, [x8, #24]
	str	x14, [x8, #32]
	str	x13, [x8, #40]
	str	x12, [x8, #48]
	str	x11, [x8, #56]
	str	x10, [x8, #64]
	str	x9, [x8, #72]
	str	d0, [x8, #80]
	adrp	x0, l_.str.29@PAGE
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_libmin_printf
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_avaliatokens                   ; -- Begin function avaliatokens
	.p2align	2
_avaliatokens:                          ; @avaliatokens
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stur	x0, [x29, #-8]
	stur	x1, [x29, #-16]
	stur	w2, [x29, #-20]
	str	wzr, [sp, #20]
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #16]
	adrp	x1, l_.str.25@PAGE
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_4
	b	LBB7_1
LBB7_1:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #16]
	adrp	x1, l_.str.26@PAGE
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_4
	b	LBB7_2
LBB7_2:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #16]
	adrp	x1, l_.str.27@PAGE
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_4
	b	LBB7_3
LBB7_3:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #16]
	adrp	x1, l_.str.28@PAGE
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB7_6
	b	LBB7_4
LBB7_4:
	ldur	w8, [x29, #-20]
	subs	w8, w8, #4
	cset	w8, ne
	tbnz	w8, #0, LBB7_6
	b	LBB7_5
LBB7_5:
	mov	w8, #1
	str	w8, [sp, #4]
	b	LBB7_6
LBB7_6:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #8]
	adrp	x1, l_.str.25@PAGE
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_10
	b	LBB7_7
LBB7_7:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #8]
	adrp	x1, l_.str.26@PAGE
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_10
	b	LBB7_8
LBB7_8:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #8]
	adrp	x1, l_.str.27@PAGE
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_10
	b	LBB7_9
LBB7_9:
	ldur	x8, [x29, #-8]
	ldr	x0, [x8, #8]
	adrp	x1, l_.str.28@PAGE
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB7_12
	b	LBB7_10
LBB7_10:
	ldur	w8, [x29, #-20]
	subs	w8, w8, #4
	cset	w8, ne
	tbnz	w8, #0, LBB7_12
	b	LBB7_11
LBB7_11:
	mov	w8, #2
	str	w8, [sp, #4]
	b	LBB7_12
LBB7_12:
	str	wzr, [sp, #24]
	b	LBB7_13
LBB7_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB7_23 Depth 2
	ldr	w8, [sp, #24]
	ldur	w9, [x29, #-20]
	subs	w8, w8, w9
	cset	w8, ge
	tbnz	w8, #0, LBB7_27
	b	LBB7_14
LBB7_14:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x8, [x29, #-8]
	ldrsw	x9, [sp, #24]
	ldr	x0, [x8, x9, lsl #3]
	adrp	x1, l_.str.25@PAGE
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB7_16
	b	LBB7_15
LBB7_15:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x9, [x29, #-16]
	mov	w8, #1
	str	w8, [x9, #40]
	ldr	w8, [sp, #24]
	add	w8, w8, #1
	str	w8, [sp, #24]
	b	LBB7_16
LBB7_16:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x8, [x29, #-8]
	ldrsw	x9, [sp, #24]
	ldr	x0, [x8, x9, lsl #3]
	adrp	x1, l_.str.26@PAGE
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB7_18
	b	LBB7_17
LBB7_17:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x9, [x29, #-16]
	mov	w8, #2
	str	w8, [x9, #40]
	ldr	w8, [sp, #24]
	add	w8, w8, #1
	str	w8, [sp, #24]
	b	LBB7_18
LBB7_18:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x8, [x29, #-8]
	ldrsw	x9, [sp, #24]
	ldr	x0, [x8, x9, lsl #3]
	adrp	x1, l_.str.27@PAGE
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB7_20
	b	LBB7_19
LBB7_19:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x9, [x29, #-16]
	mov	w8, #3
	str	w8, [x9, #40]
	ldr	w8, [sp, #24]
	add	w8, w8, #1
	str	w8, [sp, #24]
	b	LBB7_20
LBB7_20:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x8, [x29, #-8]
	ldrsw	x9, [sp, #24]
	ldr	x0, [x8, x9, lsl #3]
	adrp	x1, l_.str.28@PAGE
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_libmin_strcmp
	subs	w8, w0, #0
	cset	w8, ne
	tbnz	w8, #0, LBB7_22
	b	LBB7_21
LBB7_21:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x9, [x29, #-16]
	mov	w8, #4
	str	w8, [x9, #40]
	ldr	w8, [sp, #24]
	add	w8, w8, #1
	str	w8, [sp, #24]
	b	LBB7_22
LBB7_22:                                ;   in Loop: Header=BB7_13 Depth=1
	ldur	x8, [x29, #-8]
	ldrsw	x9, [sp, #24]
	ldr	x0, [x8, x9, lsl #3]
	adrp	x1, l_.str.28@PAGE
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_libmin_strtok
	str	x0, [sp, #8]
	b	LBB7_23
LBB7_23:                                ;   Parent Loop BB7_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #8]
	subs	x8, x8, #0
	cset	w8, eq
	tbnz	w8, #0, LBB7_25
	b	LBB7_24
LBB7_24:                                ;   in Loop: Header=BB7_23 Depth=2
	ldr	x0, [sp, #8]
	bl	_libmin_atoi
	ldur	x8, [x29, #-16]
	ldrsw	x9, [sp, #20]
	str	w0, [x8, x9, lsl #2]
	mov	x0, #0
	adrp	x1, l_.str.28@PAGE
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_libmin_strtok
	str	x0, [sp, #8]
	ldr	w8, [sp, #20]
	add	w8, w8, #1
	str	w8, [sp, #20]
	b	LBB7_23
LBB7_25:                                ;   in Loop: Header=BB7_13 Depth=1
	b	LBB7_26
LBB7_26:                                ;   in Loop: Header=BB7_13 Depth=1
	ldr	w8, [sp, #24]
	add	w8, w8, #1
	str	w8, [sp, #24]
	b	LBB7_13
LBB7_27:
	ldr	w0, [sp, #4]
	ldur	x1, [x29, #-16]
	ldur	w2, [x29, #-20]
	bl	_misto
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_misto                          ; -- Begin function misto
	.p2align	2
_misto:                                 ; @misto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	str	w0, [sp, #28]
	str	x1, [sp, #16]
	str	w2, [sp, #12]
	ldr	w8, [sp, #12]
	subs	w8, w8, #3
	cset	w8, ne
	tbnz	w8, #0, LBB8_2
	b	LBB8_1
LBB8_1:
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #36]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #4]
	ldr	x9, [sp, #16]
	str	w8, [x9, #32]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #28]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #12]
	ldr	x9, [sp, #16]
	str	w8, [x9, #24]
	b	LBB8_9
LBB8_2:
	ldr	w8, [sp, #28]
	subs	w8, w8, #1
	cset	w8, ne
	tbnz	w8, #0, LBB8_4
	b	LBB8_3
LBB8_3:
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	ldr	w9, [x9]
	mul	w8, w8, w9
	ldr	x9, [sp, #16]
	ldr	w9, [x9, #4]
	add	w8, w8, w9
	ldr	x9, [sp, #16]
	str	w8, [x9]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #4]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #12]
	ldr	x9, [sp, #16]
	str	w8, [x9, #8]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #16]
	ldr	x9, [sp, #16]
	str	w8, [x9, #12]
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #36]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #4]
	ldr	x9, [sp, #16]
	str	w8, [x9, #32]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #28]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #12]
	ldr	x9, [sp, #16]
	str	w8, [x9, #24]
	b	LBB8_9
LBB8_4:
	ldr	w8, [sp, #28]
	subs	w8, w8, #2
	cset	w8, ne
	tbnz	w8, #0, LBB8_6
	b	LBB8_5
LBB8_5:
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #16]
	ldr	x9, [sp, #16]
	ldr	w9, [x9, #8]
	mul	w8, w8, w9
	ldr	x9, [sp, #16]
	ldr	w9, [x9, #12]
	add	w8, w8, w9
	ldr	x9, [sp, #16]
	str	w8, [x9, #8]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #16]
	ldr	x9, [sp, #16]
	str	w8, [x9, #12]
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #36]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #4]
	ldr	x9, [sp, #16]
	str	w8, [x9, #32]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #28]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #12]
	ldr	x9, [sp, #16]
	str	w8, [x9, #24]
	b	LBB8_9
LBB8_6:
	ldr	w8, [sp, #12]
	subs	w8, w8, #5
	cset	w8, ne
	tbnz	w8, #0, LBB8_8
	b	LBB8_7
LBB8_7:
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	ldr	w9, [x9]
	mul	w8, w8, w9
	ldr	x9, [sp, #16]
	ldr	w9, [x9, #4]
	add	w8, w8, w9
	ldr	x9, [sp, #16]
	str	w8, [x9]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #4]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #20]
	ldr	x9, [sp, #16]
	ldr	w9, [x9, #12]
	mul	w8, w8, w9
	ldr	x9, [sp, #16]
	ldr	w9, [x9, #16]
	add	w8, w8, w9
	ldr	x9, [sp, #16]
	str	w8, [x9, #8]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #20]
	ldr	x9, [sp, #16]
	str	w8, [x9, #12]
	ldr	x8, [sp, #16]
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #36]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #4]
	ldr	x9, [sp, #16]
	str	w8, [x9, #32]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #8]
	ldr	x9, [sp, #16]
	str	w8, [x9, #28]
	ldr	x8, [sp, #16]
	ldr	w8, [x8, #12]
	ldr	x9, [sp, #16]
	str	w8, [x9, #24]
	b	LBB8_9
LBB8_8:
	b	LBB8_9
LBB8_9:
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.globl	_simplifica                     ; -- Begin function simplifica
	.p2align	2
_simplifica:                            ; @simplifica
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	str	x0, [sp, #24]
	ldr	x8, [sp, #24]
	ldr	w8, [x8, #4]
	str	w8, [sp, #16]
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	w8, #1
	str	w8, [sp, #20]
	b	LBB9_1
LBB9_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #20]
	subs	w8, w8, #13
	cset	w8, ge
	tbnz	w8, #0, LBB9_7
	b	LBB9_2
LBB9_2:                                 ;   in Loop: Header=BB9_1 Depth=1
	ldr	w8, [sp, #16]
	ldr	w10, [sp, #20]
	sdiv	w9, w8, w10
	mul	w9, w9, w10
	subs	w8, w8, w9
	subs	w8, w8, #0
	cset	w8, ne
	tbnz	w8, #0, LBB9_5
	b	LBB9_3
LBB9_3:                                 ;   in Loop: Header=BB9_1 Depth=1
	ldr	w8, [sp, #12]
	ldr	w10, [sp, #20]
	sdiv	w9, w8, w10
	mul	w9, w9, w10
	subs	w8, w8, w9
	subs	w8, w8, #0
	cset	w8, ne
	tbnz	w8, #0, LBB9_5
	b	LBB9_4
LBB9_4:                                 ;   in Loop: Header=BB9_1 Depth=1
	ldr	w9, [sp, #20]
	ldr	w8, [sp, #16]
	sdiv	w8, w8, w9
	str	w8, [sp, #16]
	ldr	w9, [sp, #20]
	ldr	w8, [sp, #12]
	sdiv	w8, w8, w9
	str	w8, [sp, #12]
	b	LBB9_5
LBB9_5:                                 ;   in Loop: Header=BB9_1 Depth=1
	b	LBB9_6
LBB9_6:                                 ;   in Loop: Header=BB9_1 Depth=1
	ldr	w8, [sp, #20]
	add	w8, w8, #1
	str	w8, [sp, #20]
	b	LBB9_1
LBB9_7:
	ldr	w8, [sp, #16]
	ldr	x9, [sp, #24]
	str	w8, [x9, #12]
	ldr	w8, [sp, #12]
	ldr	x9, [sp, #24]
	str	w8, [x9, #16]
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.globl	___input                        ; @__input
___input:
	.ascii	" 3/4 + 6 7/19\n1\n7/19 + 21/7\n0\n"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input.h"

	.section	__DATA,__data
	.globl	_input                          ; @input
	.p2align	3
_input:
	.quad	l_.str
	.quad	30                              ; 0x1e
	.quad	___input
	.long	0                               ; 0x0
	.space	4

	.globl	_minput                         ; @minput
	.p2align	3
_minput:
	.quad	_input

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"vhV"

.zerofill __DATA,__bss,_verb,4,2        ; @verb
l_.str.2:                               ; @.str.2
	.asciz	"Type\n\t$man %s\nor\n\t$%s -h\nfor help.\n\n"

l_.str.3:                               ; @.str.3
	.asciz	"Verbose level set at: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"\nDo you want to do another operation?\nenter 1 for yes\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s - %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"frac"

l_.str.7:                               ; @.str.7
	.asciz	"Fraction Calculator"

l_.str.8:                               ; @.str.8
	.asciz	"\nUsage: %s [-h|-v]\n"

l_.str.9:                               ; @.str.9
	.asciz	"\nOptions:\n"

l_.str.10:                              ; @.str.10
	.asciz	"\t-h,  --help\n\t\tShow this help.\n"

l_.str.11:                              ; @.str.11
	.asciz	"\t-V,  --version\n\t\tShow version and copyright information.\n"

l_.str.12:                              ; @.str.12
	.asciz	"\t-v,  --verbose\n\t\tSet verbose level (cumulative).\n"

l_.str.13:                              ; @.str.13
	.asciz	"\nExit status:\n\t0 if ok.\n\t1 some error occurred.\n"

l_.str.14:                              ; @.str.14
	.asciz	"\nTodo:\n\tLong options not implemented yet.\n"

l_.str.15:                              ; @.str.15
	.asciz	"\nAuthor:\n\tWritten by %s <%s>\n\n"

l_.str.16:                              ; @.str.16
	.asciz	"Iago Gade Gusmao Carrazzoni"

l_.str.17:                              ; @.str.17
	.asciz	"iagocarrazzoni@gmail.com"

l_.str.18:                              ; @.str.18
	.asciz	"%s - Version %s\n"

l_.str.19:                              ; @.str.19
	.asciz	"20180915.214818"

l_.str.20:                              ; @.str.20
	.asciz	"\nCopyright (C) %d %s <%s>, GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This  is  free  software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. USE IT AS IT IS. The author takes no responsability to any damage this software may inflige in your data.\n\n"

l_.str.21:                              ; @.str.21
	.asciz	"copyr(): Verbose: %d\n"

l_.str.22:                              ; @.str.22
	.asciz	"-------------------\n"

l_.str.23:                              ; @.str.23
	.asciz	"FRACTION CALCULATOR\nPlease entry the desired operation:\n(It is necessary to add a space between the fractions, like a/b + c/d)\n-> "

l_.str.24:                              ; @.str.24
	.asciz	" "

l_.str.25:                              ; @.str.25
	.asciz	"+"

l_.str.26:                              ; @.str.26
	.asciz	"-"

l_.str.27:                              ; @.str.27
	.asciz	"*"

l_.str.28:                              ; @.str.28
	.asciz	"/"

l_.str.29:                              ; @.str.29
	.asciz	"\nEXPRESSION: %sFRACTION: %d/%d %c %d/%d\nINTERMEDIATE: %d/%d\nRESULT: %d/%d\nDECIMAL: %.3f\n"

.subsections_via_symbols