	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QTNodeCompare                  ## -- Begin function QTNodeCompare
	.p2align	4, 0x90
_QTNodeCompare:                         ## @QTNodeCompare
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_check_stack_depth
	movq	8(%r13), %r15
	movq	(%r15), %rdx
	movq	8(%r14), %r12
	cmpq	(%r12), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_QI_OPR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_12
## %bb.3:
	movq	24(%r15), %rcx
	cmpq	24(%r12), %rcx
	jne	LBB0_1
## %bb.4:
	movq	(%r13), %rax
	cmpq	(%r14), %rax
	jne	LBB0_1
## %bb.5:
	testq	%rax, %rax
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	callq	_QTNodeCompare
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	cmpq	%rbx, (%r13)
	jg	LBB0_8
## %bb.9:
	movq	24(%r15), %rcx
LBB0_10:
	movq	_OP_PHRASE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.11:
	movq	32(%r12), %rcx
	cmpq	%rcx, 32(%r15)
	jne	LBB0_1
	jmp	LBB0_16
LBB0_12:
	movq	_QI_VAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_15
## %bb.13:
	movq	8(%r12), %rax
	cmpq	%rax, 8(%r15)
	jne	LBB0_1
## %bb.14:
	movl	16(%r13), %edi
	movl	16(%r15), %esi
	movl	16(%r14), %edx
	movl	16(%r12), %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tsCompareString                ## TAILCALL
LBB0_1:
	setle	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	xorl	%eax, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_QI_OPR,8,3                     ## @QI_OPR
	.comm	_OP_PHRASE,8,3                  ## @OP_PHRASE
	.comm	_QI_VAL,8,3                     ## @QI_VAL
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized QueryItem type: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QTNodeCompare                  ; -- Begin function QTNodeCompare
	.p2align	2
_QTNodeCompare:                         ; @QTNodeCompare
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_check_stack_depth
	ldr	x22, [x20, #8]
	ldr	x2, [x22]
	ldr	x21, [x19, #8]
	ldr	x8, [x21]
	cmp	x2, x8
	b.ne	LBB0_14
; %bb.1:
Lloh0:
	adrp	x8, _QI_OPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QI_OPR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_11
; %bb.2:
	ldr	x8, [x22, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.3:
	ldr	x9, [x20]
	ldr	x10, [x19]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.4:
	cmp	x9, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	lsl	x9, x23, #3
	ldr	x0, [x8, x9]
	ldr	x8, [x19, #24]
	ldr	x1, [x8, x9]
	bl	_QTNodeCompare
	cbnz	w0, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x8, x23
	b.gt	LBB0_6
; %bb.8:
	ldr	x8, [x22, #24]
LBB0_9:
Lloh3:
	adrp	x9, _OP_PHRASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OP_PHRASE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.10:
	ldr	x8, [x22, #32]
	ldr	x9, [x21, #32]
	cmp	x8, x9
	mov	w8, #-1
	cneg	w8, w8, le
	csel	w0, wzr, w8, eq
	b	LBB0_15
LBB0_11:
Lloh6:
	adrp	x8, _QI_VAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QI_VAL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_16
; %bb.12:
	ldr	x8, [x22, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	ldr	w0, [x20, #16]
	ldr	w1, [x22, #16]
	ldr	w2, [x19, #16]
	ldr	w3, [x21, #16]
	mov	w4, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_tsCompareString
LBB0_14:
	mov	w8, #-1
	cneg	w0, w8, le
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_17:
	mov	w0, #0
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QI_OPR,8,3                     ; @QI_OPR
	.comm	_OP_PHRASE,8,3                  ; @OP_PHRASE
	.comm	_QI_VAL,8,3                     ; @QI_VAL
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized QueryItem type: %d"

.subsections_via_symbols
