// File: /workspace/github_c_makefile_star2_O1/CheneyThinker[P]jbyte/src/jbyte_method.c
// Function: generator_methods
void generator_methods(FILE* pWriteFile) {
  u2 methods_count_value = 0x0002;
  PUT_U2(methods_count, methods_count_value)
  PUT_U2(access_flags, ACC_PUBLIC)
  PUT_U2(name_index, 0x0004)
  PUT_U2(descriptor_index, 0x0005)
  PUT_U2(attributes_count, 0x0001)
  PUT_U2(attribute_name_index, 0x000f)
  PUT_U4(attribute_length, 0x0000001d)
  PUT_U2(max_stack, 0x0001)
  PUT_U2(max_locals, 0x0001)
  PUT_U4(code_length, 0x00000005)
  PUT_U1(opcode, ALOAD_0)
  PUT_U1(opcode, INVOKESPECIAL)
  PUT_U1(indexbyte1, 0x00)
  PUT_U1(indexbyte2, 0x1b)
  PUT_U1(opcode, RETURN)
  u2 exception_table_length_value = 0x0000;
  PUT_U2(exception_table_length, exception_table_length_value)
  for (u2 exception_table_length_index = 0; exception_table_length_index < exception_table_length_value; exception_table_length_index++) {
    //PUT_U2(start_pc)
    //PUT_U2(end_pc)
    //PUT_U2(handler_pc)
    //PUT_U2(catch_type)
  }
  PUT_U2(attributes_count, 0x0001)
  PUT_U2(attribute_name_index, 0x0010)
  PUT_U4(attribute_length, 0x00000006)
  PUT_U2(line_number_table_length, 0x0001)
  PUT_U2(start_pc, 0x0000)
  PUT_U2(line_number, 0x0003)

  PUT_U2(access_flags, ACC_PUBLIC | ACC_STATIC)
  PUT_U2(name_index, 0x0006)
  PUT_U2(descriptor_index, 0x0007)
  PUT_U2(attributes_count, 0x0001)
  PUT_U2(attribute_name_index, 0x000f)
  PUT_U4(attribute_length, 0x00000025)
  PUT_U2(max_stack, 0x0002)
  PUT_U2(max_locals, 0x0001)
  PUT_U4(code_length, 0x00000009)
  PUT_U1(opcode, GETSTATIC)
  PUT_U1(indexbyte1, 0x00)
  PUT_U1(indexbyte2, 0x1a)
  PUT_U1(opcode, LDC)
  PUT_U1(index, 0x16)
  PUT_U1(opcode, INVOKEVIRTUAL)
  PUT_U1(indexbyte1, 0x00)
  PUT_U1(indexbyte2, 0x1c)
  PUT_U1(opcode, RETURN)
  exception_table_length_value = 0x0000;
  PUT_U2(exception_table_length, exception_table_length_value)
  for (u2 exception_table_length_index = 0; exception_table_length_index < exception_table_length_value; exception_table_length_index++) {
    //PUT_U2(start_pc)
    //PUT_U2(end_pc)
    //PUT_U2(handler_pc)
    //PUT_U2(catch_type)
  }
  PUT_U2(attributes_count, 0x0001)
  PUT_U2(attribute_name_index, 0x0010)
  PUT_U4(attribute_length, 0x0000000a)
  PUT_U2(line_number_table_length, 0x0002)
  PUT_U2(start_pc, 0x0000)
  PUT_U2(line_number, 0x0005)
  PUT_U2(start_pc, 0x0008)
  PUT_U2(line_number, 0x0006)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movw $0x200, %ax             # imm = 0x200
leaq -0x2c(%rbp), %r14
movw %ax, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x100, %r13w           # imm = 0x100
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x400, (%r14)          # imm = 0x400
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x500, %ax             # imm = 0x500
movw %ax, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0xf00, %r15w           # imm = 0xF00
movw %r15w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0x1d000000, (%r14)     # imm = 0x1D000000
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0x5000000, (%r14)      # imm = 0x5000000
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0x2a, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0xffffffb7, %edi       # imm = 0xFFFFFFB7
movq %rbx, %rsi
callq 0x10c0
xorl %r12d, %r12d
xorl %edi, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0x1b, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0xffffffb1, %edi       # imm = 0xFFFFFFB1
movq %rbx, %rsi
callq 0x10c0
movw %r12w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x1000, %ax            # imm = 0x1000
movw %ax, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0x6000000, (%r14)      # imm = 0x6000000
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r12w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x300, (%r14)          # imm = 0x300
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x900, (%r14)          # imm = 0x900
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x600, %ax             # imm = 0x600
movw %ax, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x700, (%r14)          # imm = 0x700
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r15w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0x25000000, (%r14)     # imm = 0x25000000
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x200, %r15w           # imm = 0x200
movw %r15w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0x9000000, (%r14)      # imm = 0x9000000
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0xffffffb2, %edi       # imm = 0xFFFFFFB2
movq %rbx, %rsi
callq 0x10c0
xorl %edi, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0x1a, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0x12, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0x16, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0xffffffb6, %edi       # imm = 0xFFFFFFB6
movq %rbx, %rsi
callq 0x10c0
xorl %edi, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0x1c, %edi
movq %rbx, %rsi
callq 0x10c0
movl $0xffffffb1, %edi       # imm = 0xFFFFFFB1
movq %rbx, %rsi
callq 0x10c0
movw %r12w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x1000, %ax            # imm = 0x1000
movw %ax, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movl $0xa000000, (%r14)      # imm = 0xA000000
movl $0x4, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r15w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw %r12w, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x500, %ax             # imm = 0x500
movw %ax, (%r14)
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x800, (%r14)          # imm = 0x800
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x1120
movw $0x600, %ax             # imm = 0x600
movw %ax, (%r14)
leaq -0x2c(%rbp), %rdi
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1120
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq