	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_g_ascii_strcasecmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_g_tree_new
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_sql_token_get_last_id
	testq	%rax, %rax
	jle	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	xorl	%eax, %eax
	callq	_sql_token_get_last_id
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sql_token_get_name
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$7, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sql_token_get_name
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %r12d
	movq	%rbx, %rdi
	callq	_GINT_TO_POINTER
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_g_tree_insert
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	movq	_trav@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_g_tree_foreach
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	leaq	L_str.6(%rip), %rdi
	callq	_puts
	movq	%r14, %rdi
	callq	_g_tree_destroy
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_g_ascii_strcasecmp,8,3         ## @g_ascii_strcasecmp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TK_SQL_"

L_.str.1:                               ## @.str.1
	.asciz	"static int sql_keywords[] = {"

	.comm	_trav,4,2                       ## @trav
L_str:                                  ## @str
	.asciz	"\n};"

L_str.5:                                ## @str.5
	.asciz	"int *sql_keywords_get() { return sql_keywords; }"

L_str.6:                                ## @str.6
	.asciz	"int sql_keywords_get_count() { return sizeof(sql_keywords) / sizeof(sql_keywords[0]); }"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _g_ascii_strcasecmp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_ascii_strcasecmp@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_g_tree_new
	mov	x19, x0
	bl	_sql_token_get_last_id
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, #0
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	bl	_sql_token_get_last_id
	cmp	x20, x0
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_sql_token_get_name
	mov	x1, x21
	mov	w2, #7
	bl	_strncmp
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_sql_token_get_name
	add	w22, w0, #7
	mov	x0, x20
	bl	_GINT_TO_POINTER
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_g_tree_insert
	b	LBB0_2
LBB0_5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh10:
	adrp	x8, _trav@GOTPAGE
Lloh11:
	ldr	x8, [x8, _trav@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_g_tree_foreach
Lloh13:
	adrp	x0, l_str@PAGE
Lloh14:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh15:
	adrp	x0, l_str.5@PAGE
Lloh16:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
Lloh17:
	adrp	x0, l_str.6@PAGE
Lloh18:
	add	x0, x0, l_str.6@PAGEOFF
	bl	_puts
	mov	x0, x19
	bl	_g_tree_destroy
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_g_ascii_strcasecmp,8,3         ; @g_ascii_strcasecmp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TK_SQL_"

l_.str.1:                               ; @.str.1
	.asciz	"static int sql_keywords[] = {"

	.comm	_trav,4,2                       ; @trav
l_str:                                  ; @str
	.asciz	"\n};"

l_str.5:                                ; @str.5
	.asciz	"int *sql_keywords_get() { return sql_keywords; }"

l_str.6:                                ; @str.6
	.asciz	"int sql_keywords_get_count() { return sizeof(sql_keywords) / sizeof(sql_keywords[0]); }"

.subsections_via_symbols
