	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function merge
LCPI0_0:
	.long	0x5f000000                      ## float 9.22337203E+18
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_merge
	.p2align	4, 0x90
_merge:                                 ## @merge
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAXQ@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_28
## %bb.1:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	movq	_ratings@GOTPCREL(%rip), %r13
	movq	_RATING_MIN@GOTPCREL(%rip), %r12
	movq	_q@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAXQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %r9
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cltq
	cmpq	%rax, %r15
	jge	LBB0_28
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	movq	(%r13), %rcx
	movq	(%r14,%r15,8), %rax
	movq	(%rcx,%rax,8), %rcx
	cmpq	(%r12), %rcx
	jle	LBB0_28
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %rbx
	movq	_names@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rdi
	movq	_names_buff@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_black_list_check
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14,%r15,8), %rdi
	callq	_get_rating
	movq	_MAXQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r8d, %r8d
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_stemmed_names@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rbx, %r9
	movq	(%rbx), %rsi
	movq	(%r14,%r15,8), %rdi
	movq	(%rdx,%rdi,8), %rdi
	xorl	%r12d, %r12d
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%r12,8), %rcx
	cmpq	%rdi, (%rdx,%rcx,8)
	je	LBB0_9
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%r12
	cmpq	%r12, %rax
	jne	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_RATING_MIN@GOTPCREL(%rip), %r12
	jmp	LBB0_19
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r9
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_rating_q@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	ucomiss	(%rdx,%r12,4), %xmm0
	jbe	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movss	%xmm0, (%rdx,%r12,4)
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%r12), %r13d
	movss	(%rdx,%r13,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	ucomiss	%xmm1, %xmm0
	movq	%r9, %r14
	movq	_rating_q@GOTPCREL(%rip), %rbx
	jbe	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cvttss2si	%xmm1, %rax
	subss	%xmm2, %xmm1
	cvttss2si	%xmm1, %rcx
	movq	%rax, %rdi
	sarq	$63, %rdi
	cvttss2si	%xmm0, %rdx
	andq	%rcx, %rdi
	subss	%xmm2, %xmm0
	cvttss2si	%xmm0, %rcx
	orq	%rax, %rdi
	movq	%rdx, %rsi
	sarq	$63, %rsi
	andq	%rcx, %rsi
	orq	%rdx, %rsi
	callq	_swap
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rdi
	movq	(%rax,%r12,8), %rsi
	callq	_swap
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movq	(%rbx), %rax
	movss	(%rax,%r12,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rax,%r13,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAXQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r12d, %r8d
	movq	_ratings@GOTPCREL(%rip), %r13
	movq	%r14, %r9
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r8d
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r8d
	movq	_RATING_MIN@GOTPCREL(%rip), %r12
	jne	LBB0_27
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_rating_q@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %rdx
	ucomiss	-4(%rcx,%rdx,4), %xmm0
	jbe	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	-2(%rax), %edx
	cmpl	$2, %eax
	jl	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r9), %rsi
	movl	%edx, %edx
	incq	%rdx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-4(%rcx,%rdx,4), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	-8(%rsi,%rdx,8), %rdi
	movq	%rdi, (%rsi,%rdx,8)
	movss	%xmm1, (%rcx,%rdx,4)
	decq	%rdx
	jg	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %edx
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%edx
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14,%r15,8), %rsi
	movq	(%r9), %rdi
	movslq	%edx, %rdx
	movq	%rsi, 8(%rdi,%rdx,8)
	movss	%xmm0, 4(%rcx,%rdx,4)
	jmp	LBB0_27
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXQ,4,2                       ## @MAXQ
	.comm	_ratings,8,3                    ## @ratings
	.comm	_RATING_MIN,8,3                 ## @RATING_MIN
	.comm	_names_buff,8,3                 ## @names_buff
	.comm	_names,8,3                      ## @names
	.comm	_stemmed_names,8,3              ## @stemmed_names
	.comm	_q,8,3                          ## @q
	.comm	_rating_q,8,3                   ## @rating_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_merge                          ; -- Begin function merge
	.p2align	2
_merge:                                 ; @merge
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
Lloh0:
	adrp	x20, _MAXQ@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAXQ@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.1:
	mov	x19, x0
	mov	x21, #0
Lloh2:
	adrp	x22, _ratings@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ratings@GOTPAGEOFF]
Lloh4:
	adrp	x23, _RATING_MIN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _RATING_MIN@GOTPAGEOFF]
