	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sql_is_write                   ## -- Begin function sql_is_write
	.p2align	4, 0x90
_sql_is_write:                          ## @sql_is_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_TK_COMMENT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	8(%rcx), %rsi
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_6
## %bb.2:
	decl	%eax
	decq	%rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx,%rdi,8), %rsi
	movq	(%rsi), %rsi
	incq	%rdi
	cmpq	%rdx, %rsi
	je	LBB0_3
	jmp	LBB0_6
LBB0_7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	%rdx, %rsi
LBB0_6:
	movq	_TK_SQL_SELECT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	setne	%al
	movq	_TK_SQL_USE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	setne	%cl
	andb	%al, %cl
	movq	_TK_SQL_DESC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	setne	%al
	movq	_TK_SQL_EXPLAIN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	setne	%dl
	andb	%al, %dl
	andb	%cl, %dl
	movzbl	%dl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_COMMENT,8,3                 ## @TK_COMMENT
	.comm	_TK_SQL_SELECT,8,3              ## @TK_SQL_SELECT
	.comm	_TK_SQL_USE,8,3                 ## @TK_SQL_USE
	.comm	_TK_SQL_DESC,8,3                ## @TK_SQL_DESC
	.comm	_TK_SQL_EXPLAIN,8,3             ## @TK_SQL_EXPLAIN
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sql_is_write                   ; -- Begin function sql_is_write
	.p2align	2
_sql_is_write:                          ; @sql_is_write
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	cmp	w10, #2
	b.lt	LBB0_5
; %bb.1:
	ldr	x11, [x0, #8]
Lloh0:
	adrp	x8, _TK_COMMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_COMMENT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x11, #8]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.2:
	sub	w9, w10, #1
	sub	x10, x9, #1
	add	x11, x11, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x11], #8
	ldr	x9, [x9]
	sub	x10, x10, #1
	cmp	x9, x8
	b.eq	LBB0_3
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_6:
	mov	x9, x8
LBB0_7:
Lloh6:
	adrp	x8, _TK_SQL_SELECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TK_SQL_SELECT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x10, _TK_SQL_USE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TK_SQL_USE@GOTPAGEOFF]
	cmp	x9, x8
Lloh11:
	ldr	x8, [x10]
	ccmp	x9, x8, #4, ne
Lloh12:
	adrp	x8, _TK_SQL_DESC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TK_SQL_DESC@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh15:
	adrp	x8, _TK_SQL_EXPLAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TK_SQL_EXPLAIN@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_COMMENT,8,3                 ; @TK_COMMENT
	.comm	_TK_SQL_SELECT,8,3              ; @TK_SQL_SELECT
	.comm	_TK_SQL_USE,8,3                 ; @TK_SQL_USE
	.comm	_TK_SQL_DESC,8,3                ; @TK_SQL_DESC
	.comm	_TK_SQL_EXPLAIN,8,3             ; @TK_SQL_EXPLAIN
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
