LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: expr_bor
static void _expr_bor(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);

	#define	_CHECK	\
	{	\
		assert(node->nchilds == 2);	\
	}

	uint32_t node_type = node->type;

	switch (node_type) {
		case FE_NODE_EXPR_BOR: {
			_CHECK
			ParserASTNode *node_oprd1 = node->childs[0];
			ParserASTNode *node_oprd2 = node->childs[1];
			_expr_bxor(ctx, node_oprd1);
			_expr_bxor(ctx, node_oprd2);

			const char *operator = "|";

			_check_expr_bor_operands(
				ctx, node, node_oprd1, node_oprd2, operator, true
			);

			FE_EXPR_AST_NODE_COPY_CONSTANT2(node, node_oprd1, node_oprd2);

			if (FE_EXPR_AST_NODE_GET_CONSTANT(node)) {
				_calc_binary_constexpr(ctx, node_type, node, node_oprd1, node_oprd2);
			}
			break;
		}
		default: {
			_expr_bxor(ctx, node);
			break;
		}
	}

	#undef	_CHECK
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0x2f677
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0xe40, (%rsi)          # imm = 0xE40
jne 0x2f65a
cmpl $0x2, 0x44(%rbx)
jne 0x2f696
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x2f6b5
movq %r14, %rdi
movq %r12, %rsi
callq 0x2f6b5
leaq 0x1ca9a(%rip), %r8      # 0x4c0ac
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
movl $0x1, %r9d
callq 0x2dcba
cmpb $0x1, 0x70(%r15)
jne 0x2f66a
movb 0x70(%r12), %al
movb %al, 0x70(%rbx)
cmpb $0x1, %al
jne 0x2f66e
movq %r14, %rdi
movl $0xe40, %esi            # imm = 0xE40
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r8
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2e578
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2f6b5
movb $0x0, 0x70(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14718(%rip), %rdi     # 0x43d96
leaq 0x1c1d5(%rip), %rsi     # 0x4b85a
leaq 0x1c9ef(%rip), %rcx     # 0x4c07b
movl $0x11f5, %edx           # imm = 0x11F5
callq 0x30a0
leaq 0x1c5b8(%rip), %rdi     # 0x4bc55
leaq 0x1c1b6(%rip), %rsi     # 0x4b85a
leaq 0x1c9d0(%rip), %rcx     # 0x4c07b
movl $0x1200, %edx           # imm = 0x1200
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: expr_bxor
static void _expr_bxor(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);

	#define	_CHECK	\
	{	\
		assert(node->nchilds == 2);	\
	}

	uint32_t node_type = node->type;

	switch (node_type) {
		case FE_NODE_EXPR_BXOR: {
			_CHECK
			ParserASTNode *node_oprd1 = node->childs[0];
			ParserASTNode *node_oprd2 = node->childs[1];
			_expr_band(ctx, node_oprd1);
			_expr_band(ctx, node_oprd2);

			const char *operator = "^";

			_check_expr_bxor_operands(
				ctx, node, node_oprd1, node_oprd2, operator, true
			);

			FE_EXPR_AST_NODE_COPY_CONSTANT2(node, node_oprd1, node_oprd2);

			if (FE_EXPR_AST_NODE_GET_CONSTANT(node)) {
				_calc_binary_constexpr(ctx, node_type, node, node_oprd1, node_oprd2);
			}
			break;
		}
		default: {
			_expr_band(ctx, node);
			break;
		}
	}

	#undef	_CHECK
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0x2f76e
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0xe50, (%rsi)          # imm = 0xE50
jne 0x2f751
cmpl $0x2, 0x44(%rbx)
jne 0x2f78d
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x2f7ac
movq %r14, %rdi
movq %r12, %rsi
callq 0x2f7ac
leaq 0x1c9d7(%rip), %r8      # 0x4c0e0
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
movl $0x1, %r9d
callq 0x2de3a
cmpb $0x1, 0x70(%r15)
jne 0x2f761
movb 0x70(%r12), %al
movb %al, 0x70(%rbx)
cmpb $0x1, %al
jne 0x2f765
movq %r14, %rdi
movl $0xe50, %esi            # imm = 0xE50
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r8
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2e578
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2f7ac
movb $0x0, 0x70(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14621(%rip), %rdi     # 0x43d96
leaq 0x1c0de(%rip), %rsi     # 0x4b85a
leaq 0x1c92b(%rip), %rcx     # 0x4c0ae
movl $0x11a7, %edx           # imm = 0x11A7
callq 0x30a0
leaq 0x1c4c1(%rip), %rdi     # 0x4bc55
leaq 0x1c0bf(%rip), %rsi     # 0x4b85a
leaq 0x1c90c(%rip), %rcx     # 0x4c0ae
movl $0x11b2, %edx           # imm = 0x11B2
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: expr_band
static void _expr_band(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);

	#define	_CHECK	\
	{	\
		assert(node->nchilds == 2);	\
	}

	uint32_t node_type = node->type;

	switch (node_type) {
		case FE_NODE_EXPR_BAND: {
			_CHECK
			ParserASTNode *node_oprd1 = node->childs[0];
			ParserASTNode *node_oprd2 = node->childs[1];
			_expr_eq(ctx, node_oprd1);
			_expr_eq(ctx, node_oprd2);

			const char *operator = "&";

			_check_expr_band_operands(
				ctx, node, node_oprd1, node_oprd2, operator, true
			);

			FE_EXPR_AST_NODE_COPY_CONSTANT2(node, node_oprd1, node_oprd2);

			if (FE_EXPR_AST_NODE_GET_CONSTANT(node)) {
				_calc_binary_constexpr(ctx, node_type, node, node_oprd1, node_oprd2);
			}
			break;
		}
		default: {
			_expr_eq(ctx, node);
			break;
		}
	}

	#undef	_CHECK
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0x2f865
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0xe60, (%rsi)          # imm = 0xE60
jne 0x2f848
cmpl $0x2, 0x44(%rbx)
jne 0x2f884
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x2f8a3
movq %r14, %rdi
movq %r12, %rsi
callq 0x2f8a3
leaq 0x155be(%rip), %r8      # 0x44dbe
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
movl $0x1, %r9d
callq 0x2db3a
cmpb $0x1, 0x70(%r15)
jne 0x2f858
movb 0x70(%r12), %al
movb %al, 0x70(%rbx)
cmpb $0x1, %al
jne 0x2f85c
movq %r14, %rdi
movl $0xe60, %esi            # imm = 0xE60
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r8
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2e578
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2f8a3
movb $0x0, 0x70(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1452a(%rip), %rdi     # 0x43d96
leaq 0x1bfe7(%rip), %rsi     # 0x4b85a
leaq 0x1c868(%rip), %rcx     # 0x4c0e2
movl $0x1159, %edx           # imm = 0x1159
callq 0x30a0
leaq 0x1c3ca(%rip), %rdi     # 0x4bc55
leaq 0x1bfc8(%rip), %rsi     # 0x4b85a
leaq 0x1c849(%rip), %rcx     # 0x4c0e2
movl $0x1164, %edx           # imm = 0x1164
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: is_number_type_node
static bool _is_number_type_node(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);
	assert(FE_IS_EXPR_NODE(node->type));

	return _is_number_type(FE_EXPR_AST_NODE_GET_TYPE(node));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x3152c
movzbl 0x1(%rdi), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x3154b
movb 0x60(%rdi), %al
decb %al
cmpb $0xb, %al
setb %al
popq %rbp
retq
leaq 0x12863(%rip), %rdi     # 0x43d96
leaq 0x1a320(%rip), %rsi     # 0x4b85a
leaq 0x1b479(%rip), %rcx     # 0x4c9ba
movl $0x1ed, %edx            # imm = 0x1ED
callq 0x30a0
leaq 0x1b4a5(%rip), %rdi     # 0x4c9f7
leaq 0x1a301(%rip), %rsi     # 0x4b85a
leaq 0x1b45a(%rip), %rcx     # 0x4c9ba
movl $0x1ee, %edx            # imm = 0x1EE
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: get_constexpr_int64
static int64_t _get_constexpr_int64(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);
	assert(FE_IS_EXPR_NODE(node->type));
	assert(FE_EXPR_AST_NODE_GET_CONSTANT(node));

	#define	_A(type)	\
		case FE_TYPE_##type: {	\
			return (int64_t) FE_EXPR_AST_NODE_GET_CONSTEXPR_RESULT_##type##_VAL(node);	\
		}

	switch (FE_EXPR_AST_NODE_GET_CONSTANT_TYPE(node)) {
		_A(CHAR)
		_A(INT8)
		_A(INT16)
		_A(INT32)
		_A(INT64)
		_A(UINT8)
		_A(UINT16)
		_A(UINT32)
		_A(UINT64)
		_A(FLOAT)
		_A(DOUBLE)
		_A(POINTER)
		default: {
			assert(0);
			return 0;
		}
	}

	#undef	_A
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x32d76
movzbl 0x1(%rdi), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x32d95
cmpb $0x0, 0x70(%rdi)
je 0x32db4
movzbl 0x71(%rdi), %eax
decl %eax
cmpl $0xf, %eax
ja 0x32dd3
leaq 0x18831(%rip), %rcx     # 0x4b548
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x88(%rdi), %rax
jmp 0x32d74
movsbq 0x88(%rdi), %rax
jmp 0x32d74
cvttsd2si 0x88(%rdi), %rax
jmp 0x32d74
movl 0x88(%rdi), %eax
jmp 0x32d74
cvttss2si 0x88(%rdi), %rax
jmp 0x32d74
movzwl 0x88(%rdi), %eax
jmp 0x32d74
movswq 0x88(%rdi), %rax
jmp 0x32d74
movslq 0x88(%rdi), %rax
jmp 0x32d74
movzbl 0x88(%rdi), %eax
popq %rbp
retq
leaq 0x11019(%rip), %rdi     # 0x43d96
leaq 0x18ad6(%rip), %rsi     # 0x4b85a
leaq 0x19eed(%rip), %rcx     # 0x4cc78
movl $0x987, %edx            # imm = 0x987
callq 0x30a0
leaq 0x19c5b(%rip), %rdi     # 0x4c9f7
leaq 0x18ab7(%rip), %rsi     # 0x4b85a
leaq 0x19ece(%rip), %rcx     # 0x4cc78
movl $0x988, %edx            # imm = 0x988
callq 0x30a0
leaq 0x19efc(%rip), %rdi     # 0x4ccb7
leaq 0x18a98(%rip), %rsi     # 0x4b85a
leaq 0x19eaf(%rip), %rcx     # 0x4cc78
movl $0x989, %edx            # imm = 0x989
callq 0x30a0
leaq 0xd5aa(%rip), %rdi      # 0x40384
leaq 0x18a79(%rip), %rsi     # 0x4b85a
leaq 0x19e90(%rip), %rcx     # 0x4cc78
movl $0x99e, %edx            # imm = 0x99E
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: get_constexpr_uint64
static uint64_t _get_constexpr_uint64(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);
	assert(FE_IS_EXPR_NODE(node->type));
	assert(FE_EXPR_AST_NODE_GET_CONSTANT(node));

	#define	_A(type)	\
		case FE_TYPE_##type: {	\
			return (uint64_t) FE_EXPR_AST_NODE_GET_CONSTEXPR_RESULT_##type##_VAL(node);	\
		}

	switch (FE_EXPR_AST_NODE_GET_CONSTANT_TYPE(node)) {
		_A(CHAR)
		_A(INT8)
		_A(INT16)
		_A(INT32)
		_A(INT64)
		_A(UINT8)
		_A(UINT16)
		_A(UINT32)
		_A(UINT64)
		_A(FLOAT)
		_A(DOUBLE)
		_A(POINTER)
		default: {
			assert(0);
			return 0;
		}
	}

	#undef	_A
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movzbl 0x1(%rdi), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x330e7
cmpb $0x0, 0x70(%rdi)
je 0x33106
movzbl 0x71(%rdi), %eax
decl %eax
cmpl $0xf, %eax
ja 0x33125
leaq 0x18579(%rip), %rcx     # 0x4b5c8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x88(%rdi), %rax
jmp 0x330e5
movsbq 0x88(%rdi), %rax
jmp 0x330e5
movsd 0x88(%rdi), %xmm0
cvttsd2si %xmm0, %rcx
movq %rcx, %rdx
sarq $0x3f, %rdx
subsd 0x1878e(%rip), %xmm0    # 0x4b818
cvttsd2si %xmm0, %rax
jmp 0x330ba
movl 0x88(%rdi), %eax
jmp 0x330e5
movss 0x88(%rdi), %xmm0
cvttss2si %xmm0, %rcx
movq %rcx, %rdx
sarq $0x3f, %rdx
subss 0x1876b(%rip), %xmm0    # 0x4b820
cvttss2si %xmm0, %rax
andq %rdx, %rax
orq %rcx, %rax
jmp 0x330e5
movzwl 0x88(%rdi), %eax
jmp 0x330e5
movswq 0x88(%rdi), %rax
jmp 0x330e5
movslq 0x88(%rdi), %rax
jmp 0x330e5
movzbl 0x88(%rdi), %eax
popq %rbp
retq
leaq 0x19909(%rip), %rdi     # 0x4c9f7
leaq 0x18765(%rip), %rsi     # 0x4b85a
leaq 0x19ced(%rip), %rcx     # 0x4cde9
movl $0x9c1, %edx            # imm = 0x9C1
callq 0x30a0
leaq 0x19baa(%rip), %rdi     # 0x4ccb7
leaq 0x18746(%rip), %rsi     # 0x4b85a
leaq 0x19cce(%rip), %rcx     # 0x4cde9
movl $0x9c2, %edx            # imm = 0x9C2
callq 0x30a0
leaq 0xd258(%rip), %rdi      # 0x40384
leaq 0x18727(%rip), %rsi     # 0x4b85a
leaq 0x19caf(%rip), %rcx     # 0x4cde9
movl $0x9d7, %edx            # imm = 0x9D7
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: set_constexpr_uint64
static void _set_constexpr_uint64(
	ParserContext *ctx,
	ParserASTNode *node,
	uint8_t target_type,
	uint64_t value
) {
	assert(ctx);
	assert(node);

	#define	_A(type)	\
		case FE_TYPE_##type: {	\
			FE_EXPR_AST_NODE_SET_CONSTEXPR_RESULT_##type##_VAL(node, value);	\
			break;	\
		}

	switch (target_type) {
		_A(CHAR)
		_A(INT8)
		_A(INT16)
		_A(INT32)
		_A(INT64)
		_A(UINT8)
		_A(UINT16)
		_A(UINT32)
		_A(UINT64)
		_A(FLOAT)
		_A(DOUBLE)
		_A(POINTER)
		default: {
			assert(0);
		}
	}

	#undef	_A
}