Lloh6:
	adrp	x24, _names_buff@GOTPAGE
Lloh7:
	ldr	x24, [x24, _names_buff@GOTPAGEOFF]
Lloh8:
	adrp	x25, _names@GOTPAGE
Lloh9:
	ldr	x25, [x25, _names@GOTPAGEOFF]
Lloh10:
	adrp	x28, _stemmed_names@GOTPAGE
Lloh11:
	ldr	x28, [x28, _stemmed_names@GOTPAGEOFF]
Lloh12:
	adrp	x27, _q@GOTPAGE
Lloh13:
	ldr	x27, [x27, _q@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_26
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	ldr	x9, [x22]
	ldr	x8, [x19, x21, lsl #3]
	ldr	x9, [x9, x8, lsl #3]
	ldr	x10, [x23]
	cmp	x9, x10
	b.le	LBB0_26
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24]
	ldr	x10, [x25]
	ldr	x8, [x10, x8, lsl #3]
	add	x0, x8, x9
	bl	_black_list_check
	cbnz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, x21, lsl #3]
	bl	_get_rating
	fmov	s8, s0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	ldr	x9, [x28]
	ldr	x10, [x27]
	ldr	x11, [x19, x21, lsl #3]
	ldr	x11, [x9, x11, lsl #3]
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x10, x26, lsl #3]
	ldr	x12, [x9, x12, lsl #3]
	cmp	x12, x11
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x26, x26, #1
	cmp	x8, x26
	b.ne	LBB0_8
	b	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x25
	mov	x25, x24
Lloh14:
	adrp	x24, _rating_q@GOTPAGE
Lloh15:
	ldr	x24, [x24, _rating_q@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	s0, [x9, x26, lsl #2]
	fcmp	s8, s0
	b.le	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	str	s8, [x9, x26, lsl #2]
	cbz	w26, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w28, w26, #1
	ldr	s0, [x9, w28, uxtw #2]
	fcmp	s0, s8
	b.pl	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	fmov	s1, s8
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	fcvtzu	x0, s0
	fcvtzu	x1, s1
	bl	_swap
	ldr	x8, [x27]
	ldr	x0, [x8, x28, lsl #3]
	ldr	x1, [x8, x26, lsl #3]
	bl	_swap
	ldr	x8, [x24]
	ldr	s1, [x8, x26, lsl #2]
	ldr	s0, [x8, x28, lsl #2]
	fcmp	s0, s1
	b.mi	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
Lloh16:
	adrp	x28, _stemmed_names@GOTPAGE
Lloh17:
	ldr	x28, [x28, _stemmed_names@GOTPAGEOFF]
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x25
	mov	x25, x22
Lloh18:
	adrp	x22, _ratings@GOTPAGE
Lloh19:
	ldr	x22, [x22, _ratings@GOTPAGEOFF]
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w8
	b.ne	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x9, _rating_q@GOTPAGE
Lloh21:
	ldr	x9, [x9, _rating_q@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	sub	w10, w8, #1
	ldr	s0, [x9, w10, sxtw #2]
	fcmp	s0, s8
	b.pl	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	subs	w10, w8, #2
	b.lt	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x27]
	add	x11, x9, w10, uxtw #2
	add	x11, x11, #4
	add	x12, x12, w10, uxtw #3
	add	x12, x12, #8
LBB0_22:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	s0, [x11, #-4]
	fcmp	s0, s8
	b.pl	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x13, x12
	ldr	x14, [x13, #-8]!
	str	x14, [x12]
	str	s0, [x11], #-4
	sub	x14, x10, #1
	mov	x12, x13
	cmp	x10, #0
	mov	x10, x14
	b.gt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #-1
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x19, x21, lsl #3]
	ldr	x12, [x27]
	add	w10, w10, #1
	str	x11, [x12, w10, sxtw #3]
	str	s8, [x9, w10, sxtw #2]
	b	LBB0_3
LBB0_26:
	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
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXQ,4,2                       ; @MAXQ
	.comm	_ratings,8,3                    ; @ratings
	.comm	_RATING_MIN,8,3                 ; @RATING_MIN
	.comm	_names_buff,8,3                 ; @names_buff
	.comm	_names,8,3                      ; @names
	.comm	_stemmed_names,8,3              ; @stemmed_names
	.comm	_q,8,3                          ; @q
	.comm	_rating_q,8,3                   ; @rating_q
.subsections_via_symbols
