// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_maybe_Maybe_1_ifzy_2_sp54
static struct std_list_List_1 mw_std_maybe_Maybe_1_ifzy_2_sp54 (VAL in_zux1_1, struct std_list_List_1 in_Map_2, struct std_maybe_Maybe_1 in_Maybe_3) {
	struct std_list_List_1 branch_Map_5;
	switch ((in_Maybe_3).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v6 = mtp_std_maybe_Maybe_1_Some(in_Maybe_3);
			struct std_map_KeyValuePair_2* v7 = mtw_std_map_KeyValuePair_2_KeyValuePair(in_zux1_1, v6);
			incref(MK_std_list_List_1(in_Map_2));
			struct std_list_List_1 v8 = mw_std_list_List_1_cons(MK_std_map_KeyValuePair_2(v7), in_Map_2);
			decref(MK_std_list_List_1(in_Map_2));
			branch_Map_5 = v8;
		} break;
		case std_maybe_Maybe_1_None: {
			decref(in_zux1_1);
			branch_Map_5 = in_Map_2;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	return branch_Map_5;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x30(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x40(%rbp)
movq %r9, -0x38(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x10c(%rbp)
testl %eax, %eax
je 0x154403
jmp 0x1541c5
movl -0x10c(%rbp), %eax
subl $0x1, %eax
jne 0x154472
jmp 0x1541d6
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x174a0
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0xdab90
movq %rax, -0x58(%rbp)
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1542ab
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x1542ab
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x88(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1542ab
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1542ad
movq -0x58(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x23e291(%rip), %rax    # 0x392550
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
movl -0x30(%rbp), %edx
movq -0x28(%rbp), %rcx
callq 0x12740
movl %eax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1543e6
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
cmpq $0x0, %rax
je 0x1543e6
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1543e6
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1543e4
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
callq 0x12780
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x108(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x127c0
jmp 0x1543e6
jmp 0x1543e8
movq -0xa8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15448b
jmp 0x154405
movq -0x18(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x15445e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x20(%rbp), %rax
cmpq $0x0, %rax
je 0x15445e
movq -0x20(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x15445e
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x20(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x15445c
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x127c0
jmp 0x15445e
jmp 0x154460
movq -0x30(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x15448b
leaq 0x1ffa08(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopl (%rax,%rax)