// File: /workspace/github_cpp_makefile_star2_O3/halfflat[P]tinyopt/test/test_run.cc
// Function: run_restore_mandatory_Test::TestBody()
TEST(run, restore_mandatory) {
    bool m = false, a = false;
    to::option opts[] = {
        { to::set(m), "-m", to::flag, to::mandatory },
        { to::set(a), "-a", to::flag }
    };

    to::saved_options restore1;
    restore1.add("-m");
    mockargs M1("-a\0");

    auto r1 = to::run(opts, M1.argc, M1.argv, restore1);
    EXPECT_TRUE(r1);
    EXPECT_TRUE(a);
    EXPECT_TRUE(m);

    a = m = false;

    to::saved_options restore2;
    restore2.add("-a");
    mockargs M2("-m\0");

    auto r2 = to::run(opts, M2.argc, M2.argv, restore2);
    EXPECT_TRUE(r2);
    EXPECT_TRUE(a);
    EXPECT_TRUE(m);

    to::saved_options restore3;
    restore3.add("-a");
    mockargs M3("-a\0");

    EXPECT_THROW(to::run(opts, M3.argc, M3.argv), to::missing_mandatory_option);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x300, %rsp            # imm = 0x300
xorl %eax, %eax
leaq 0x7(%rsp), %rcx
movb %al, (%rcx)
movb %al, 0x6(%rsp)
leaq 0x1e0(%rsp), %rsi
movq $0x1, 0x8(%rsi)
movq %rcx, (%rsi)
leaq 0x3f1d(%rip), %rbx      # 0x3d248
movq %rbx, 0x18(%rsi)
leaq 0x3f1e(%rip), %r15      # 0x3d254
movq %r15, 0x10(%rsi)
leaq 0x198(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x90(%rsp), %r8
movl $0x8, (%r8)
leaq 0x36023(%rip), %rdx     # 0x6f381
leaq 0x220(%rsp), %r14
movq %r14, %rdi
callq 0x3c0ee
leaq 0x290(%rsp), %r14
leaq 0x1c0(%rsp), %rsi
movq $0x1, 0x8(%rsi)
leaq 0x6(%rsp), %rax
movq %rax, (%rsi)
movq %rbx, 0x18(%rsi)
movq %r15, 0x10(%rsi)
leaq 0x28(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x33c14(%rip), %rdx     # 0x6cfbc
movq %r14, %rdi
callq 0x3bbc4
movq 0x1d0(%rsp), %rax
testq %rax, %rax
je 0x393cf
leaq 0x1c0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x1f0(%rsp), %rax
testq %rax, %rax
je 0x393ee
leaq 0x1e0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x100(%rsp)
movq $0x0, 0x110(%rsp)
leaq 0x168(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x35f69(%rip), %rsi     # 0x6f381
leaq 0x35f64(%rip), %rdx     # 0x6f383
leaq 0x158(%rsp), %rdi
callq 0x1558a
leaq 0x100(%rsp), %rdi
leaq 0x158(%rsp), %rsi
callq 0x33dd4
movq 0x158(%rsp), %rdi
cmpq %r14, %rdi
je 0x3945e
movq 0x168(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x36452(%rip), %rsi     # 0x6f8b7
leaq 0x198(%rsp), %rdi
callq 0x29a42
leaq 0x198(%rsp), %rdx
movq 0x8(%rdx), %rcx
leaq 0x178(%rsp), %rdi
leaq 0x220(%rsp), %rsi
leaq 0x100(%rsp), %r8
callq 0x3bccd
movb 0x178(%rsp), %al
movb %al, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
testb %al, %al
jne 0x39575
leaq 0x30(%rsp), %r14
leaq 0xb8(%rsp), %rdi
callq 0x4ca86
leaq 0x35df3(%rip), %rdx     # 0x6f2c3
leaq 0x32c2f(%rip), %rcx     # 0x6c106
leaq 0x32c2e(%rip), %r8      # 0x6c10c
leaq 0x90(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x46893
movq 0x90(%rsp), %r8
leaq 0x35d67(%rip), %rdx     # 0x6f266
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0xb6, %ecx
callq 0x4902a
leaq 0x8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x46a1c
leaq 0x8(%rsp), %rdi
callq 0x49096
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39550
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x39563
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x30(%rsp), %rsi
testq %rsi, %rsi
je 0x39575
movq %r14, %rdi
callq 0x153ca
movb 0x6(%rsp), %al
movb %al, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
testb %al, %al
jne 0x3964c
leaq 0x30(%rsp), %r14
leaq 0xb8(%rsp), %rdi
callq 0x4ca86
leaq 0x33a16(%rip), %rdx     # 0x6cfbd
leaq 0x32b58(%rip), %rcx     # 0x6c106
leaq 0x32b57(%rip), %r8      # 0x6c10c
leaq 0x90(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x46893
movq 0x90(%rsp), %r8
leaq 0x35c90(%rip), %rdx     # 0x6f266
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0xb7, %ecx
callq 0x4902a
leaq 0x8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x46a1c
leaq 0x8(%rsp), %rdi
callq 0x49096
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39627
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x3963a
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x30(%rsp), %rsi
testq %rsi, %rsi
je 0x3964c
movq %r14, %rdi
callq 0x153ca
movb 0x7(%rsp), %al
movb %al, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
testb %al, %al
jne 0x39723
leaq 0x30(%rsp), %r14
leaq 0xb8(%rsp), %rdi
callq 0x4ca86
leaq 0x35d04(%rip), %rdx     # 0x6f382
leaq 0x32a81(%rip), %rcx     # 0x6c106
leaq 0x32a80(%rip), %r8      # 0x6c10c
leaq 0x90(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x46893
movq 0x90(%rsp), %r8
leaq 0x35bb9(%rip), %rdx     # 0x6f266
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0xb8, %ecx
callq 0x4902a
leaq 0x8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x46a1c
leaq 0x8(%rsp), %rdi
callq 0x49096
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x396fe
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x39711
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x30(%rsp), %rsi
testq %rsi, %rsi
je 0x39723
movq %r14, %rdi
callq 0x153ca
xorl %eax, %eax
movb %al, 0x7(%rsp)
movb %al, 0x6(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xe0(%rsp)
movq $0x0, 0xf0(%rsp)
leaq 0x148(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x33865(%rip), %rsi     # 0x6cfbc
leaq 0x33860(%rip), %rdx     # 0x6cfbe
leaq 0x138(%rsp), %rdi
callq 0x1558a
leaq 0xe0(%rsp), %rdi
leaq 0x138(%rsp), %rsi
callq 0x33dd4
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x3979d
movq 0x148(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x36117(%rip), %rsi     # 0x6f8bb
leaq 0x90(%rsp), %rdi
callq 0x29a42
leaq 0x90(%rsp), %rdx
movq 0x8(%rdx), %rcx
leaq 0xb8(%rsp), %rdi
leaq 0x220(%rsp), %rsi
leaq 0xe0(%rsp), %r8
callq 0x3bccd
movb 0xb8(%rsp), %al
movb %al, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
testb %al, %al
jne 0x3989f
leaq 0x10(%rsp), %r14
leaq 0x50(%rsp), %rdi
callq 0x4ca86
leaq 0x35b07(%rip), %rdx     # 0x6f313
leaq 0x328f3(%rip), %rcx     # 0x6c106
leaq 0x328f2(%rip), %r8      # 0x6c10c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x46893
movq 0x28(%rsp), %r8
leaq 0x35a31(%rip), %rdx     # 0x6f266
leaq 0x70(%rsp), %rdi
movl $0x1, %esi
movl $0xc1, %ecx
callq 0x4902a
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x46a1c
leaq 0x70(%rsp), %rdi
callq 0x49096
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3987d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x3988d
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x3989f
movq %r14, %rdi
callq 0x153ca
movb 0x6(%rsp), %al
movb %al, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
testb %al, %al
jne 0x39961
leaq 0x10(%rsp), %r14
leaq 0x50(%rsp), %rdi
callq 0x4ca86
leaq 0x336ef(%rip), %rdx     # 0x6cfbd
leaq 0x32831(%rip), %rcx     # 0x6c106
leaq 0x32830(%rip), %r8      # 0x6c10c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x46893
movq 0x28(%rsp), %r8
leaq 0x3596f(%rip), %rdx     # 0x6f266
leaq 0x70(%rsp), %rdi
movl $0x1, %esi
movl $0xc2, %ecx
callq 0x4902a
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x46a1c
leaq 0x70(%rsp), %rdi
callq 0x49096
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3993f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x3994f
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x39961
movq %r14, %rdi
callq 0x153ca
movb 0x7(%rsp), %al
movb %al, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
testb %al, %al
jne 0x39a23
leaq 0x10(%rsp), %r14
leaq 0x50(%rsp), %rdi
callq 0x4ca86
leaq 0x359f2(%rip), %rdx     # 0x6f382
leaq 0x3276f(%rip), %rcx     # 0x6c106
leaq 0x3276e(%rip), %r8      # 0x6c10c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x46893
movq 0x28(%rsp), %r8
leaq 0x358ad(%rip), %rdx     # 0x6f266
leaq 0x70(%rsp), %rdi
movl $0x1, %esi
movl $0xc3, %ecx
callq 0x4902a
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x46a1c
leaq 0x70(%rsp), %rdi
callq 0x49096
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39a01
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x39a11
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x39a23
movq %r14, %rdi
callq 0x153ca
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0x80(%rsp)
leaq 0x128(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x33572(%rip), %rsi     # 0x6cfbc
leaq 0x3356d(%rip), %rdx     # 0x6cfbe
leaq 0x118(%rsp), %rdi
callq 0x1558a
leaq 0x70(%rsp), %rdi
leaq 0x118(%rsp), %rsi
callq 0x33dd4
movq 0x118(%rsp), %rdi
cmpq %r14, %rdi
je 0x39a8d
movq 0x128(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x35e23(%rip), %rsi     # 0x6f8b7
leaq 0x28(%rsp), %rdi
callq 0x29a42
leaq 0x18(%rsp), %r15
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
callq 0x4ca83
testb %al, %al
je 0x39b1a
leaq 0x28(%rsp), %rdx
movq 0x8(%rdx), %rcx
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %r8
movaps %xmm0, (%r8)
movq $0x0, 0x10(%r8)
leaq 0x200(%rsp), %rdi
leaq 0x220(%rsp), %rsi
callq 0x3bccd
cmpb $0x1, 0x200(%rsp)
jne 0x39b08
leaq 0x208(%rsp), %rdi
callq 0x20770
movb $0x0, 0x200(%rsp)
leaq 0x50(%rsp), %rdi
callq 0x20770
leaq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x35b0a(%rip), %rcx     # 0x6f634
movl $0x80, %r8d
xorl %esi, %esi
callq 0xd960
leaq 0x50(%rsp), %rdi
callq 0x4ca86
movq 0x8(%rsp), %r8
leaq 0x35719(%rip), %rdx     # 0x6f266
leaq 0xd8(%rsp), %rdi
movl $0x1, %esi
movl $0xc9, %ecx
callq 0x4902a
leaq 0xd8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x46a1c
leaq 0xd8(%rsp), %rdi
callq 0x49096
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x39b93
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x39baa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x39bc1
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
leaq 0x70(%rsp), %rdi
callq 0x20770
cmpb $0x1, 0xb8(%rsp)
jne 0x39be2
leaq 0xc0(%rsp), %rdi
callq 0x20770
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x39bff
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
leaq 0xe0(%rsp), %rdi
callq 0x20770
cmpb $0x1, 0x178(%rsp)
jne 0x39c23
leaq 0x180(%rsp), %rdi
callq 0x20770
movq 0x1a8(%rsp), %rdi
testq %rdi, %rdi
je 0x39c40
movq 0x1b8(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
leaq 0x100(%rsp), %rdi
callq 0x20770
movl $0xe0, %r14d
leaq (%rsp,%r14), %rdi
addq $0x200, %rdi            # imm = 0x200
callq 0x2145a
leaq (%rsp,%r14), %rdi
addq $0x1e8, %rdi            # imm = 0x1E8
callq 0x2148a
leaq (%rsp,%r14), %rbx
addq $0x1d0, %rbx            # imm = 0x1D0
movq %rbx, %rdi
callq 0x214ba
movq -0x10(%rbx), %rax
testq %rax, %rax
je 0x39ca4
leaq (%rsp,%r14), %rdi
addq $0x1b0, %rdi            # imm = 0x1B0
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
addq $-0x70, %r14
jne 0x39c53
addq $0x300, %rsp            # imm = 0x300
popq %rbx
popq %r14
popq %r15
retq
movq %rdx, %r14
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x20770
jmp 0x39dfc
jmp 0x39cda
jmp 0x39ceb
jmp 0x39d0b
jmp 0x39cda
jmp 0x39d20
jmp 0x39ceb
jmp 0x39d0b
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x49096
jmp 0x39cee
jmp 0x39d20
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39d0e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x39d0e
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x39d23
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x39d23
movq %rax, %rbx
movq 0x10(%rsp), %rsi
testq %rsi, %rsi
je 0x39f72
movq %r14, %rdi
callq 0x153ca
jmp 0x39f72
jmp 0x39d4c
jmp 0x39d5d
jmp 0x39d83
jmp 0x39d4c
jmp 0x39d9b
jmp 0x39d5d
jmp 0x39d83
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x49096
jmp 0x39d60
jmp 0x39d9b
movq %rax, %rbx
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39d86
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x39d86
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x39d9e
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x39d9e
movq %rax, %rbx
movq 0x30(%rsp), %rsi
testq %rsi, %rsi
je 0x39fdc
movq %r14, %rdi
callq 0x153ca
jmp 0x39fdc
jmp 0x3a0df
jmp 0x3a0df
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x49096
jmp 0x39dd8
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x39f16
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x39f16
jmp 0x39f13
movq %rdx, %r14
movq %rax, %rbx
movq %rbx, %rdi
cmpl $0x3, %r14d
jne 0x39e14
callq 0xd200
callq 0xd9e0
jmp 0x39b93
callq 0xd200
cmpl $0x2, %r14d
jne 0x39eb9
movq %rax, %rbx
leaq 0x3578e(%rip), %rsi     # 0x6f5bb
leaq 0x8(%rsp), %rdi
callq 0xd800
movq (%rbx), %rax
movq -0x8(%rax), %rsi
leaq 0x50(%rsp), %rdi
callq 0x21030
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x8(%rsp), %rdi
callq 0xd180
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39e77
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
leaq 0x397a9(%rip), %rsi     # 0x73627
leaq 0x8(%rsp), %rdi
callq 0xdb40
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xdb40
leaq 0x33519(%rip), %rsi     # 0x6d3be
leaq 0x8(%rsp), %rdi
callq 0xdb40
callq 0xd9e0
jmp 0x39b37
leaq 0x35671(%rip), %rsi     # 0x6f531
leaq 0x8(%rsp), %rdi
callq 0xd800
callq 0xd9e0
jmp 0x39b37
movq %rax, %rbx
callq 0xd9e0
jmp 0x39f16
jmp 0x39f13
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39f07
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x39f07
jmp 0x39f04
jmp 0x39f13
movq %rax, %rbx
callq 0xd9e0
jmp 0x39f16
jmp 0x3a0df
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x39f2d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x39f68
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
jmp 0x39f5e
jmp 0x39f65
movq %rax, %rbx
movq 0x118(%rsp), %rdi
cmpq %r14, %rdi
je 0x39f68
movq 0x128(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x39f68
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x20770
cmpb $0x1, 0xb8(%rsp)
jne 0x39f89
leaq 0xc0(%rsp), %rdi
callq 0x20770
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x39fcf
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
jmp 0x39fcf
movq %rax, %rbx
jmp 0x39f89
jmp 0x39fcc
movq %rax, %rbx
movq 0x138(%rsp), %rdi
cmpq %r14, %rdi
je 0x39fcf
movq 0x148(%rsp), %rsi
incq %rsi
jmp 0x39fa1
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x20770
cmpb $0x1, 0x178(%rsp)
jne 0x39ff3
leaq 0x180(%rsp), %rdi
callq 0x20770
movq 0x1a8(%rsp), %rdi
testq %rdi, %rdi
je 0x3a010
movq 0x1b8(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
leaq 0x100(%rsp), %rdi
callq 0x20770
movl $0x70, %r14d
leaq (%rsp,%r14), %rdi
addq $0x220, %rdi            # imm = 0x220
callq 0x206e8
addq $-0x70, %r14
cmpq $-0x70, %r14
jne 0x3a023
movq %rbx, %rdi
callq 0xda70
movq %rax, %rbx
jmp 0x39ff3
jmp 0x3a069
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r14, %rdi
je 0x3a010
movq 0x168(%rsp), %rsi
incq %rsi
jmp 0x3a00b
movq %rax, %rbx
jmp 0x3a010
movq %rax, %rbx
movq 0x1d0(%rsp), %rax
testq %rax, %rax
je 0x3a097
leaq 0x1c0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x3a097
jmp 0x3a0df
movq %rax, %rbx
movq 0x1f0(%rsp), %rax
testq %rax, %rax
je 0x3a0b6
leaq 0x1e0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x220(%rsp), %r15
cmpq %r14, %r15
je 0x3a03d
addq $-0x70, %r14
movq %r14, %rdi
callq 0x206e8
cmpq %r15, %r14
jne 0x3a0c7
jmp 0x3a03d
jmp 0x3a0df
movq %rax, %rdi
callq 0x1536f
nop