	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_parse_method_call
_query_parse_method_call:               ## @query_parse_method_call
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_QUERY_MAX_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	$0, -72(%rbp)
	movq	_registered_functions@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	$0, 16(%r12)
	leaq	-72(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movl	%r14d, %edi
	movq	%r15, %rcx
	callq	_query_get_ident
	movl	%eax, %r14d
	cmpq	$0, (%r15)
	jne	LBB0_28
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_query_chomp
	movl	%eax, %edi
	movl	$40, %esi
	movq	%r15, %rdx
	callq	_query_expect_char
	movl	%eax, %r14d
	cmpq	$0, (%r15)
	je	LBB0_2
LBB0_28:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rsi
	movq	-80(%rbp), %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rdi
	addq	$16, %rbx
	testq	%rdi, %rdi
	jne	LBB0_4
LBB0_7:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:
	movl	%r14d, %edi
	callq	_query_chomp
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_query_peek
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.11:
	xorl	%r12d, %r12d
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_QUERY_MAX_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r12
	jae	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_query_parse_argument
	movl	%eax, %r14d
	cmpq	$0, (%r15)
	jne	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r14d, %edi
	callq	_query_chomp
	movl	%eax, %edi
	movl	$44, %esi
	movq	%r15, %rdx
	callq	_query_expect_char
	movl	%eax, %r14d
	cmpq	$0, (%r15)
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r14d, %edi
	callq	_query_chomp
	movl	%eax, %r14d
	movl	%eax, %edi
	leaq	L_.str(%rip), %rsi
	callq	_query_peek
	addq	$4, %rbx
	incq	%r12
	testl	%eax, %eax
	je	LBB0_12
	jmp	LBB0_21
LBB0_5:
	movq	(%rbx), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
LBB0_9:
	movq	-72(%rbp), %rsi
	movq	-80(%rbp), %rdx
	movl	%r14d, %edi
	movq	%r15, %rcx
	callq	_query_raise_unknown_function
	jmp	LBB0_28
LBB0_13:
	movq	%r15, %rdi
	callq	_query_raise_too_many_arguments
	jmp	LBB0_14
LBB0_19:
	incl	%r12d
	movq	$0, (%r15)
LBB0_21:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_22:
	movl	%r14d, %edi
	movl	$41, %esi
	movq	%r15, %rdx
	callq	_query_expect_char
	movl	%eax, %r14d
	cmpq	$0, (%r15)
	jne	LBB0_14
## %bb.23:
	movl	%r12d, (%rbx)
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.25:
	leal	(,%r12,4), %ebx
	movl	%ebx, %edi
	callq	_malloc
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_28
LBB0_24:
	movq	$0, 8(%rbx)
LBB0_26:
	movq	%r15, %rdi
	callq	_query_raise_enomem
LBB0_14:
	testl	%r12d, %r12d
	je	LBB0_28
## %bb.15:
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_query_argument_free
	addq	$4, %r13
	decq	%rbx
	jne	LBB0_16
	jmp	LBB0_28
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QUERY_MAX_ARGS,4,2             ## @QUERY_MAX_ARGS
	.comm	_registered_functions,8,3       ## @registered_functions
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	")"

	.no_dead_strip	_query_parse_method_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_parse_method_call
_query_parse_method_call:               ; @query_parse_method_call
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x20, x2
	mov	x21, x1
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _QUERY_MAX_ARGS@GOTPAGE
Lloh4:
	ldr	x27, [x27, _QUERY_MAX_ARGS@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	stur	xzr, [x29, #-104]
Lloh7:
	adrp	x8, _registered_functions@GOTPAGE
Lloh8:
	ldr	x8, [x8, _registered_functions@GOTPAGEOFF]
Lloh9:
	ldr	x23, [x8]
	str	xzr, [x1, #16]
	and	x0, x0, #0xffffffff
	sub	x1, x29, #104
	sub	x2, x29, #96
	mov	x3, x20
	bl	_query_get_ident
	mov	x22, x0
	ldr	x8, [x20]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	w0, w22
	bl	_query_chomp
	mov	w0, w0
	mov	w1, #40
	mov	x2, x20
	bl	_query_expect_char
	mov	x22, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_4
LBB0_2:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.3:
	mov	x0, x22
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x0, [x23, #8]
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x1, x2, [x29, #-104]
	bl	_strncmp
	cbz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23, #24]
	add	x23, x23, #16
	cbnz	x0, LBB0_5
LBB0_7:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_15
LBB0_8:
	mov	w0, w22
	bl	_query_chomp
	mov	x22, x0
	mov	w23, w0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_query_peek
	cbz	w0, LBB0_16
; %bb.9:
	mov	w28, #0
LBB0_10:
	mov	x0, x23
	mov	w1, #41
	mov	x2, x20
	bl	_query_expect_char
	mov	x22, x0
	ldr	x8, [x20]
	cbnz	x8, LBB0_26
; %bb.11:
	str	w28, [x21]
	cbz	w28, LBB0_24
; %bb.12:
	lsl	w23, w28, #2
	mov	x0, x23
	bl	_malloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_25
; %bb.13:
	mov	x1, x19
	mov	x2, x23
	bl	_memcpy
	b	LBB0_2
LBB0_14:
	ldr	x8, [x23]
	str	x8, [x21, #16]
	cbnz	x8, LBB0_8
LBB0_15:
	ldp	x1, x2, [x29, #-104]
	mov	x0, x22
	mov	x3, x20
	bl	_query_raise_unknown_function
	b	LBB0_2
LBB0_16:
	ldr	w8, [x27]
	cbz	w8, LBB0_22
; %bb.17:
	mov	x28, #0
Lloh15:
	adrp	x24, l_.str@PAGE
Lloh16:
	add	x24, x24, l_.str@PAGEOFF
	mov	x25, x19
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x25
	mov	x2, x20
	bl	_query_parse_argument
	mov	x22, x0
	ldr	x8, [x20]
	cbnz	x8, LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, w22
	bl	_query_chomp
	mov	w0, w0
	mov	w1, #44
	mov	x2, x20
	bl	_query_expect_char
	ldr	x8, [x20]
	cbnz	x8, LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w0, w0
	bl	_query_chomp
	mov	x22, x0
	mov	w23, w0
	mov	x0, x23
	mov	x1, x24
	bl	_query_peek
	cbnz	w0, LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x28, x28, #1
	ldr	w8, [x27]
	add	x25, x25, #4
	cmp	x28, x8
	b.lo	LBB0_18
	b	LBB0_23
LBB0_22:
	mov	w28, #0
LBB0_23:
	mov	x0, x20
	bl	_query_raise_too_many_arguments
	b	LBB0_26
LBB0_24:
	str	xzr, [x21, #8]
LBB0_25:
	mov	x0, x20
	bl	_query_raise_enomem
LBB0_26:
	cbz	w28, LBB0_2
; %bb.27:
	mov	w20, w28
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_query_argument_free
	add	x19, x19, #4
	subs	x20, x20, #1
	b.ne	LBB0_28
	b	LBB0_2
LBB0_29:
	add	w28, w28, #1
	str	xzr, [x20]
	mov	w23, w0
	b	LBB0_10
LBB0_30:
	add	w28, w28, #1
	b	LBB0_10
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_QUERY_MAX_ARGS,4,2             ; @QUERY_MAX_ARGS
	.comm	_registered_functions,8,3       ; @registered_functions
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	")"

	.no_dead_strip	_query_parse_method_call
.subsections_via_symbols
