	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_parse_value
_query_parse_value:                     ## @query_parse_value
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	callq	_query_chomp
	movq	%rax, %rbx
	movq	%rdx, %r14
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_query_peek
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_STRLEN_CONST
	addq	%rax, %rbx
	movq	_RDT_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	jmp	LBB0_13
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_query_peek
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_STRLEN_CONST
	addq	%rax, %rbx
	movq	_RDT_BOOL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movl	$1, (%r15)
	jmp	LBB0_13
LBB0_4:
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_query_peek
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_STRLEN_CONST
	addq	%rax, %rbx
	movq	_RDT_BOOL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movl	$0, (%r15)
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_query_peek
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_query_peek
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_query_peek
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_query_parse_string
LBB0_12:
	movq	%rax, %rbx
	movq	%rdx, %r14
LBB0_13:
	movq	%rbx, %rax
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r14,%rbx,8), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_query_parse_integer
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nil"

	.comm	_RDT_NULL,8,3                   ## @RDT_NULL
L_.str.1:                               ## @.str.1
	.asciz	"true"

	.comm	_RDT_BOOL,8,3                   ## @RDT_BOOL
L_.str.2:                               ## @.str.2
	.asciz	"false"

L_.str.3:                               ## @.str.3
	.asciz	"b"

L_.str.4:                               ## @.str.4
	.asciz	"\""

L_.str.5:                               ## @.str.5
	.asciz	"'"

	.no_dead_strip	_query_parse_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_parse_value
_query_parse_value:                     ; @query_parse_value
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x3
	mov	x21, x2
	bl	_query_chomp
	mov	x19, x0
	mov	x20, x1
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_query_peek
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_STRLEN_CONST
	add	x19, x0, x19
Lloh4:
	adrp	x8, _RDT_NULL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RDT_NULL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x21, #8]
	b	LBB0_11
LBB0_2:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_query_peek
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_STRLEN_CONST
	add	x19, x0, x19
Lloh11:
	adrp	x8, _RDT_BOOL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RDT_BOOL@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x21, #8]
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_11
LBB0_4:
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_query_peek
	cbz	x0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_STRLEN_CONST
	add	x19, x0, x19
Lloh18:
	adrp	x8, _RDT_BOOL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RDT_BOOL@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x21, #8]
	str	wzr, [x21]
	b	LBB0_11
LBB0_6:
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_query_peek
	cbnz	x0, LBB0_9
; %bb.7:
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_query_peek
	cbnz	x0, LBB0_9
; %bb.8:
Lloh25:
	adrp	x2, l_.str.5@PAGE
Lloh26:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_query_peek
	cbz	x0, LBB0_12
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_query_parse_string
LBB0_10:
	mov	x19, x0
	mov	x20, x1
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x0, [x20, x19, lsl #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_isdigit
	cbz	x0, LBB0_11
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_query_parse_integer
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nil"

	.comm	_RDT_NULL,8,3                   ; @RDT_NULL
l_.str.1:                               ; @.str.1
	.asciz	"true"

	.comm	_RDT_BOOL,8,3                   ; @RDT_BOOL
l_.str.2:                               ; @.str.2
	.asciz	"false"

l_.str.3:                               ; @.str.3
	.asciz	"b"

l_.str.4:                               ; @.str.4
	.asciz	"\""

l_.str.5:                               ; @.str.5
	.asciz	"'"

	.no_dead_strip	_query_parse_value
.subsections_via_symbols
