// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/samples/beatclock/time.cpp
// Function: Time::SecondsToTimeString(int)
String Time::SecondsToTimeString(Int seconds)
{
	String	 rstring;

	if (((Int) (seconds / 3600)) < 10) rstring.Append("0");

	rstring.Append(String::FromInt(seconds / 3600));
	rstring.Append(":");

	if (((Int) ((seconds % 3600) / 60)) < 10) rstring.Append("0");

	rstring.Append(String::FromInt((seconds % 3600) / 60));

	return rstring;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0xa8(%rbp)
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movb $0x0, -0xd(%rbp)
xorl %esi, %esi
callq 0x5280
movl -0xc(%rbp), %eax
movl $0xe10, %ecx            # imm = 0xE10
cltd
idivl %ecx
cmpl $0xa, %eax
jge 0xbeb8
leaq 0x11cf(%rip), %rsi      # 0xd034
leaq -0x28(%rbp), %rdi
callq 0x5400
jmp 0xbe70
movq -0xa8(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x50e0
jmp 0xbe82
leaq -0x28(%rbp), %rdi
callq 0x54a0
jmp 0xbeb8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0xc075
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x54a0
jmp 0xc075
movslq -0xc(%rbp), %rax
movl %eax, %ecx
imulq $-0x6e5d4c3b, %rax, %rax # imm = 0x91A2B3C5
shrq $0x20, %rax
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0xb, %eax
addl %ecx, %eax
movslq %eax, %rsi
leaq -0x50(%rbp), %rdi
callq 0x5160
jmp 0xbee3
movq -0xa8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x50e0
jmp 0xbef5
leaq -0x50(%rbp), %rdi
callq 0x54a0
leaq 0x135d(%rip), %rsi      # 0xd262
leaq -0x68(%rbp), %rdi
callq 0x5400
jmp 0xbf10
movq -0xa8(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x50e0
jmp 0xbf22
leaq -0x68(%rbp), %rdi
callq 0x54a0
movl -0xc(%rbp), %eax
movl $0xe10, %ecx            # imm = 0xE10
cltd
idivl %ecx
movl %edx, %eax
movl $0x3c, %ecx
cltd
idivl %ecx
cmpl $0xa, %eax
jge 0xbfc2
leaq 0x10e8(%rip), %rsi      # 0xd034
leaq -0x80(%rbp), %rdi
callq 0x5400
jmp 0xbf57
movq -0xa8(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x50e0
jmp 0xbf69
leaq -0x80(%rbp), %rdi
callq 0x54a0
jmp 0xbfc2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x54a0
jmp 0xc075
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x54a0
jmp 0xc075
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x54a0
jmp 0xc075
movslq -0xc(%rbp), %rax
movl %eax, %ecx
imulq $-0x6e5d4c3b, %rax, %rax # imm = 0x91A2B3C5
shrq $0x20, %rax
addl %ecx, %eax
movl %eax, %edx
shrl $0x1f, %edx
sarl $0xb, %eax
addl %edx, %eax
imull $0xe10, %eax, %eax      # imm = 0xE10
subl %eax, %ecx
movslq %ecx, %rax
imulq $-0x77777777, %rax, %rax # imm = 0x88888889
shrq $0x20, %rax
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x5, %eax
addl %ecx, %eax
movslq %eax, %rsi
leaq -0x98(%rbp), %rdi
callq 0x5160
jmp 0xc012
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x50e0
jmp 0xc027
leaq -0x98(%rbp), %rdi
callq 0x54a0
movb $0x1, -0xd(%rbp)
testb $0x1, -0xd(%rbp)
jne 0xc065
jmp 0xc059
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x54a0
jmp 0xc075
movq -0xa8(%rbp), %rdi
callq 0x54a0
movq -0xa0(%rbp), %rax
addq $0xb0, %rsp
popq %rbp
retq
movq -0xa8(%rbp), %rdi
callq 0x54a0
movq -0x30(%rbp), %rdi
callq 0x5190
nopw (%rax,%rax)