#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ EINVAL;
int /*<<< orphan*/ ERANGE;
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ mx_strtoseconds(char *, unsigned long long *);
void test_mx_strtoseconds(void) {
  unsigned long long int l;
  assert(mx_strtoseconds("123s", &l) == 0);
  assert(l == 123);
  assert(mx_strtoseconds("0123s", &l) == 0);
  assert(l == 123);
  assert(mx_strtoseconds("123s0s", &l) == 0);
  assert(l == 123);
  assert(mx_strtoseconds("2m3s", &l) == 0);
  assert(l == 123);
  assert(mx_strtoseconds(" 2 m 3 s ", &l) == 0);
  assert(l == 123);
  assert(mx_strtoseconds("1h 2m 3s", &l) == 0);
  assert(l == 60 * 60 + 2 * 60 + 3);
  assert(mx_strtoseconds("2m 3s 1h", &l) == 0);
  assert(l == 60 * 60 + 2 * 60 + 3);
  assert(mx_strtoseconds("2m 3s 1h1y", &l) == 0);
  assert(l == 60 * 60 + 2 * 60 + 3 + 52 * 7 * 24 * 60 * 60);
  assert(mx_strtoseconds("2m 3s 1h1y", &l) == 0);
  assert(l == 60 * 60 + 2 * 60 + 3 + 52 * 7 * 24 * 60 * 60);
  assert(mx_strtoseconds("-1", &l) == -ERANGE);
  assert(mx_strtoseconds(" -1", &l) == -ERANGE);
  assert(mx_strtoseconds("123", &l) == -EINVAL);
  assert(mx_strtoseconds("0123", &l) == -EINVAL);
  assert(mx_strtoseconds("1.2", &l) == -EINVAL);
  assert(mx_strtoseconds("1,2", &l) == -EINVAL);
  assert(mx_strtoseconds("test", &l) == -EINVAL);
}


