	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_next_coarsecandidate
_find_next_coarsecandidate:             ## @find_next_coarsecandidate
	.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	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	testl	%r8d, %r8d
	jne	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, (%rbx)
	jmp	LBB0_7
LBB0_3:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.6:
	movq	%r15, (%rbx)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_7:
	movq	(%r14), %rsi
	movq	(%rbx), %rdx
	movq	%r12, %rdi
	callq	_get_jaccarddist
	movl	$1, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rdx, (%rbx)
	movq	(%r14), %rsi
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	callq	_get_jaccarddist
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, (%rbx)
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	%rsi, (%r14)
	movq	(%rbx), %rdx
	jmp	LBB0_13
LBB0_4:
	xorl	%r13d, %r13d
LBB0_5:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_next_coarsecandidate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_next_coarsecandidate
_find_next_coarsecandidate:             ; @find_next_coarsecandidate
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cbnz	w4, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	str	x8, [x19]
	b	LBB0_5
LBB0_3:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.4:
	str	x21, [x19]
	ldr	x8, [x20]
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_5:
	ldr	x1, [x20]
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x2, [x19]
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_get_jaccarddist
	cbnz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x19]
	ldr	x2, [x8]
	cbz	x2, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	str	x2, [x19]
	ldr	x1, [x20]
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x21, [x19]
	ldr	x8, [x20]
	ldr	x1, [x8]
	str	x1, [x20]
	b	LBB0_6
LBB0_12:
	mov	w0, #1
LBB0_13:
	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_14:
	mov	w0, #0
	b	LBB0_13
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_next_coarsecandidate
.subsections_via_symbols
