	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_query_def
_get_query_def:                         ## @get_query_def
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, %r14d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	xorl	%eax, %eax
	callq	_check_stack_depth
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_AcquireRewriteLocks
	movl	%r15d, -52(%rbp)
	movq	%rbx, %rdi
	callq	_list_copy
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_lcons
	movl	%eax, -56(%rbp)
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	%rax, -72(%rbp)
	movl	$1, %ecx
	cmpq	%rbx, %rax
	jne	LBB0_2
## %bb.1:
	movl	4(%r12), %edi
	callq	_list_length
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	setne	%cl
LBB0_2:
	movl	%ecx, -96(%rbp)
	movl	%r14d, -92(%rbp)
	movl	%r13d, -88(%rbp)
	movl	16(%rbp), %eax
	movl	%eax, -84(%rbp)
	movq	_EXPR_KIND_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_set_deparse_for_query
	movl	(%r12), %edx
	leal	-128(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_get_utility_query_def
	jmp	LBB0_11
LBB0_10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	jmp	LBB0_11
LBB0_5:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_get_update_query_def
	jmp	LBB0_11
LBB0_4:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_get_select_query_def
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	callq	_appendStringInfoString
	jmp	LBB0_11
LBB0_6:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_get_insert_query_def
	jmp	LBB0_11
LBB0_7:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_get_delete_query_def
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_EXPR_KIND_NONE,4,2             ## @EXPR_KIND_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NOTHING"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized query command type: %d"

	.no_dead_strip	_get_query_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_query_def
_get_query_def:                         ; @get_query_def
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x6
	mov	x24, x5
	mov	x25, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_CHECK_FOR_INTERRUPTS
	bl	_check_stack_depth
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_AcquireRewriteLocks
	str	w21, [sp, #60]
	mov	x0, x22
	bl	_list_copy
	mov	x1, x0
	add	x0, sp, #12
	bl	_lcons
	str	w0, [sp, #56]
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #40]
	cmp	x8, x22
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_list_length
	cmp	w0, #1
	cset	w8, ne
LBB0_3:
	stp	w8, w25, [sp, #16]
	stp	w24, w23, [sp, #24]
Lloh3:
	adrp	x8, _EXPR_KIND_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXPR_KIND_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	add	x0, sp, #12
	mov	x1, x19
	mov	x2, x22
	bl	_set_deparse_for_query
	ldr	w2, [x19]
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.4:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	add	x1, sp, #16
	mov	x0, x19
	bl	_get_utility_query_def
	b	LBB0_12
LBB0_6:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	b	LBB0_12
LBB0_7:
	add	x1, sp, #16
	mov	x0, x19
	bl	_get_update_query_def
	b	LBB0_12
LBB0_8:
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x20
	bl	_get_select_query_def
	b	LBB0_12
LBB0_9:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_appendStringInfoString
	b	LBB0_12
LBB0_10:
	add	x1, sp, #16
	mov	x0, x19
	bl	_get_insert_query_def
	b	LBB0_12
LBB0_11:
	add	x1, sp, #16
	mov	x0, x19
	bl	_get_delete_query_def
LBB0_12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_EXPR_KIND_NONE,4,2             ; @EXPR_KIND_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NOTHING"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized query command type: %d"

	.no_dead_strip	_get_query_def
.subsections_via_symbols
