// File: /workspace/github_c_makefile_star2_O2/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), %r12
movw %ax, (%r12)
pushq $0x2
popq %r14
pushq $0x1
popq %r15
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x100, %ax             # imm = 0x100
movw %ax, (%r12)
movw $0x100, %r13w           # imm = 0x100
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x400, (%r12)          # imm = 0x400
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x500, %ax             # imm = 0x500
movw %ax, (%r12)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw %r13w, (%r12)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0xf00, %ax             # imm = 0xF00
movw %ax, (%r12)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movl $0x1d000000, (%r12)     # imm = 0x1D000000
leaq -0x2c(%rbp), %r13
pushq $0x4
popq %rsi
movq %r13, %rdi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x100, %ax             # imm = 0x100
movw %ax, (%r13)
movw $0x100, %r12w           # imm = 0x100
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw %r12w, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movl $0x5000000, (%r13)      # imm = 0x5000000
movq %r13, %rdi
pushq $0x4
popq %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
pushq $0x2a
popq %rdi
movq %rbx, %rsi
callq 0x10c0
pushq $-0x49
popq %rdi
movq %rbx, %rsi
callq 0x10c0
xorl %edi, %edi
movq %rbx, %rsi
callq 0x10c0
pushq $0x1b
popq %rdi
movq %rbx, %rsi
callq 0x10c0
pushq $-0x4f
popq %rdi
movq %rbx, %rsi
callq 0x10c0
andw $0x0, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw %r12w, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x1000, %ax            # imm = 0x1000
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movl $0x6000000, (%r13)      # imm = 0x6000000
movq %r13, %rdi
pushq $0x4
popq %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw %r12w, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
andw $0x0, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x300, (%r13)          # imm = 0x300
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x900, (%r13)          # imm = 0x900
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x600, %ax             # imm = 0x600
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x700, (%r13)          # imm = 0x700
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw %r12w, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0xf00, %ax             # imm = 0xF00
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movl $0x25000000, (%r13)     # imm = 0x25000000
movq %r13, %rdi
pushq $0x4
popq %r12
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x200, %ax             # imm = 0x200
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x100, %ax             # imm = 0x100
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movl $0x9000000, (%r13)      # imm = 0x9000000
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
pushq $-0x4e
popq %rdi
movq %rbx, %rsi
callq 0x10c0
xorl %edi, %edi
movq %rbx, %rsi
callq 0x10c0
pushq $0x1a
popq %rdi
movq %rbx, %rsi
callq 0x10c0
pushq $0x12
popq %rdi
movq %rbx, %rsi
callq 0x10c0
pushq $0x16
popq %rdi
movq %rbx, %rsi
callq 0x10c0
pushq $-0x4a
popq %rdi
movq %rbx, %rsi
callq 0x10c0
xorl %edi, %edi
movq %rbx, %rsi
callq 0x10c0
pushq $0x1c
popq %rdi
movq %rbx, %rsi
callq 0x10c0
pushq $-0x4f
popq %rdi
movq %rbx, %rsi
callq 0x10c0
andw $0x0, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x100, %ax             # imm = 0x100
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x1000, %ax            # imm = 0x1000
movw %ax, (%r13)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movl $0xa000000, (%r13)      # imm = 0xA000000
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x200, %ax             # imm = 0x200
movw %ax, (%r13)
leaq -0x2c(%rbp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
andw $0x0, (%r12)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x500, %ax             # imm = 0x500
movw %ax, (%r12)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x800, (%r12)          # imm = 0x800
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
movw $0x600, %ax             # imm = 0x600
movw %ax, (%r12)
leaq -0x2c(%rbp), %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x1120
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq