	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_query_by_type
_find_query_by_type:                    ## @find_query_by_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_query_cmds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rax)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 24(%rax)
	leaq	16(%rax), %rax
	jne	LBB0_1
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_query_cmds,8,3                 ## @query_cmds
	.no_dead_strip	_find_query_by_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_query_by_type
_find_query_by_type:                    ; @find_query_by_type
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _query_cmds@GOTPAGE
Lloh1:
	ldr	x9, [x9, _query_cmds@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x0]
	cmp	x9, x8
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x0, #24]
	add	x0, x0, #16
	cbnz	x9, LBB0_1
LBB0_3:
	mov	x0, #0
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_query_cmds,8,3                 ; @query_cmds
	.no_dead_strip	_find_query_by_type
.subsections_via_symbols
