// File: /workspace/github_c_makefile_star2_O0/markdryan[P]subtilis/frontend/parser_output.c
// Function: prv_vdu_brackets
static void prv_vdu_brackets(subtilis_parser_t *p, subtilis_token_t *t,
			     subtilis_error_t *err)
{
	subtilis_exp_t *e;
	const char *tbuf;

	subtilis_lexer_get(p->l, t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	do {
		e = subtilis_parser_priority7(p, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		e = subtilis_type_if_to_int(p, e, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		tbuf = subtilis_token_get_text(t);
		if (t->type == SUBTILIS_TOKEN_OPERATOR) {
			if (strcmp(tbuf, ",") == 0) {
				prv_vdu_byte(p, e, err);
			} else if (strcmp(tbuf, "]") == 0) {
				prv_vdu_byte(p, e, err);
				if (err->type != SUBTILIS_ERROR_OK)
					goto cleanup;
				subtilis_exp_delete(e);
				e = NULL;
				break;
			} else if (strcmp(tbuf, ";") == 0) {
				prv_vdu_2bytes(p, e, err);
			} else if (strcmp(tbuf, "|") == 0) {
				prv_vdu_1byte9zeros(p, e, err);
			} else {
				subtilis_error_set_expected(
				    err, ">, ','. ; or |", tbuf,
				    p->l->stream->name, p->l->line);
				goto cleanup;
			}
		} else {
			subtilis_error_set_expected(err, "], ','. ; or |", tbuf,
						    p->l->stream->name,
						    p->l->line);
			goto cleanup;
		}
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;

		subtilis_exp_delete(e);
		e = NULL;

		subtilis_lexer_get(p->l, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;

		if (t->type == SUBTILIS_TOKEN_OPERATOR) {
			tbuf = subtilis_token_get_text(t);
			if (strcmp(tbuf, "]") == 0)
				break;
		}
	} while (true);

	subtilis_lexer_get(p->l, t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	return;

cleanup:

	subtilis_exp_delete(e);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x133f0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x303f6
jmp 0x30658
jmp 0x303f8
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x24550
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x3041b
jmp 0x30658
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x488b0
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x3043e
jmp 0x30658
movq -0x10(%rbp), %rdi
callq 0x12d70
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x3056c
movq -0x28(%rbp), %rdi
leaq 0x7a146(%rip), %rsi     # 0xaa5a9
callq 0x12140
cmpl $0x0, %eax
jne 0x30483
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x30660
jmp 0x3056a
movq -0x28(%rbp), %rdi
leaq 0x7ddbd(%rip), %rsi     # 0xae24b
callq 0x12140
cmpl $0x0, %eax
jne 0x304cd
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x30660
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x304b7
jmp 0x3064f
movq -0x20(%rbp), %rdi
callq 0x36ee0
movq $0x0, -0x20(%rbp)
jmp 0x3062e
movq -0x28(%rbp), %rdi
leaq 0x7a585(%rip), %rsi     # 0xaaa5d
callq 0x12140
cmpl $0x0, %eax
jne 0x304f5
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x30700
jmp 0x30566
movq -0x28(%rbp), %rdi
leaq 0x7a58f(%rip), %rsi     # 0xaaa8f
callq 0x12140
cmpl $0x0, %eax
jne 0x3051d
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x30900
jmp 0x30564
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x30(%rax), %r8
movq -0x8(%rbp), %rax
movq (%rax), %rax
movl 0x38(%rax), %r9d
movl $0x1d, %esi
leaq 0x7a53b(%rip), %rdx     # 0xaaa82
leaq 0x7a51b(%rip), %rax     # 0xaaa69
movq %rax, (%rsp)
movl $0xa1, 0x8(%rsp)
callq 0x156d0
jmp 0x3064f
jmp 0x30566
jmp 0x30568
jmp 0x3056a
jmp 0x305b3
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x30(%rax), %r8
movq -0x8(%rbp), %rax
movq (%rax), %rax
movl 0x38(%rax), %r9d
movl $0x1d, %esi
leaq 0x7a4fb(%rip), %rdx     # 0xaaa91
leaq 0x7a4cc(%rip), %rax     # 0xaaa69
movq %rax, (%rsp)
movl $0xa7, 0x8(%rsp)
callq 0x156d0
jmp 0x3064f
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x305c1
jmp 0x3064f
movq -0x20(%rbp), %rdi
callq 0x36ee0
movq $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x133f0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x305f1
jmp 0x3064f
movq -0x10(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x30620
movq -0x10(%rbp), %rdi
callq 0x12d70
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
leaq 0x7dc39(%rip), %rsi     # 0xae24b
callq 0x12140
cmpl $0x0, %eax
jne 0x3061e
jmp 0x3062e
jmp 0x30620
jmp 0x30622
movb $0x1, %al
testb $0x1, %al
jne 0x303f8
jmp 0x3062e
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x133f0
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
je 0x3064d
jmp 0x3064f
jmp 0x30658
movq -0x20(%rbp), %rdi
callq 0x36ee0
addq $0x40, %rsp
popq %rbp
retq
nop