x86 assembly (clang, -O0):
<test_mx_strtoseconds>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xed2(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x7b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe9f(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x7b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe73(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x7b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe48(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x7b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xe1b(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x7b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xdf3(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0xe8b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xdc7(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0xe8b,-0x8(%rbp)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xd9b(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x1dff08b,-0x8(%rbp)
01
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xd66(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpq   $0x1dff08b,-0x8(%rbp)
01
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xd3d(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2cd9(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xd12(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2caf(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xced(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2c75(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xcc2(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2c4b(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xc9d(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2c21(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xc77(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2bf7(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    0xc51(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <mx_strtoseconds@plt>
xor    %ecx,%ecx
mov    0x2bcd(%rip),%rdx
sub    (%rdx),%ecx
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_mx_strtoseconds>:
push   %r14
push   %rbx
push   %rax
lea    0xed6(%rip),%rdi
mov    %rsp,%r14
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x7b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xea6(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x7b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xe80(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x7b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xe5b(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x7b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xe34(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x7b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xe12(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0xe8b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xdec(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0xe8b,(%rsp)
sete   %dil
call   1030 <assert@plt>
lea    0xdc6(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x1dff08b,(%rsp)
01
sete   %dil
call   1030 <assert@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
xor    %edi,%edi
cmpq   $0x1dff08b,(%rsp)
01
sete   %dil
call   1030 <assert@plt>
lea    0xd75(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
mov    0x2d14(%rip),%rbx
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
lea    0xd51(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
lea    0xd3a(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
mov    0x2cc5(%rip),%rbx
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
lea    0xd16(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
lea    0xcff(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
lea    0xce7(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
lea    0xccf(%rip),%rdi
mov    %r14,%rsi
call   1040 <mx_strtoseconds@plt>
xor    %edi,%edi
add    (%rbx),%eax
sete   %dil
call   1030 <assert@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [5 x i8] c"123s\00"
@.str.1 = [6 x i8] c"0123s\00"
@.str.2 = [7 x i8] c"123s0s\00"
@.str.3 = [5 x i8] c"2m3s\00"
@.str.4 = [10 x i8] c" 2 m 3 s \00"
@.str.5 = [9 x i8] c"1h 2m 3s\00"
@.str.6 = [9 x i8] c"2m 3s 1h\00"
@.str.7 = [11 x i8] c"2m 3s 1h1y\00"
@.str.8 = [3 x i8] c"-1\00"
@ERANGE = global i32 0
@.str.9 = [4 x i8] c" -1\00"
@.str.10 = [4 x i8] c"123\00"
@EINVAL = global i32 0
@.str.11 = [5 x i8] c"0123\00"
@.str.12 = [4 x i8] c"1.2\00"
@.str.13 = [4 x i8] c"1,2\00"
@.str.14 = [5 x i8] c"test\00"
define void @test_mx_strtoseconds() {
%1 = alloca i64
%2 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %1)
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 %4)
%6 = load i64, i64* %1
%7 = icmp eq i64 %6, 123
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 %8)
%10 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i64* %1)
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 %12)
%14 = load i64, i64* %1
%15 = icmp eq i64 %14, 123
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 %16)
%18 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i64* %1)
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 %20)
%22 = load i64, i64* %1
%23 = icmp eq i64 %22, 123
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 %24)
%26 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i64* %1)
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 %28)
%30 = load i64, i64* %1
%31 = icmp eq i64 %30, 123
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 %32)
%34 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i64* %1)
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 %36)
%38 = load i64, i64* %1
%39 = icmp eq i64 %38, 123
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i64* %1)
%43 = icmp eq i32 %42, 0
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = load i64, i64* %1
%47 = icmp eq i64 %46, 3723
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 %48)
%50 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i64* %1)
%51 = icmp eq i32 %50, 0
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 %52)
%54 = load i64, i64* %1
%55 = icmp eq i64 %54, 3723
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64* %1)
%59 = icmp eq i32 %58, 0
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = load i64, i64* %1
%63 = icmp eq i64 %62, 31453323
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 %64)
%66 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64* %1)
%67 = icmp eq i32 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = load i64, i64* %1
%71 = icmp eq i64 %70, 31453323
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i64* %1)
%75 = load i32, i32* @ERANGE
%76 = sub nsw i32 0, %75
%77 = icmp eq i32 %74, %76
%78 = zext i1 %77 to i32
%79 = call i32 @assert(i32 %78)
%80 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i64* %1)
%81 = load i32, i32* @ERANGE
%82 = sub nsw i32 0, %81
%83 = icmp eq i32 %80, %82
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 %84)
%86 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i64* %1)
%87 = load i32, i32* @EINVAL
%88 = sub nsw i32 0, %87
%89 = icmp eq i32 %86, %88
%90 = zext i1 %89 to i32
%91 = call i32 @assert(i32 %90)
%92 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i64* %1)
%93 = load i32, i32* @EINVAL
%94 = sub nsw i32 0, %93
%95 = icmp eq i32 %92, %94
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 %96)
%98 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i64* %1)
%99 = load i32, i32* @EINVAL
%100 = sub nsw i32 0, %99
%101 = icmp eq i32 %98, %100
%102 = zext i1 %101 to i32
%103 = call i32 @assert(i32 %102)
%104 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i64* %1)
%105 = load i32, i32* @EINVAL
%106 = sub nsw i32 0, %105
%107 = icmp eq i32 %104, %106
%108 = zext i1 %107 to i32
%109 = call i32 @assert(i32 %108)
%110 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i64* %1)
%111 = load i32, i32* @EINVAL
%112 = sub nsw i32 0, %111
%113 = icmp eq i32 %110, %112
%114 = zext i1 %113 to i32
%115 = call i32 @assert(i32 %114)
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"123s\00"
@.str.1 = [6 x i8] c"0123s\00"
@.str.2 = [7 x i8] c"123s0s\00"
@.str.3 = [5 x i8] c"2m3s\00"
@.str.4 = [10 x i8] c" 2 m 3 s \00"
@.str.5 = [9 x i8] c"1h 2m 3s\00"
@.str.6 = [9 x i8] c"2m 3s 1h\00"
@.str.7 = [11 x i8] c"2m 3s 1h1y\00"
@.str.8 = [3 x i8] c"-1\00"
@ERANGE = global i32 0
@.str.9 = [4 x i8] c" -1\00"
@.str.10 = [4 x i8] c"123\00"
@EINVAL = global i32 0
@.str.11 = [5 x i8] c"0123\00"
@.str.12 = [4 x i8] c"1.2\00"
@.str.13 = [4 x i8] c"1,2\00"
@.str.14 = [5 x i8] c"test\00"
define void @test_mx_strtoseconds() {
%1 = alloca i64
%2 = bitcast i64* %1 to i8*
%3 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %1)
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 %5)
%7 = load i64, i64* %1
%8 = icmp eq i64 %7, 123
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 %9)
%11 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i64* %1)
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 %13)
%15 = load i64, i64* %1
%16 = icmp eq i64 %15, 123
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 %17)
%19 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i64* %1)
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 %21)
%23 = load i64, i64* %1
%24 = icmp eq i64 %23, 123
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 %25)
%27 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i64* %1)
%28 = icmp eq i32 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 %29)
%31 = load i64, i64* %1
%32 = icmp eq i64 %31, 123
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 %33)
%35 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i64* %1)
%36 = icmp eq i32 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 %37)
%39 = load i64, i64* %1
%40 = icmp eq i64 %39, 123
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 %41)
%43 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i64* %1)
%44 = icmp eq i32 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 %45)
%47 = load i64, i64* %1
%48 = icmp eq i64 %47, 3723
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i64* %1)
%52 = icmp eq i32 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = load i64, i64* %1
%56 = icmp eq i64 %55, 3723
%57 = zext i1 %56 to i32
%58 = call i32 @assert(i32 %57)
%59 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64* %1)
%60 = icmp eq i32 %59, 0
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 %61)
%63 = load i64, i64* %1
%64 = icmp eq i64 %63, 31453323
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64* %1)
%68 = icmp eq i32 %67, 0
%69 = zext i1 %68 to i32
%70 = call i32 @assert(i32 %69)
%71 = load i64, i64* %1
%72 = icmp eq i64 %71, 31453323
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 %73)
%75 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i64* %1)
%76 = load i32, i32* @ERANGE
%77 = sub nsw i32 0, %76
%78 = icmp eq i32 %75, %77
%79 = zext i1 %78 to i32
%80 = call i32 @assert(i32 %79)
%81 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i64* %1)
%82 = load i32, i32* @ERANGE
%83 = sub nsw i32 0, %82
%84 = icmp eq i32 %81, %83
%85 = zext i1 %84 to i32
%86 = call i32 @assert(i32 %85)
%87 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i64* %1)
%88 = load i32, i32* @EINVAL
%89 = sub nsw i32 0, %88
%90 = icmp eq i32 %87, %89
%91 = zext i1 %90 to i32
%92 = call i32 @assert(i32 %91)
%93 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i64* %1)
%94 = load i32, i32* @EINVAL
%95 = sub nsw i32 0, %94
%96 = icmp eq i32 %93, %95
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 %97)
%99 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i64* %1)
%100 = load i32, i32* @EINVAL
%101 = sub nsw i32 0, %100
%102 = icmp eq i32 %99, %101
%103 = zext i1 %102 to i32
%104 = call i32 @assert(i32 %103)
%105 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i64* %1)
%106 = load i32, i32* @EINVAL
%107 = sub nsw i32 0, %106
%108 = icmp eq i32 %105, %107
%109 = zext i1 %108 to i32
%110 = call i32 @assert(i32 %109)
%111 = call i32 @mx_strtoseconds(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i64* %1)
%112 = load i32, i32* @EINVAL
%113 = sub nsw i32 0, %112
%114 = icmp eq i32 %111, %113
%115 = zext i1 %114 to i32
%116 = call i32 @assert(i32 %115)
ret void
}