	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_cand
_update_cand:                           ## @update_cand
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	subl	%eax, %edx
	xorl	%eax, %eax
	cmpl	(%r12), %edx
	jle	LBB0_4
## %bb.3:
	movq	%r9, %r14
	movq	%r8, %r15
	movl	24(%rbp), %eax
	movq	16(%rbp), %rdi
	movl	%edx, (%r12)
	movslq	%eax, %rdx
	movq	%rcx, %rsi
	callq	_strlcpy
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	(%r12), %eax
	movl	%eax, (%r14)
	movl	$1, %eax
LBB0_4:
	movl	$-1, (%rbx)
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_cand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_cand
_update_cand:                           ; @update_cand
	.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
                                        ; kill: def $w7 killed $w7 def $x7
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x22, x2
	mov	x19, x0
	ldr	w9, [x1]
	ldr	w10, [x2]
	sub	w8, w9, w8
	cmp	w8, w10
	b.le	LBB0_4
; %bb.2:
	mov	x20, x5
	mov	x21, x4
	str	w8, [x22]
	sxtw	x2, w7
	mov	x0, x6
	mov	x1, x3
	bl	_strlcpy
	ldr	w8, [x19]
	str	w8, [x21]
	ldr	w8, [x22]
	str	w8, [x20]
	mov	w0, #1
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	mov	w8, #-1
	str	w8, [x19]
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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_cand
.subsections_via_symbols
