// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_byte_Byte_tozeupper
static enum std_byte_Byte mw_std_byte_Byte_tozeupper (enum std_byte_Byte in_Byte_1) {
	enum std_byte_Byte v3 = std_byte_Byte_Bzqazq;
	enum std_byte_Byte v4 = std_byte_Byte_Bzqzzzq;
	int64_t v5 = v3;
	INT v6 = i64_to_int(v5);
	uint64_t v7 = int_to_u64(v6);
	uint8_t v8 = (uint8_t)(v7);
	int64_t v9 = in_Byte_1;
	INT v10 = i64_to_int(v9);
	uint64_t v11 = int_to_u64(v10);
	uint8_t v12 = (uint8_t)(v11);
	uint64_t v13 = (uint64_t)(v12);
	uint32_t v14 = (uint32_t)(v13);
	uint64_t v15 = (uint64_t)(v8);
	uint32_t v16 = (uint32_t)(v15);
	uint64_t v17 = (uint64_t)(v16);
	uint64_t v18 = (uint64_t)(v14);
	bool v19 = (v17 <= v18);
	bool branch_Bool_20;
	if (v19) {
		int64_t v21 = in_Byte_1;
		INT v22 = i64_to_int(v21);
		uint64_t v23 = int_to_u64(v22);
		uint8_t v24 = (uint8_t)(v23);
		int64_t v25 = v4;
		INT v26 = i64_to_int(v25);
		uint64_t v27 = int_to_u64(v26);
		uint8_t v28 = (uint8_t)(v27);
		uint64_t v29 = (uint64_t)(v28);
		uint32_t v30 = (uint32_t)(v29);
		uint64_t v31 = (uint64_t)(v24);
		uint32_t v32 = (uint32_t)(v31);
		uint64_t v33 = (uint64_t)(v32);
		uint64_t v34 = (uint64_t)(v30);
		bool v35 = (v33 <= v34);
		branch_Bool_20 = v35;
	} else {
		bool v36 = false;
		branch_Bool_20 = v36;
	}
	enum std_byte_Byte branch_Byte_37;
	if (branch_Bool_20) {
		int64_t v38 = in_Byte_1;
		INT v39 = i64_to_int(v38);
		uint64_t v40 = int_to_u64(v39);
		uint8_t v41 = (uint8_t)(v40);
		uint8_t v42 = 32;
		uint64_t v43 = (uint64_t)(v41);
		uint64_t v44 = (uint64_t)(v42);
		uint64_t v45 = (v43 - v44);
		uint8_t v46 = (uint8_t)(v45);
		uint64_t v47 = (uint64_t)(v46);
		INT v48 = u64_to_int(v47);
		int64_t v49 = int_to_i64(v48);
		branch_Byte_37 = ((enum std_byte_Byte)v49);
	} else {
		branch_Byte_37 = in_Byte_1;
	}
	return branch_Byte_37;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movl %edi, -0x4(%rbp)
movl $0x61, -0x8(%rbp)
movl $0x7a, -0xc(%rbp)
movl -0x8(%rbp), %eax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1a290
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x1b680
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movb %al, -0x29(%rbp)
movl -0x4(%rbp), %eax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x1a290
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0x1b680
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movb %al, -0x49(%rbp)
movzbl -0x49(%rbp), %eax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movl %eax, -0x5c(%rbp)
movzbl -0x29(%rbp), %eax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movl %eax, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
movq %rax, -0x78(%rbp)
movl -0x5c(%rbp), %eax
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x80(%rbp), %rax
setbe %al
andb $0x1, %al
movb %al, -0x81(%rbp)
testb $0x1, -0x81(%rbp)
je 0x1e49ab
movl -0x4(%rbp), %eax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rdi
callq 0x1a290
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0x1b680
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movb %al, -0xa1(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
callq 0x1a290
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
callq 0x1b680
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movb %al, -0xc1(%rbp)
movzbl -0xc1(%rbp), %eax
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
movl %eax, -0xd4(%rbp)
movzbl -0xa1(%rbp), %eax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movl %eax, -0xe4(%rbp)
movl -0xe4(%rbp), %eax
movq %rax, -0xf0(%rbp)
movl -0xd4(%rbp), %eax
movq %rax, -0xf8(%rbp)
movq -0xf0(%rbp), %rax
cmpq -0xf8(%rbp), %rax
setbe %al
andb $0x1, %al
movb %al, -0xf9(%rbp)
movb -0xf9(%rbp), %al
andb $0x1, %al
movb %al, -0x82(%rbp)
jmp 0x1e49c0
movb $0x0, -0xfa(%rbp)
movb -0xfa(%rbp), %al
andb $0x1, %al
movb %al, -0x82(%rbp)
testb $0x1, -0x82(%rbp)
je 0x1e4a92
movl -0x4(%rbp), %eax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rdi
callq 0x1a290
movq %rax, -0x110(%rbp)
movq -0x110(%rbp), %rdi
callq 0x1b680
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rax
movb %al, -0x119(%rbp)
movb $0x20, -0x11a(%rbp)
movzbl -0x119(%rbp), %eax
movq %rax, -0x128(%rbp)
movzbl -0x11a(%rbp), %eax
movq %rax, -0x130(%rbp)
movq -0x128(%rbp), %rax
subq -0x130(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movb %al, -0x139(%rbp)
movzbl -0x139(%rbp), %eax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rdi
callq 0x1b520
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rdi
callq 0xc6c0
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
movl %eax, -0x100(%rbp)
jmp 0x1e4a9b
movl -0x4(%rbp), %eax
movl %eax, -0x100(%rbp)
movl -0x100(%rbp), %eax
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
nopw (%rax,%rax)