	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getimag
_getimag:                               ## @getimag
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	decl	%esi
	movaps	%xmm1, %xmm0
	xorl	%edi, %edi
	callq	_av_clip
	movl	%eax, %r14d
	movl	4(%rbx), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	xorl	%edi, %edi
	callq	_av_clip
	movq	8(%rbx), %rcx
	movslq	%r14d, %rdx
	movq	(%rcx,%rdx,8), %rcx
	cltq
	movsd	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getimag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getimag
_getimag:                               ; @getimag
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
	mov	x19, x0
	ldr	w8, [x0]
	sub	w1, w8, #1
	fmov	d0, d1
	mov	w0, #0
	bl	_av_clip
	mov	x20, x0
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	fmov	d0, d8
	mov	w0, #0
	bl	_av_clip
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w20, sxtw #3]
	ldr	d0, [x8, w0, sxtw #3]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getimag
.subsections_via_symbols
