// File: /workspace/github_c_makefile_star2_O2/markdryan[P]subtilis/common/ir.c
// Function: prv_dump_section_ops
static void prv_dump_section_ops(subtilis_ir_op_t **ops, size_t len)
{
	size_t i;

	for (i = 0; i < len; i++) {
		if (!ops[i])
			continue;
		if (ops[i]->type == SUBTILIS_OP_INSTR)
			prv_dump_instr(&ops[i]->op.instr);
		else if (ops[i]->type == SUBTILIS_OP_LABEL)
			printf("label_%zu", ops[i]->op.label);
		else if (prv_is_call(ops[i]))
			prv_dump_call(ops[i]->type, &ops[i]->op.call);
		else if (ops[i]->type == SUBTILIS_OP_SYS_CALL)
			prv_dump_sys_call(&ops[i]->op.sys_call);
		else
			continue;
		printf("\n");
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x451df(%rip), %r13     # 0x706b7
xorl %ebx, %ebx
movq %rsi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
cmpq %r14, %rbx
je 0x2b765
movq (%r15,%rbx,8), %rbp
testq %rbp, %rbp
je 0x2b533
movq %r13, %r12
movl (%rbp), %r13d
cmpl $0x1, %r13d
je 0x2b516
testl %r13d, %r13d
jne 0x2b538
addq $0x8, %rbp
movq %rbp, %rdi
callq 0x2b241
jmp 0x2b528
movq 0x8(%rbp), %rsi
leaq 0x42930(%rip), %rdi     # 0x6de51
xorl %eax, %eax
callq 0x12110
movq %r12, %r13
pushq $0xa
popq %rdi
callq 0x12030
incq %rbx
jmp 0x2b4e4
leal -0x2(%r13), %eax
cmpl $0x5, %eax
ja 0x2b618
pushq $0x9
popq %rdi
callq 0x12030
leal -0x3(%r13), %eax
cmpl $0x4, %eax
ja 0x2b579
pushq $0x1b
popq %rcx
btl %eax, %ecx
jae 0x2b579
movl %eax, %eax
leaq 0x42811(%rip), %rcx     # 0x6dd78
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
movq 0x18(%rbp), %rsi
xorl %eax, %eax
callq 0x12110
addl $-0x5, %r13d
cmpl $0x3, %r13d
leaq 0x42c50(%rip), %rdi     # 0x6e1d8
leaq 0x42c3e(%rip), %rax     # 0x6e1cd
cmovbq %rax, %rdi
movq 0x8(%rbp), %rsi
xorl %eax, %eax
callq 0x12110
cmpq $0x0, 0x10(%rbp)
movq %r12, %r13
je 0x2b52b
leaq 0x42c32(%rip), %rdi     # 0x6e1e1
xorl %eax, %eax
callq 0x12110
movq 0x20(%rbp), %rax
cmpl $0x1, (%rax)
leaq 0x45f58(%rip), %rsi     # 0x7151c
cmoveq %r13, %rsi
movq 0x8(%rax), %rdx
leaq 0x42c13(%rip), %rdi     # 0x6e1e6
xorl %eax, %eax
callq 0x12110
pushq $0x20
popq %r14
pushq $0x1
popq %r15
cmpq 0x10(%rbp), %r15
jae 0x2b655
movq 0x20(%rbp), %rax
cmpl $0x1, -0x8(%rax,%r14)
leaq 0x45f23(%rip), %rsi     # 0x7151c
cmoveq %r13, %rsi
movq (%rax,%r14), %rdx
leaq 0x42bdc(%rip), %rdi     # 0x6e1e4
xorl %eax, %eax
callq 0x12110
incq %r15
addq $0x18, %r14
jmp 0x2b5e2
cmpl $0x8, %r13d
movq %r12, %r13
jne 0x2b533
movq 0x8(%rbp), %rsi
leaq 0x42bbc(%rip), %rdi     # 0x6e1ec
xorl %eax, %eax
callq 0x12110
movl 0x10(%rbp), %eax
testl %eax, %eax
je 0x2b6a4
xorl %ecx, %ecx
xorl %r13d, %r13d
cmpq $0x10, %rcx
je 0x2b66c
btl %ecx, %eax
adcq $0x0, %r13
incq %rcx
jmp 0x2b643
pushq $0x29
popq %rdi
callq 0x12030
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %r15
jmp 0x2b52b
xorl %r14d, %r14d
leaq 0x45008(%rip), %rdi     # 0x7067e
xorl %eax, %eax
callq 0x12110
movl 0x10(%rbp), %eax
btl %r14d, %eax
jae 0x2b69c
movq 0x28(%rbp), %rax
movq (%rax,%r14,8), %rsi
leaq 0x42b6b(%rip), %rdi     # 0x6e200
xorl %eax, %eax
callq 0x12110
incq %r14
cmpq %r13, %r14
jb 0x2b66f
cmpl $0x0, 0x14(%rbp)
je 0x2b728
leaq 0x42b48(%rip), %rdi     # 0x6e1f9
xorl %eax, %eax
callq 0x12110
movl 0x14(%rbp), %eax
xorl %ecx, %ecx
xorl %r13d, %r13d
cmpq $0x10, %rcx
je 0x2b6d2
btl %ecx, %eax
adcq $0x0, %r13
incq %rcx
jmp 0x2b6c0
decq %r13
pushq $0x8
popq %r15
xorl %r14d, %r14d
btl %r14d, %eax
jae 0x2b709
movq 0x30(%rbp), %rax
cmpb $0x0, (%rax,%r15)
movq -0x8(%rax,%r15), %rsi
leaq 0x42b10(%rip), %rdi     # 0x6e207
leaq 0x42b02(%rip), %rax     # 0x6e200
cmovneq %rax, %rdi
xorl %eax, %eax
callq 0x12110
cmpq %r14, %r13
je 0x2b728
leaq 0x44f69(%rip), %rdi     # 0x7067e
xorl %eax, %eax
callq 0x12110
movl 0x14(%rbp), %eax
addq $0x10, %r15
incq %r14
jmp 0x2b6dc
movq 0x18(%rbp), %rsi
cmpq $-0x1, %rsi
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %r15
movq %r12, %r13
je 0x2b52b
cmpb $0x0, 0x20(%rbp)
leaq 0x42ab6(%rip), %rdi     # 0x6e204
leaq 0x42aa8(%rip), %rax     # 0x6e1fd
cmovneq %rax, %rdi
xorl %eax, %eax
callq 0x12110
jmp 0x2b52b
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq