	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gist_tqcmp
_gist_tqcmp:                            ## @gist_tqcmp
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_LTREE_FIRST
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_LQUERY_FIRST
	movq	%rax, %rdx
	movl	(%rbx), %r12d
	movl	(%r14), %eax
	testl	%r12d, %r12d
	jle	LBB0_9
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %r14
	movq	%rdx, %rdi
	callq	_LQL_FIRST
	movq	%rax, %rbx
	movl	8(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %r15d
	movq	(%r13), %rdi
	movq	(%rbx), %rsi
	callq	_Min
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_memcmp
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_LEVEL_NEXT
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_LQL_NEXT
	cmpl	$2, %r12d
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdx
	decl	%r12d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	-1(%rcx), %eax
	cmpl	$1, %ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jg	LBB0_3
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
LBB0_9:
	movslq	%r12d, %rdi
	movslq	%eax, %rsi
	callq	_Min
                                        ## kill: def $eax killed $eax def $rax
	subl	(%r14), %eax
	jmp	LBB0_10
LBB0_5:
	subl	%ecx, %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gist_tqcmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gist_tqcmp
_gist_tqcmp:                            ; @gist_tqcmp
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_LTREE_FIRST
	mov	x21, x0
	mov	x0, x19
	bl	_LQUERY_FIRST
	ldr	w26, [x20]
	ldr	w27, [x19]
	cmp	w26, #1
	ccmp	w27, #1, #8, ge
	b.lt	LBB0_7
; %bb.1:
	mov	x22, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_LQL_FIRST
	mov	x23, x0
	ldr	w24, [x21, #8]
	ldr	w25, [x0, #8]
	ldr	x0, [x21]
	ldr	x1, [x23]
	bl	_Min
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	bl	_memcmp
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_LEVEL_NEXT
	mov	x21, x0
	mov	x0, x22
	bl	_LQL_NEXT
	cmp	w26, #2
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	sub	w26, w26, #1
	sub	w8, w27, #1
	cmp	w27, #1
	mov	x27, x8
	b.gt	LBB0_2
LBB0_6:
	ldr	w26, [x20]
	ldr	w27, [x19]
LBB0_7:
	sxtw	x0, w26
	sxtw	x1, w27
	bl	_Min
	ldr	w8, [x19]
	sub	w0, w0, w8
	b	LBB0_9
LBB0_8:
	sub	w0, w8, w9
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gist_tqcmp
.subsections_via_symbols