// Assembly:
leal -0x1(%rsi), %eax
cmpl $0xf, %eax
ja 0x331db
leaq 0x184b1(%rip), %rcx     # 0x4b608
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb %dl, 0x88(%rdi)
jmp 0x331d6
movq %rdx, 0x88(%rdi)
jmp 0x331d6
movw %dx, 0x88(%rdi)
jmp 0x331d6
movl %edx, 0x88(%rdi)
jmp 0x331d6
movq %rdx, %xmm0
punpckldq 0x186a1(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x186a9(%rip), %xmm0    # 0x4b840
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd %xmm1, 0x88(%rdi)
jmp 0x331d6
testq %rdx, %rdx
js 0x331b9
cvtsi2ss %rdx, %xmm0
jmp 0x331ce
movq %rdx, %rax
shrq %rax
andl $0x1, %edx
orq %rax, %rdx
cvtsi2ss %rdx, %xmm0
addss %xmm0, %xmm0
movss %xmm0, 0x88(%rdi)
movb %sil, 0x71(%rdi)
retq
pushq %rbp
movq %rsp, %rbp
leaq 0xd19e(%rip), %rdi      # 0x40384
leaq 0x1866d(%rip), %rsi     # 0x4b85a
leaq 0x19c36(%rip), %rcx     # 0x4ce2a
movl $0x942, %edx            # imm = 0x942
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: get_constexpr_float
static float _get_constexpr_float(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);
	assert(FE_IS_EXPR_NODE(node->type));
	assert(FE_EXPR_AST_NODE_GET_CONSTANT(node));

	#define	_A(type)	\
		case FE_TYPE_##type: {	\
			return (float) FE_EXPR_AST_NODE_GET_CONSTEXPR_RESULT_##type##_VAL(node);	\
		}

	switch (FE_EXPR_AST_NODE_GET_CONSTANT_TYPE(node)) {
		_A(CHAR)
		_A(INT8)
		_A(INT16)
		_A(INT32)
		_A(INT64)
		_A(UINT8)
		_A(UINT16)
		_A(UINT32)
		_A(UINT64)
		_A(FLOAT)
		_A(DOUBLE)
		default: {
			assert(0);
			return 0;
		}
	}

	#undef	_A
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movzbl 0x1(%rdi), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x332c0
cmpb $0x0, 0x70(%rdi)
je 0x332df
movzbl 0x71(%rdi), %eax
decl %eax
cmpl $0xa, %eax
ja 0x332fe
leaq 0x18414(%rip), %rcx     # 0x4b648
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl 0x88(%rdi), %eax
jmp 0x33286
cvtsi2ssq 0x88(%rdi), %xmm0
jmp 0x332be
movss 0x88(%rdi), %xmm0
jmp 0x332be
movswl 0x88(%rdi), %eax
jmp 0x33286
cvtsi2ssl 0x88(%rdi), %xmm0
jmp 0x332be
movl 0x88(%rdi), %eax
jmp 0x332a2
movzbl 0x88(%rdi), %eax
jmp 0x33286
movzwl 0x88(%rdi), %eax
cvtsi2ss %eax, %xmm0
jmp 0x332be
cvtsd2ss 0x88(%rdi), %xmm0
jmp 0x332be
movq 0x88(%rdi), %rax
testq %rax, %rax
js 0x332a9
cvtsi2ss %rax, %xmm0
jmp 0x332be
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
popq %rbp
retq
leaq 0x19730(%rip), %rdi     # 0x4c9f7
leaq 0x1858c(%rip), %rsi     # 0x4b85a
leaq 0x19ba5(%rip), %rcx     # 0x4ce7a
movl $0x9fa, %edx            # imm = 0x9FA
callq 0x30a0
leaq 0x199d1(%rip), %rdi     # 0x4ccb7
leaq 0x1856d(%rip), %rsi     # 0x4b85a
leaq 0x19b86(%rip), %rcx     # 0x4ce7a
movl $0x9fb, %edx            # imm = 0x9FB
callq 0x30a0
leaq 0xd07f(%rip), %rdi      # 0x40384
leaq 0x1854e(%rip), %rsi     # 0x4b85a
leaq 0x19b67(%rip), %rcx     # 0x4ce7a
movl $0xa0f, %edx            # imm = 0xA0F
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: get_constexpr_double
static double _get_constexpr_double(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);
	assert(FE_IS_EXPR_NODE(node->type));
	assert(FE_EXPR_AST_NODE_GET_CONSTANT(node));

	#define	_A(type)	\
		case FE_TYPE_##type: {	\
			return (double) FE_EXPR_AST_NODE_GET_CONSTEXPR_RESULT_##type##_VAL(node);	\
		}

	switch (FE_EXPR_AST_NODE_GET_CONSTANT_TYPE(node)) {
		_A(CHAR)
		_A(INT8)
		_A(INT16)
		_A(INT32)
		_A(INT64)
		_A(UINT8)
		_A(UINT16)
		_A(UINT32)
		_A(UINT64)
		_A(FLOAT)
		_A(DOUBLE)
		default: {
			assert(0);
			return 0;
		}
	}

	#undef	_A
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movzbl 0x1(%rdi), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x333df
cmpb $0x0, 0x70(%rdi)
je 0x333fe
movzbl 0x71(%rdi), %eax
decl %eax
cmpl $0xa, %eax
ja 0x3341d
leaq 0x18321(%rip), %rcx     # 0x4b674
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl 0x88(%rdi), %eax
jmp 0x333aa
cvtsi2sdq 0x88(%rdi), %xmm0
jmp 0x333ae
cvtss2sd 0x88(%rdi), %xmm0
jmp 0x333ae
movswl 0x88(%rdi), %eax
jmp 0x333aa
cvtsi2sdl 0x88(%rdi), %xmm0
jmp 0x333ae
movl 0x88(%rdi), %eax
cvtsi2sd %rax, %xmm0
jmp 0x333ae
movzbl 0x88(%rdi), %eax
jmp 0x333aa
movzwl 0x88(%rdi), %eax
cvtsi2sd %eax, %xmm0
popq %rbp
retq
movsd 0x88(%rdi), %xmm0
jmp 0x333ae
movsd 0x88(%rdi), %xmm1
unpcklps 0x18467(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1846f(%rip), %xmm1    # 0x4b840
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
jmp 0x333ae
leaq 0x19611(%rip), %rdi     # 0x4c9f7
leaq 0x1846d(%rip), %rsi     # 0x4b85a
leaq 0x19ac3(%rip), %rcx     # 0x4ceb7
movl $0xa1d, %edx            # imm = 0xA1D
callq 0x30a0
leaq 0x198b2(%rip), %rdi     # 0x4ccb7
leaq 0x1844e(%rip), %rsi     # 0x4b85a
leaq 0x19aa4(%rip), %rcx     # 0x4ceb7
movl $0xa1e, %edx            # imm = 0xA1E
callq 0x30a0
leaq 0xcf60(%rip), %rdi      # 0x40384
leaq 0x1842f(%rip), %rsi     # 0x4b85a
leaq 0x19a85(%rip), %rcx     # 0x4ceb7
movl $0xa32, %edx            # imm = 0xA32
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: set_constexpr_double
static void _set_constexpr_double(
	ParserContext *ctx,
	ParserASTNode *node,
	uint8_t target_type,
	double value
) {
	assert(ctx);
	assert(node);

	#define	_A(type)	\
		case FE_TYPE_##type: {	\
			FE_EXPR_AST_NODE_SET_CONSTEXPR_RESULT_##type##_VAL(node, value);	\
			break;	\
		}

	switch (target_type) {
		_A(CHAR)
		_A(INT8)
		_A(INT16)
		_A(INT32)
		_A(INT64)
		_A(UINT8)
		_A(UINT16)
		_A(UINT32)
		_A(UINT64)
		_A(FLOAT)
		_A(DOUBLE)
		_A(POINTER)
		default: {
			assert(0);
		}
	}

	#undef	_A
}

