// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99APIArg_popzeconsumezephysicalzx
static struct std_maybe_Maybe_1 mw_mirth_c99_C99APIArg_popzeconsumezephysicalzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99APIArg* in_C99APIArg_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	incref(MK_mirth_c99_C99APIArg(in_C99APIArg_3));
	struct mirth_mirth_zaMirth* v7;
	struct mirth_c99_zaC99Branch* v8;
	STR* v9 = mw_mirth_c99_C99APIArg_popzeconsumezx(in_zaMirth_1, in_zaC99Branch_2, in_C99APIArg_3, &v7, &v8);
	struct mirth_mirth_zaMirth* v10;
	bool v11 = mw_mirth_c99_C99APIArg_iszephysicalzy(v7, in_C99APIArg_3, &v10);
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_12;
	struct mirth_mirth_zaMirth* branch_zaMirth_13;
	struct std_maybe_Maybe_1 branch_Maybe_14;
	if (v11) {
		struct std_maybe_Maybe_1 v15 = mtw_std_maybe_Maybe_1_Some(MKSTR(v9));
		branch_Maybe_14 = v15;
		branch_zaMirth_13 = v10;
		branch_zaC99Branch_12 = v8;
	} else {
		decref(MKSTR(v9));
		struct std_maybe_Maybe_1 v16 = { .tag=std_maybe_Maybe_1_None };
		branch_Maybe_14 = v16;
		branch_zaMirth_13 = v10;
		branch_zaC99Branch_12 = v8;
	}
	*out_zaC99Branch_5 = branch_zaC99Branch_12;
	*out_zaMirth_4 = branch_zaMirth_13;
	return branch_Maybe_14;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0xe98d2(%rip), %rax     # 0x3931b0
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2a9970
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0xe98ad(%rip), %rax     # 0x3931b0
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x2a9970
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0xe9882(%rip), %rax     # 0x3931b0
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2a9970
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0xe985d(%rip), %rax     # 0x3931b0
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2a9972
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
leaq -0x80(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x2a76d0
movq %rax, -0x90(%rbp)
movq -0x80(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x98(%rbp), %rdx
callq 0x286570
andb $0x1, %al
movb %al, -0x99(%rbp)
testb $0x1, -0x99(%rbp)
je 0x2a9a31
movq -0x90(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0xe7789(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0xca10
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
jmp 0x2a9b8d
jmp 0x2a9a33
movq -0x90(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0xe7710(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2a9b46
movq -0x90(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0xe76db(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rax
cmpq $0x0, %rax
je 0x2a9b46
movq -0x90(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0xe76a0(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movq -0x100(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2a9b46
movq -0x90(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0xe766f(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2a9b44
movq -0x90(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0xe7632(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
callq 0x127c0
jmp 0x2a9b46
jmp 0x2a9b48
leaq -0x130(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x130(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movq -0xb0(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopl (%rax)