	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CompareTSQ
_CompareTSQ:                            ## @CompareTSQ
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_VARSIZE
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_VARSIZE
	cmpq	%rax, %r15
	jne	LBB0_3
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_GETQUERY
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_GETOPERAND
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_QT2QTN
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_GETQUERY
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_GETOPERAND
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_QT2QTN
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_QTNodeCompare
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_QTNFree
	movq	%rbx, %rdi
	callq	_QTNFree
	movl	%r14d, %eax
	jmp	LBB0_7
LBB0_1:
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_VARSIZE
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_VARSIZE
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%cl
	leal	(%rcx,%rcx), %eax
	decl	%eax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_CompareTSQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CompareTSQ
_CompareTSQ:                            ; @CompareTSQ
	.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
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_VARSIZE
	mov	x21, x0
	mov	x0, x19
	bl	_VARSIZE
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_GETQUERY
	mov	x21, x0
	mov	x0, x20
	bl	_GETOPERAND
	mov	x1, x0
	mov	x0, x21
	bl	_QT2QTN
	mov	x20, x0
	mov	x0, x19
	bl	_GETQUERY
	mov	x21, x0
	mov	x0, x19
	bl	_GETOPERAND
	mov	x1, x0
	mov	x0, x21
	bl	_QT2QTN
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_QTNodeCompare
	mov	x21, x0
	mov	x0, x20
	bl	_QTNFree
	mov	x0, x19
	bl	_QTNFree
	mov	x0, x21
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_VARSIZE
	mov	x20, x0
	mov	x0, x19
	bl	_VARSIZE
	cmp	x20, x0
LBB0_5:
	mov	w8, #-1
	cneg	w0, w8, ge
LBB0_6:
	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_7:
	mov	w0, #0
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_CompareTSQ
.subsections_via_symbols
