	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_duration
_get_duration:                          ## @get_duration
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_duration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_duration
_get_duration:                          ; @get_duration
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x1
	ret
LBB0_2:
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.3:
	add	w9, w1, w8
	sub	w9, w9, #1
	sdiv	w1, w9, w8
	mov	x0, x1
	ret
LBB0_4:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_duration
.subsections_via_symbols
