	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmp_two_packs
_cmp_two_packs:                         ## @cmp_two_packs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r14d
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_3
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rsi
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rcx
	xorl	%ebx, %ebx
	xorl	%r10d, %r10d
	cmpl	$2, 8(%rsi)
	setl	%bl
	setge	%r9b
	xorl	%edi, %edi
	xorl	%r11d, %r11d
	cmpl	$2, 8(%rcx)
	setl	%al
	setge	%r8b
	leal	(%r14,%rbx,4), %edx
	movq	16(%rsi), %rbx
	imulq	%rdx, %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.5:
	movb	%al, %dil
	leal	(%r14,%rdi,4), %r12d
	movq	16(%rcx), %rax
	imulq	%r12, %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	(%rsi), %rax
	movq	(%rcx), %rcx
	movb	%r9b, %r10b
	leaq	(%rax,%r10,4), %rax
	addq	$1028, %rax                     ## imm = 0x404
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movb	%r8b, %r11b
	leaq	(%rcx,%r11,4), %rax
	addq	$1028, %rax                     ## imm = 0x404
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rbx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	movq	%rbx, %rdi
	callq	_hashcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rax
	movl	$0, %ecx
	cmovsq	%rcx, %rax
	movl	$0, %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmovsq	%rdx, %rcx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_llist_sorted_remove
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_llist_sorted_remove
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rcx
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%rcx, %r13
	movq	8(%r15), %rcx
	movq	16(%rcx), %rcx
	imulq	%rdx, %rcx
	cmpq	%rcx, %r13
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	%rax, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	16(%rax), %rax
	imulq	%r12, %rax
	cmpq	%rax, %r14
	jb	LBB0_7
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	16(%rbx), %edi
	callq	_llist_copy
	movq	%rax, (%rbx)
	cmpq	$0, (%r15)
	jne	LBB0_4
LBB0_3:
	movl	16(%r15), %edi
	callq	_llist_copy
	movq	%rax, (%r15)
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.no_dead_strip	_cmp_two_packs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_two_packs
_cmp_two_packs:                         ; @cmp_two_packs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w21, [x8]
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	ldr	w10, [x8, #8]
	cmp	w10, #2
	cset	w13, lt
	mov	w11, #1032
	mov	w14, #1028
	csel	x10, x14, x11, lt
	ldr	w12, [x9, #8]
	cmp	w12, #2
	cset	w12, lt
	csel	x11, x14, x11, lt
	add	w24, w21, w13, lsl #2
	ldr	x13, [x8, #16]
	mul	x13, x13, x24
	cbz	x13, LBB0_10
; %bb.3:
	add	w25, w21, w12, lsl #2
	ldr	x12, [x9, #16]
	mul	x12, x12, x25
	cbz	x12, LBB0_10
; %bb.4:
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	mov	x22, #0
	mov	x26, #0
	mov	x27, #0
	ldr	x8, [x8]
	ldr	x9, [x9]
	add	x28, x8, x10
	add	x21, x9, x11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x28, x27
	add	x1, x21, x26
	mov	x0, x23
	bl	_hashcmp
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #0
	csel	x8, xzr, x25, lt
	csel	x9, x24, xzr, lt
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20]
	mov	x1, x23
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_llist_sorted_remove
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x0, [x19]
	mov	x1, x23
	mov	x2, x22
	bl	_llist_sorted_remove
	mov	x22, x0
	mov	x8, x25
	mov	x9, x24
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x20, #8]
	ldr	x10, [x10, #16]
	mul	x10, x10, x24
	add	x27, x9, x27
	cmp	x27, x10
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #16]
	mul	x9, x9, x25
	add	x26, x8, x26
	cmp	x26, x9
	b.lo	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	ldr	w0, [x20, #16]
	bl	_llist_copy
	str	x0, [x20]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_llist_copy
	str	x0, [x19]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.no_dead_strip	_cmp_two_packs
.subsections_via_symbols
