	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function task_overlay_image_done
_task_overlay_image_done:               ## @task_overlay_image_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, 8(%rdi)
	movl	4(%rdi), %ecx
	leal	1(%rcx), %edx
	movl	$8, %eax
	cmpl	$3, %edx
	jb	LBB0_2
## %bb.1:
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
LBB0_2:
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_task_overlay_image_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function task_overlay_image_done
_task_overlay_image_done:               ; @task_overlay_image_done
	.cfi_startproc
; %bb.0:
	str	xzr, [x0, #8]
	ldr	w8, [x0, #4]
	add	w9, w8, #1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mov	w10, #8
	cmp	w9, #3
	csel	w8, w10, w8, lo
	str	w8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_task_overlay_image_done
.subsections_via_symbols