// Assembly:
leal -0x1(%rsi), %eax
cmpl $0xf, %eax
ja 0x334db
leaq 0x18251(%rip), %rcx     # 0x4b6a0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cvttsd2si %xmm0, %eax
movb %al, 0x88(%rdi)
jmp 0x334d6
cvttsd2si %xmm0, %eax
movw %ax, 0x88(%rdi)
jmp 0x334d6
cvttsd2si %xmm0, %rax
movq %rax, %rcx
subsd 0x18397(%rip), %xmm0    # 0x4b818
cvttsd2si %xmm0, %rdx
sarq $0x3f, %rcx
andq %rcx, %rdx
orq %rax, %rdx
movq %rdx, 0x88(%rdi)
jmp 0x334d6
movsd %xmm0, 0x88(%rdi)
jmp 0x334d6
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x88(%rdi)
jmp 0x334d6
cvttsd2si %xmm0, %eax
movl %eax, 0x88(%rdi)
jmp 0x334d6
cvttsd2si %xmm0, %rax
movl %eax, 0x88(%rdi)
jmp 0x334d6
cvttsd2si %xmm0, %rax
movq %rax, 0x88(%rdi)
movb %sil, 0x71(%rdi)
retq
pushq %rbp
movq %rsp, %rbp
leaq 0xce9e(%rip), %rdi      # 0x40384
leaq 0x1836d(%rip), %rsi     # 0x4b85a
leaq 0x19a02(%rip), %rcx     # 0x4cef6
movl $0x96f, %edx            # imm = 0x96F
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: calc_pointer_type_increment_size
static size_t _calc_pointer_type_increment_size(
	ParserContext *ctx,
	ParserASTNode *node,
	ParserASTNode *node_type
) {
	assert(ctx);
	assert(node);
	assert(node_type);
	assert(node_type->type == FE_NODE_TYPE_POINTER);
	assert(node_type->nchilds == 1);

	return _calc_type_size(ctx, node, node_type->childs[0]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdx, %rdx
je 0x33522
cmpl $0x440, (%rdx)          # imm = 0x440
jne 0x33541
cmpl $0x1, 0x44(%rdx)
jne 0x33560
movq 0x48(%rdx), %rax
movq (%rax), %rdx
popq %rbp
jmp 0x3156a
leaq 0xf18e(%rip), %rdi      # 0x426b7
leaq 0x1832a(%rip), %rsi     # 0x4b85a
leaq 0x19a0d(%rip), %rcx     # 0x4cf44
movl $0x830, %edx            # imm = 0x830
callq 0x30a0
leaq 0xf977(%rip), %rdi      # 0x42ebf
leaq 0x1830b(%rip), %rsi     # 0x4b85a
leaq 0x199ee(%rip), %rcx     # 0x4cf44
movl $0x831, %edx            # imm = 0x831
callq 0x30a0
leaq 0xf191(%rip), %rdi      # 0x426f8
leaq 0x182ec(%rip), %rsi     # 0x4b85a
leaq 0x199cf(%rip), %rcx     # 0x4cf44
movl $0x832, %edx            # imm = 0x832
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: is_compatible_primitive_type
static bool _is_compatible_primitive_type(
	ParserContext *ctx,
	ParserASTNode *target,
	ParserASTNode *source,
	bool same
) {
	assert(ctx);
	assert(target);
	assert(source);

	if (same) {
		uint8_t target_type = _get_type_by_type_node(ctx, target);
		uint8_t source_type = _get_type_by_type_node(ctx, source);
		return _is_primitive_type(target_type)
				&& target_type == source_type;
	} else {
		return _is_primitive_type(_get_type_by_type_node(ctx, target))
				&& _is_primitive_type(_get_type_by_type_node(ctx, source));
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r12d
movq %rdx, %rbx
movq %rdi, %r15
callq 0x2b04a
movl %eax, %r14d
testl %r12d, %r12d
je 0x336a9
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2b04a
leal -0x1(%r14), %ecx
cmpb $0xb, %cl
setb %cl
cmpb %al, %r14b
sete %al
andb %cl, %al
jmp 0x336c8
decb %r14b
cmpb $0xa, %r14b
ja 0x336c6
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2b04a
decb %al
cmpb $0xb, %al
setb %al
jmp 0x336c8
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: is_compatible_struct_type
static bool _is_compatible_struct_type(
	ParserContext *ctx,
	ParserASTNode *target,
	ParserASTNode *source,
	bool same
) {
	assert(ctx);
	assert(target);
	assert(source);

	if (_get_type_by_type_node(ctx, target) == FE_TYPE_STRUCT
			&& _get_type_by_type_node(ctx, source) == FE_TYPE_STRUCT) {
		return lexer_compare_token(
			target->childs[0]->token,
			source->childs[0]->token
		);
	} else {
		return false;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2b04a
cmpb $0xd, %al
jne 0x33721
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2b04a
cmpb $0xd, %al
jne 0x33721
movq 0x48(%r14), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdi
movq 0x48(%rbx), %rax
movq (%rax), %rax
movq 0x10(%rax), %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4b1e
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: is_compatible_pointer_type
static bool _is_compatible_pointer_type(
	ParserContext *ctx,
	ParserASTNode *target,
	ParserASTNode *source,
	bool same
) {
	assert(ctx);
	assert(target);
	assert(source);

	if (_get_type_by_type_node(ctx, target) == FE_TYPE_POINTER
			&& _get_type_by_type_node(ctx, source) == FE_TYPE_POINTER) {
		if (same) {
			ParserASTNode *target_type = target->childs[0];
			ParserASTNode *source_type = source->childs[0];
			return _is_compatible_type(ctx, target_type, source_type, true);
		} else {
			if (_get_type_by_type_node(ctx, target->childs[0]) == FE_TYPE_VOID) {
				return true;
			} else {
				ParserASTNode *target_type = target->childs[0];
				ParserASTNode *source_type = source->childs[0];
				return _is_compatible_type(ctx, target_type, source_type, true);
			}
		}
	} else {
		return false;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r12d
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2b04a
cmpb $0x10, %al
jne 0x3390a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2b04a
cmpb $0x10, %al
jne 0x3390a
movq 0x48(%r15), %rax
movq (%rax), %rsi
testb %r12b, %r12b
jne 0x338ee
movq %rbx, %rdi
callq 0x2b04a
cmpb $-0x1, %al
je 0x33915
movq 0x48(%r15), %rax
movq (%rax), %rsi
movq 0x48(%r14), %rax
movq (%rax), %rdx
movq %rbx, %rdi
movl $0x1, %ecx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2ada4
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %al
jmp 0x3390c
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: _func_process_label
static void __func_process_label(
	ParserContext *ctx,
	ParserASTNode *node,
	ParserASTNode *current
) {
	assert(ctx);
	assert(node);
	assert(node->type == FE_NODE_STATS_BLOCK);
	assert(current);

	if (current->type == FE_NODE_STAT_LABEL) {
		parser_add_symbol_to_node(
			ctx,
			node,
			FE_SYM_LABEL,
			current->childs[0]->token,
			0,
			NULL
		);
	}

	for (int i = 0; i < current->nchilds; i++) {
		ParserASTNode *child = current->childs[i];
		__func_process_label(ctx, node, child);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $0xb00, (%rsi)          # imm = 0xB00
jne 0x344ba
movq %rdx, %rbx
testq %rdx, %rdx
je 0x344d9
movq %rsi, %r14
movq %rdi, %r15
cmpl $0xb90, (%rbx)          # imm = 0xB90
jne 0x34489
movq 0x48(%rbx), %rax
movq (%rax), %rax
movq 0x10(%rax), %rcx
movq %r15, %rdi
movq %r14, %rsi
movl $0x4, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x6ea7
cmpl $0x0, 0x44(%rbx)
jle 0x344b1
xorl %r12d, %r12d
movq 0x48(%rbx), %rax
movq (%rax,%r12,8), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3443f
incq %r12
movslq 0x44(%rbx), %rax
cmpq %rax, %r12
jl 0x34492
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x195d8(%rip), %rdi     # 0x4da99
leaq 0x17392(%rip), %rsi     # 0x4b85a
leaq 0x195ec(%rip), %rcx     # 0x4dabb
movl $0x14b5, %edx           # imm = 0x14B5
callq 0x30a0
leaq 0x19628(%rip), %rdi     # 0x4db08
leaq 0x17373(%rip), %rsi     # 0x4b85a
leaq 0x195cd(%rip), %rcx     # 0x4dabb
movl $0x14b6, %edx           # imm = 0x14B6
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: stat_va_start
static void _stat_va_start(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);
	assert(node->type == FE_NODE_STAT_VA_START);
	assert(node->nchilds == 1);

	ParserASTNode *node_expr = node->childs[0];
	_expr_wrapper(ctx, node_expr);
	
	_check_va(ctx, node);

	if (FE_EXPR_AST_NODE_GET_TYPE(node_expr) != FE_TYPE_VA_LIST) {
		_SYNERR_NODE(ctx, node, "__va_start parameter type must be '__va_list'.");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
cmpl $0xbd0, (%rsi)          # imm = 0xBD0
jne 0x34d9c
movq %rsi, %r14
cmpl $0x1, 0x44(%rsi)
jne 0x34dbb
movq %rdi, %rbx
movq 0x48(%r14), %rax
movq (%rax), %r15
movq %r15, %rsi
callq 0x2c76c
movl (%r14), %eax
leal -0xbd0(%rax), %ecx
cmpl $0x3, %ecx
jb 0x34c98
cmpl $0xece, %eax            # imm = 0xECE
jne 0x34df9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2b2e5
movq 0x30(%rax), %r12
movslq 0x44(%r12), %rax
testq %rax, %rax
je 0x34cc3
movq 0x48(%r12), %rcx
movq -0x8(%rcx,%rax,8), %rax
cmpl $0xa03, (%rax)          # imm = 0xA03
je 0x34cf3
movups 0x19614(%rip), %xmm0    # 0x4e2de
leaq -0x420(%rbp), %rdx
movups %xmm0, 0x19(%rdx)
movups 0x195f9(%rip), %xmm0    # 0x4e2d5
movaps %xmm0, 0x10(%rdx)
movups 0x195de(%rip), %xmm0    # 0x4e2c5
movaps %xmm0, (%rdx)
movq %rbx, %rdi
movq %r14, %rsi
callq *0x58(%rbx)
movslq 0x44(%r12), %rax
cmpq $0x1, %rax
jle 0x34dda
movq 0x48(%r12), %rcx
movq -0x10(%rcx,%rax,8), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x2b04a
leal -0x1(%rax), %ecx
cmpb $0xb, %cl
setb %cl
cmpb $0x10, %al
sete %al
orb %cl, %al
jne 0x34d55
leaq 0x195b9(%rip), %rsi     # 0x4e2ee
leaq -0x420(%rbp), %r12
movl $0x76, %edx
movq %r12, %rdi
callq 0x3100
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq *0x58(%rbx)
cmpb $0xc, 0x60(%r15)
je 0x34d8c
movups 0x1948d(%rip), %xmm0    # 0x4e1f0
leaq -0x420(%rbp), %rdx
movups %xmm0, 0x1f(%rdx)
movups 0x1946c(%rip), %xmm0    # 0x4e1e1
movaps %xmm0, 0x10(%rdx)
movups 0x19451(%rip), %xmm0    # 0x4e1d1
movaps %xmm0, (%rdx)
movq %rbx, %rdi
movq %r14, %rsi
callq *0x58(%rbx)
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1940a(%rip), %rdi     # 0x4e1ad
leaq 0x16ab0(%rip), %rsi     # 0x4b85a
leaq 0x193c6(%rip), %rcx     # 0x4e177
movl $0x69f, %edx            # imm = 0x69F
callq 0x30a0
leaq 0x1792e(%rip), %rdi     # 0x4c6f0
leaq 0x16a91(%rip), %rsi     # 0x4b85a
leaq 0x193a7(%rip), %rcx     # 0x4e177
movl $0x6a0, %edx            # imm = 0x6A0
callq 0x30a0
leaq 0x10883(%rip), %rdi     # 0x45664
leaq 0x16a72(%rip), %rsi     # 0x4b85a
leaq 0x19411(%rip), %rcx     # 0x4e200
movl $0x688, %edx            # imm = 0x688
callq 0x30a0
leaq 0x19431(%rip), %rdi     # 0x4e231
leaq 0x16a53(%rip), %rsi     # 0x4b85a
leaq 0x193f2(%rip), %rcx     # 0x4e200
movl $0x678, %edx            # imm = 0x678
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: search_node_along_parent
static ParserASTNode * _search_node_along_parent(
	ParserASTNode *node,
	...
) {
	assert(node);

	va_list arg_ptr;
	va_start(arg_ptr, node);
	
	return __search_node_along_parent(node, arg_ptr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rsi, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq %rcx, -0xb8(%rbp)
movq %r8, -0xb0(%rbp)
movq %r9, -0xa8(%rbp)
testb %al, %al
je 0x34e70
movaps %xmm0, -0xa0(%rbp)
movaps %xmm1, -0x90(%rbp)
movaps %xmm2, -0x80(%rbp)
movaps %xmm3, -0x70(%rbp)
movaps %xmm4, -0x60(%rbp)
movaps %xmm5, -0x50(%rbp)
movaps %xmm6, -0x40(%rbp)
movaps %xmm7, -0x30(%rbp)
testq %rdi, %rdi
je 0x34ea7
leaq -0xd0(%rbp), %rax
leaq -0x20(%rbp), %rsi
movq %rax, 0x10(%rsi)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rsi)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rsi)
callq 0x2b1eb
addq $0xd0, %rsp
popq %rbp
retq
leaq 0xeee8(%rip), %rdi      # 0x43d96
leaq 0x169a5(%rip), %rsi     # 0x4b85a
leaq 0x18fb1(%rip), %rcx     # 0x4de6d
movl $0x582, %edx            # imm = 0x582
callq 0x30a0
// File: /workspace/github_c_makefile_star2_O1/oreparaz[P]dudect/examples/aes32/dut_aes32.c
// Function: do_one_computation
uint8_t do_one_computation(uint8_t *data) {
  uint8_t in[16] = {0};
  uint8_t out[16] = {0};
  uint8_t ret = 0;

  memcpy(in, data, 16);

  rijndaelEncrypt(rk, 10, in, out);

  ret ^= out[0];
  /* return some computation output to try to tame a clever optimizing compiler */
  return ret;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rbx
movaps %xmm0, (%rbx)
movups (%rdi), %xmm0
leaq 0x10(%rsp), %rdx
movaps %xmm0, (%rdx)
leaq 0x75f5(%rip), %rdi      # 0x90a0
movl $0xa, %esi
movq %rbx, %rcx
callq 0x2090
movb (%rbx), %al
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/bdf.h
// Function: shift_glyph
void shift_glyph(struct bdf_header_t *bdf_header, struct bdf_char_t *bdf_char)
{
	int i, byte, shift;
	bitmap_width_t bitmap;

	for (i = 0; i < bdf_char->bbh; i++) {
		bitmap  = bdf_char->bitmap[i];
		byte    = bit2byte(bdf_char->bbw);
		bitmap <<= (bit2byte(bdf_char->dwidth) - byte) * BITS_PER_BYTE;
		if (bdf_char->bbx >= 0)
			bitmap >>= bdf_char->bbx;
		else {
			logging(ERROR, "maybe overlapping (glpyh:%X bbx:%d)\n", bdf_char->encoding, bdf_char->bbx);
			bitmap <<= abs(bdf_char->bbx);
		}
		bdf_char->bitmap[i] = bitmap;
	}

	shift = bdf_header->ascent - (bdf_char->bbh + bdf_char->bby);
	if (shift >= 0) {
		memmove(bdf_char->bitmap + shift, bdf_char->bitmap, sizeof(bitmap_width_t) * bdf_char->bbh);
		memset(bdf_char->bitmap, 0, sizeof(bitmap_width_t) * shift);
	}
	else {
		logging(ERROR, "maybe overlapping (glpyh:%X vertical shift:%d)\n", bdf_char->encoding, shift);
		memmove(bdf_char->bitmap, bdf_char->bitmap + abs(shift), sizeof(bitmap_width_t) * bdf_char->bbh);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x4(%rsi), %eax
testl %eax, %eax
jle 0x1547
leaq 0x1ba3(%rip), %r15      # 0x307b
xorl %r12d, %r12d
movl (%rbx), %eax
movl 0x10(%rbx), %ecx
leal 0x7(%rax), %edx
addl $0xe, %eax
testl %edx, %edx
cmovnsl %edx, %eax
shrl $0x3, %eax
leal 0x7(%rcx), %edx
addl $0xe, %ecx
testl %edx, %edx
cmovnsl %edx, %ecx
movq 0x18(%rbx,%r12,8), %r13
shrl $0x3, %ecx
subl %eax, %ecx
shll $0x3, %ecx
shlq %cl, %r13
movslq 0x8(%rbx), %rcx
testq %rcx, %rcx
js 0x1517
shrq %cl, %r13
jmp 0x1536
movl 0x14(%rbx), %edx
movl $0x2, %edi
movq %r15, %rsi
xorl %eax, %eax
callq 0x129c
movl 0x8(%rbx), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
shlq %cl, %r13
movq %r13, 0x18(%rbx,%r12,8)
incq %r12
movslq 0x4(%rbx), %rax
cmpq %rax, %r12
jl 0x14db
movl 0x10(%r14), %r14d
movl 0xc(%rbx), %ecx
addl %eax, %ecx
subl %ecx, %r14d
js 0x158d
movl %r14d, %r14d
leaq (%rbx,%r14,8), %rdi
addq $0x18, %rdi
addq $0x18, %rbx
movslq %eax, %rdx
shlq $0x3, %rdx
movq %rbx, %rsi
callq 0x1130
shlq $0x3, %r14
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x10b0
movl 0x14(%rbx), %edx
leaq 0x1b09(%rip), %rsi      # 0x30a0
movl $0x2, %edi
movl %r14d, %ecx
xorl %eax, %eax
callq 0x129c
leaq 0x18(%rbx), %rdi
negl %r14d
leaq (%rbx,%r14,8), %rsi
addq $0x18, %rsi
movslq 0x4(%rbx), %rdx
shlq $0x3, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1130
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/bdf.h
// Function: load_table
void load_table(char *path, enum encode_t encode)
{
	int i;
	char buf[BUFSIZE], *cp;
	FILE *fp;
	uint32_t from, to;

	fp = efopen(path, "r");

	for (i = 0; i < UCS2_CHARS; i++) {
		if (encode == ISO10646)
			convert_table[i] = i;
		else
			convert_table[i] = -1;
	}

	while (fgets(buf, BUFSIZE, fp) != NULL) {
		if (strlen(buf) == 0 || buf[0] == '#')
			continue;

		if ((cp = strchr(buf, '\n')) != NULL)
			*cp = '\0';

		sscanf(buf, "%X %X", (unsigned int *) &from, (unsigned int *) &to);
		convert_table[from] = to;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movl %esi, %ebp
leaq 0x1a2b(%rip), %rsi      # 0x3010
callq 0x1364
movq %rax, %rbx
leaq 0x3b1c(%rip), %rax      # 0x5110
xorl %ecx, %ecx
cmpl $0x4, %ebp
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmovel %ecx, %edx
movl %edx, (%rax)
incq %rcx
addq $0x4, %rax
cmpq $0x10000, %rcx          # imm = 0x10000
jne 0x15f6
leaq 0x10(%rsp), %rdi
movl $0x400, %esi            # imm = 0x400
movq %rbx, %rdx
callq 0x10c0
testq %rax, %rax
je 0x169e
leaq 0x10(%rsp), %r14
leaq 0x1a9a(%rip), %r15      # 0x30d0
leaq 0xc(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x3ac9(%rip), %rbp      # 0x5110
movzbl 0x10(%rsp), %eax
testl %eax, %eax
je 0x1689
cmpl $0x23, %eax
je 0x1689
movq %r14, %rdi
movl $0xa, %esi
callq 0x10a0
testq %rax, %rax
je 0x166a
movb $0x0, (%rax)
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x1110
movl 0x8(%rsp), %eax
movl 0xc(%rsp), %ecx
movl %eax, (%rbp,%rcx,4)
movq %r14, %rdi
movl $0x400, %esi            # imm = 0x400
movq %rbx, %rdx
callq 0x10c0
testq %rax, %rax
jne 0x1647
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/bdf.h
// Function: read_char
int read_char(char *buf, struct bdf_char_t *bdf_char)
{
	if (pre_match(buf, "BBX "))
		sscanf(buf + strlen("BBX "), "%d %d %d %d",
			&bdf_char->bbw, &bdf_char->bbh, &bdf_char->bbx, &bdf_char->bby);
	else if (pre_match(buf, "DWIDTH "))
		bdf_char->dwidth = atoi(buf + strlen("DWIDTH "));
	else if (pre_match(buf, "ENCODING ")) {
		bdf_char->encoding = atoi(buf + strlen("ENCODING "));
		//logging(DEBUG, "reading char:%d\n", bdf_char->encoding);
	}
	else if (pre_match(buf, "BITMAP")) {
		return BDF_BITMAP;
	}

	return BDF_CHAR;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x188b(%rip), %rsi      # 0x31b4
movl $0x4, %edx
callq 0x1060
testl %eax, %eax
je 0x1986
leaq 0x187b(%rip), %rsi      # 0x31b9
movl $0x7, %edx
movq %r14, %rdi
callq 0x1060
testl %eax, %eax
je 0x19ac
leaq 0x186b(%rip), %rsi      # 0x31c1
movl $0x9, %edx
movq %r14, %rdi
callq 0x1060
testl %eax, %eax
je 0x19bd
leaq 0x185d(%rip), %rsi      # 0x31cb
movl $0x6, %edx
movq %r14, %rdi
callq 0x1060
testl %eax, %eax
jne 0x19cc
movl $0x2, %eax
jmp 0x19d1
addq $0x4, %r14
leaq 0x4(%rbx), %rcx
leaq 0x8(%rbx), %r8
leaq 0xc(%rbx), %r9
leaq 0x174a(%rip), %rsi      # 0x30e7
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x1110
jmp 0x19cc
addq $0x7, %r14
movq %r14, %rdi
callq 0x1160
movl %eax, 0x10(%rbx)
jmp 0x19cc
addq $0x9, %r14
movq %r14, %rdi
callq 0x1160
movl %eax, 0x14(%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/bdf.h
// Function: load_bdf_glyph
bool load_bdf_glyph(struct glyph_list_t **glist_head, struct glyph_t *default_glyph, char *path)
{
	int mode = BDF_HEADER;
	char lbuf[BUFSIZE], *cp;
	FILE *fp;
	struct bdf_header_t bdf_header;
	struct bdf_char_t bdf_char;

	if ((fp = efopen(path, "r")) == NULL)
		return false;

	memset(&bdf_header, 0, sizeof(struct bdf_header_t));
	memset(&bdf_char, 0, sizeof(struct bdf_char_t));

	logging(DEBUG, "read bdf: %s\n", path);

	while (fgets(lbuf, BUFSIZE, fp) != NULL) {
		if ((cp = strchr(lbuf, '\n')) != NULL)
			*cp = '\0';

		//fprintf(stderr, "%s\n", lbuf);

		if (mode == BDF_HEADER)
			mode = read_header(lbuf, &bdf_header);
		else if (mode == BDF_CHAR)
			mode = read_char(lbuf, &bdf_char);
		else if (mode == BDF_BITMAP)
			mode = read_bitmap(glist_head, default_glyph, lbuf, &bdf_header, &bdf_char);
	}
	efclose(fp);
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa48, %rsp            # imm = 0xA48
movq %rsi, (%rsp)
movq %rdi, %r14
leaq 0x14a1(%rip), %rsi      # 0x3010
movq %rdx, %rdi
callq 0x1364
movq %rax, %r15
testq %rax, %rax
je 0x1c43
leaq 0x624(%rsp), %rdi
xorl %ebp, %ebp
movl $0x424, %edx            # imm = 0x424
xorl %esi, %esi
callq 0x10b0
leaq 0x8(%rsp), %rdi
movl $0x218, %edx            # imm = 0x218
xorl %esi, %esi
callq 0x10b0
leaq 0x220(%rsp), %rdi
movl $0x400, %esi            # imm = 0x400
movq %r15, %rdx
callq 0x10c0
testq %rax, %rax
je 0x1c3b
leaq 0x220(%rsp), %r12
leaq 0x624(%rsp), %r13
leaq 0x8(%rsp), %rbx
movq %r12, %rdi
movl $0xa, %esi
callq 0x10a0
testq %rax, %rax
je 0x1bee
movb $0x0, (%rax)
cmpl $0x2, %ebp
je 0x1c05
movq %r12, %rdi
cmpl $0x1, %ebp
jne 0x1c1c
movq %rbx, %rsi
callq 0x1918
jmp 0x1c24
movq %r14, %rdi
movq (%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
movq %rbx, %r8
callq 0x19d9
jmp 0x1c24
movq %r13, %rsi
callq 0x16b0
movl %eax, %ebp
movq %r12, %rdi
movl $0x400, %esi            # imm = 0x400
movq %r15, %rdx
callq 0x10c0
testq %rax, %rax
jne 0x1bd9
movq %r15, %rdi
callq 0x13cd
testq %r15, %r15
setne %al
addq $0xa48, %rsp            # imm = 0xA48
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/mkfont_bdf.c
// Function: map_glyph
bool map_glyph(struct glyph_t *font[],
	struct glyph_list_t *glist_head, struct glyph_t *default_glyph)
{
	int width, cell_width = 0, cell_height = 0;
	struct glyph_t *glyph;
	struct glyph_list_t *listp;

	if (default_glyph->width == 0 || default_glyph->height == 0) {
		logging(ERROR, "default glyph(U+%.4X) not found\n", DEFAULT_CHAR);
		return false;
	}

	cell_width  = default_glyph->width;
	cell_height = default_glyph->height;
	logging(DEBUG, "default glyph width:%d height:%d\n",
		default_glyph->width, default_glyph->height);

	for (listp = glist_head; listp != NULL; listp = listp->next) {
		if (listp->code >= UCS2_CHARS)
			continue;

		width = wcwidth(listp->code);
		glyph = listp->glyph;
		if ((width <= 0)                                /* not printable */
			|| (glyph->height != cell_height)           /* invalid font height */
			|| (glyph->width  != (cell_width * width))) /* invalid font width */
			continue;

		font[listp->code] = glyph;
	}
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movzbl (%rdx), %ebp
testl %ebp, %ebp
je 0x1cba
movb 0x1(%rdx), %r12b
testb %r12b, %r12b
je 0x1cba
movq %rsi, %r14
movb $0x1, %bl
testq %rsi, %rsi
je 0x1cd4
movq %rdi, %r15
movl (%r14), %edi
cmpl $0xffff, %edi           # imm = 0xFFFF
ja 0x1caf
callq 0x1100
testl %eax, %eax
jle 0x1caf
movq 0x8(%r14), %rcx
cmpb %r12b, 0x1(%rcx)
jne 0x1caf
movzbl (%rcx), %edx
imull %ebp, %eax
cmpl %edx, %eax
jne 0x1caf
movl (%r14), %eax
movq %rcx, (%r15,%rax,8)
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x1c80
jmp 0x1cd4
leaq 0x1519(%rip), %rsi      # 0x31da
xorl %ebx, %ebx
movl $0x2, %edi
movl $0x20, %edx
xorl %eax, %eax
callq 0x129c
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/mkfont_bdf.c
// Function: load_alias
bool load_alias(struct glyph_t *font[], char *alias)
{
	unsigned int dst, src;
	char buf[BUFSIZE];
	FILE *fp;

	if ((fp = efopen(alias, "r")) == NULL)
		return false;

	while (fgets(buf, BUFSIZE, fp) != NULL) {
		if (strlen(buf) == 0 || buf[0] == '#')
			continue;

		sscanf(buf, "%X %X", &dst, &src);
		if ((dst >= UCS2_CHARS) || (src >= UCS2_CHARS))
			continue;

		//if (font[src] != NULL && font[dst] != NULL) {
		if (font[src] != NULL) {
			logging(DEBUG, "swapped: use U+%.4X for U+%.4X\n", src, dst);
			font[dst] = font[src];

			//free(font[dst]->bitmap);
			//font[dst]->width  = font[src]->width;
			//font[dst]->height = font[src]->height;
			//font[dst]->bitmap = font[src]->bitmap;
			//memcpy(font[dst]->bitmap, font[src]->bitmap, sizeof(bitmap_width_t) * font[src]->height);
		}
	}
	efclose(fp);
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x1313(%rip), %rsi      # 0x3010
movq %rax, %rdi
callq 0x1364
movq %rax, %r14
testq %rax, %rax
je 0x1dab
leaq 0x10(%rsp), %rdi
movl $0x400, %esi            # imm = 0x400
movq %r14, %rdx
callq 0x10c0
testq %rax, %rax
je 0x1da3
leaq 0x10(%rsp), %r15
leaq 0x139c(%rip), %r12      # 0x30d0
leaq 0xc(%rsp), %r13
leaq 0x8(%rsp), %rbp
movzbl 0x10(%rsp), %eax
testl %eax, %eax
je 0x1d8e
cmpl $0x23, %eax
je 0x1d8e
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
xorl %eax, %eax
callq 0x1110
movl 0xc(%rsp), %eax
cmpq $0x10000, %rax          # imm = 0x10000
setae %dl
movl 0x8(%rsp), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
setae %sil
orb %dl, %sil
jne 0x1d8e
movl %ecx, %ecx
movq (%rbx,%rcx,8), %rcx
testq %rcx, %rcx
je 0x1d8e
movq %rcx, (%rbx,%rax,8)
movq %r15, %rdi
movl $0x400, %esi            # imm = 0x400
movq %r14, %rdx
callq 0x10c0
testq %rax, %rax
jne 0x1d3e
movq %r14, %rdi
callq 0x13cd
testq %r14, %r14
setne %al
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/mkfont_bdf.c
// Function: check_font
bool check_font(struct glyph_t **font, struct glyph_t *empty_half, struct glyph_t *empty_wide)
{
	empty_half->bitmap = (bitmap_width_t *) ecalloc(font[DEFAULT_CHAR]->height, sizeof(bitmap_width_t));
	empty_wide->bitmap = (bitmap_width_t *) ecalloc(font[DEFAULT_CHAR]->height, sizeof(bitmap_width_t));

	if (!empty_half->bitmap || !empty_wide->bitmap)
		return false;

	empty_half->width  = font[DEFAULT_CHAR]->width;
	empty_wide->width  = font[DEFAULT_CHAR]->width * WIDE;
	empty_half->height = font[DEFAULT_CHAR]->height;
	empty_wide->height = font[DEFAULT_CHAR]->height;

	if (font[SUBSTITUTE_HALF] == NULL) {
		logging(WARN, "half substitute glyph(U+%.4X) not found, use empty glyph\n", SUBSTITUTE_HALF);
		font[SUBSTITUTE_HALF] = empty_half;
	}
	if (font[SUBSTITUTE_WIDE] == NULL) {
		logging(WARN, "wide substitute glyph(U+%.4X) not found, use empty glyph\n", SUBSTITUTE_WIDE);
		font[SUBSTITUTE_WIDE] = empty_wide;
	}
	if (font[REPLACEMENT_CHAR] == NULL) {
		logging(WARN, "replacement glyph(U+%.4X) not found, use empty glyph\n", REPLACEMENT_CHAR);
		font[REPLACEMENT_CHAR] = empty_half;
	}
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x100(%rdi), %rax
movzbl 0x1(%rax), %edi
movl $0x8, %esi
callq 0x1418
movq %rax, 0x8(%rbx)
movq 0x100(%r14), %rax
movzbl 0x1(%rax), %edi
movl $0x8, %esi
callq 0x1418
movq %rax, 0x8(%r15)
cmpq $0x0, 0x8(%rbx)
setne %cl
testq %rax, %rax
setne %bpl
andb %cl, %bpl
cmpb $0x1, %bpl
jne 0x1e8e
movq 0x100(%r14), %rax
movb (%rax), %cl
movb %cl, (%rbx)
movb (%rax), %cl
addb %cl, %cl
movb %cl, (%r15)
movb 0x1(%rax), %cl
movb %cl, 0x1(%rbx)
movb 0x1(%rax), %al
movb %al, 0x1(%r15)
cmpq $0x0, 0x18000(%r14)
jne 0x1e65
leaq 0x13ae(%rip), %rsi      # 0x31fb
movl $0x1, %edi
movl $0x3000, %edx           # imm = 0x3000
xorl %eax, %eax
callq 0x129c
movq %r15, 0x18000(%r14)
cmpq $0x0, 0x1f8(%r14)
jne 0x1e8e
leaq 0x13bf(%rip), %rsi      # 0x3235
movl $0x1, %edi
movl $0x3f, %edx
xorl %eax, %eax
callq 0x129c
movq %rbx, 0x1f8(%r14)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/uobikiemukot[P]yaft/tools/mkfont_bdf.c
// Function: cleanup
void cleanup(struct glyph_list_t *glist_head, struct glyph_t *empty_half, struct glyph_t *empty_wide)
{
	struct glyph_list_t *listp, *next;

	for (listp = glist_head; listp != NULL; listp = next) {
		next = listp->next;

		free(listp->glyph->bitmap);
		free(listp->glyph);
		free(listp);
	}
	free(empty_half->bitmap);
	free(empty_wide->bitmap);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
testq %rdi, %rdi
je 0x208a
movq %rdi, %r15
movq 0x8(%r15), %rax
movq 0x10(%r15), %r12
movq 0x8(%rax), %rdi
callq 0x1030
movq 0x8(%r15), %rdi
callq 0x1030
movq %r15, %rdi
callq 0x1030
movq %r12, %r15
testq %r12, %r12
jne 0x2060
movq 0x8(%r14), %rdi
callq 0x1030
movq 0x8(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1030