	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_latch_offset
_update_latch_offset:                   ## @update_latch_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$17, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$24, (%rbx)
	xorl	%edi, %edi
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
	cmpl	$16, (%rbx)
	sete	%dil
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$25, (%rbx)
LBB0_5:
	cmpl	$3, %r14d
	jne	LBB0_8
## %bb.6:
	movl	(%rbx), %eax
	cmpl	$24, %eax
	jl	LBB0_8
## %bb.7:
	addl	$2, %eax
	movl	%eax, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_update_latch_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_latch_offset
_update_latch_offset:                   ; @update_latch_offset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #17
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.1:
	mov	w0, #0
	mov	w8, #24
	str	w8, [x19]
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_2:
	mov	w8, #25
	str	w8, [x19]
LBB0_3:
	cmp	w20, #3
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #24
	b.lt	LBB0_6
; %bb.5:
	add	w8, w8, #2
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x19]
	cmp	w8, #16
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_update_latch_offset
.subsections_via_symbols
