	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function get_motion_vector
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_get_motion_vector
	.p2align	4, 0x90
_get_motion_vector:                     ## @get_motion_vector
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, (%rcx)
	movl	$0, (%r8)
	movl	$0, (%r9)
	movl	%edx, %eax
	orl	%esi, %eax
	je	LBB0_12
## %bb.1:
	movq	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %ebx
	movl	%esi, %r13d
	movl	%edi, %r14d
	movss	%xmm1, -80(%rbp)                ## 4-byte Spill
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_atan2f
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.2:
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	-80(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	___sincosf_stret
	xorps	%xmm1, %xmm1
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	movaps	%xmm0, %xmm1
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.6:
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	jmp	LBB0_7
LBB0_10:
	addss	-64(%rbp), %xmm0                ## 4-byte Folded Reload
	callq	___sincosf_stret
	movaps	%xmm0, %xmm2
	extractps	$1, %xmm0, (%r12)
	movl	$0, (%r15)
	jmp	LBB0_11
LBB0_5:
	movshdup	%xmm0, %xmm2                    ## xmm2 = xmm0[1,1,3,3]
LBB0_7:
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	testl	%r13d, %r13d
	movaps	%xmm2, -64(%rbp)                ## 16-byte Spill
	jle	LBB0_9
## %bb.8:
	xorps	LCPI0_1(%rip), %xmm0
LBB0_9:
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	callq	___sincosf_stret
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movaps	-64(%rbp), %xmm2                ## 16-byte Reload
	mulss	%xmm2, %xmm1
	movss	%xmm1, (%r12)
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	movss	%xmm1, (%r15)
	mulss	%xmm0, %xmm2
LBB0_11:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm2, (%rax)
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_motion_vector              ; -- Begin function get_motion_vector
	.p2align	2
_get_motion_vector:                     ; @get_motion_vector
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	str	wzr, [x3]
	str	wzr, [x4]
	str	wzr, [x5]
	orr	w8, w2, w1
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	fmov	s9, s1
	fmov	s8, s0
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	mov	x0, x1
	mov	x1, x2
	bl	_atan2f
	fmov	s10, s0
	cbz	w24, LBB0_3
; %bb.2:
	fmov	s0, s9
	bl	___sincosf_stret
	cmp	w22, #0
	movi	d2, #0000000000000000
	fcsel	s2, s2, s0, eq
	cmp	w23, #0
	fmov	s3, #1.00000000
	fcsel	s9, s1, s3, eq
	fcsel	s0, s0, s2, eq
	cmp	w22, #0
	fneg	s1, s0
	fcsel	s11, s1, s0, gt
	fadd	s0, s10, s8
	bl	___sincosf_stret
	fmul	s1, s9, s1
	str	s1, [x21]
	str	s11, [x20]
	fmul	s0, s9, s0
	b	LBB0_4
LBB0_3:
	fadd	s0, s10, s8
	bl	___sincosf_stret
	str	s1, [x21]
	str	wzr, [x20]
LBB0_4:
	str	s0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
