	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function source_dummy
LCPI0_0:
	.long	0x41200000                      ## float 10
LCPI0_1:
	.long	0x43600000                      ## float 224
LCPI0_2:
	.long	0x41800000                      ## float 16
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_3:
	.space	16,255
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_source_dummy
	.p2align	4, 0x90
_source_dummy:                          ## @source_dummy
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	63(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$6, %ecx
	cvtsi2ss	%ecx, %xmm1
	movq	_frame_cap@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_video_buf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_V4L2_FIELD_TOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	-80(%rbp)                       ## 1-byte Folded Spill
	movq	_V4L2_FIELD_BOTTOM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	-44(%rbp)                       ## 1-byte Folded Spill
	movq	_dummy_pos@GOTPCREL(%rip), %r13
	movss	(%r13), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm1, -52(%rbp)                ## 4-byte Spill
	addss	%xmm1, %xmm0
	movss	%xmm0, (%r13)
	callq	_sinf
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rdx
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rcx
	xorps	%xmm0, %xmm0
	cmpq	(%rcx), %rdx
	jne	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_video_half_feed_rate@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rax)
LBB0_3:
	movss	(%r13), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_sinf
	movl	%eax, %r14d
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	(%r13), %xmm0
	movss	%xmm0, (%r13)
	callq	_sinf
	movd	%r14d, %xmm0
	pinsrd	$1, %eax, %xmm0
	pcmpeqd	%xmm1, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	movd	%r15d, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	pmulld	%xmm1, %xmm0
	movq	%rbx, %rax
LBB0_4:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	imull	%r15d, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.5:
	leal	1(%rax), %ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %r14d
	incl	%r14d
	movb	-80(%rbp), %al                  ## 1-byte Reload
	andb	-44(%rbp), %al                  ## 1-byte Folded Reload
	sarl	%r14d
	movzbl	%al, %r13d
	imull	%r15d, %r14d
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$12, %r12
	cmpl	%ebx, -48(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movl	%ebx, %eax
	cltd
	idivl	%r15d
	leal	(%r14,%r13), %eax
	subl	%edx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	divss	LCPI0_0(%rip), %xmm0
	movl	$-1, %edi
	movl	$1, %esi
	callq	_clamp_float
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	incl	%ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	incl	%eax
	sarl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	mulss	LCPI0_1(%rip), %xmm0
	addss	LCPI0_2(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	movl	%eax, (%r12)
	movl	%eax, 4(%r12)
	movl	%eax, 8(%r12)
	incl	%ebx
	movl	%ebx, %eax
	cltd
	idivl	%r15d
	testl	%edx, %edx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	paddd	LCPI0_3(%rip), %xmm0
	movq	_video_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movd	%xmm0, %ecx
	pextrd	$1, %xmm0, %r14d
	cmovel	%ecx, %r14d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	addl	$-2, %r14d
	jmp	LBB0_11
LBB0_12:
	movq	_video_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_V4L2_FIELD_TOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_V4L2_FIELD_BOTTOM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, %rcx
	jne	LBB0_14
## %bb.13:
	movq	%rdx, %rax
	jmp	LBB0_15
LBB0_14:
	cmpq	%rdx, %rcx
	jne	LBB0_16
LBB0_15:
	movq	_video_buf@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_frame_cap,8,3                  ## @frame_cap
	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_video_buf,8,3                  ## @video_buf
	.comm	_V4L2_FIELD_TOP,8,3             ## @V4L2_FIELD_TOP
	.comm	_V4L2_FIELD_BOTTOM,8,3          ## @V4L2_FIELD_BOTTOM
	.comm	_dummy_pos,4,2                  ## @dummy_pos
	.comm	_V4L2_FIELD_INTERLACED,8,3      ## @V4L2_FIELD_INTERLACED
	.comm	_video_half_feed_rate,4,2       ## @video_half_feed_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_source_dummy                   ; -- Begin function source_dummy
	.p2align	2
_source_dummy:                          ; @source_dummy
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _frame_cap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _frame_cap@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_PI@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_PI@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	add	w10, w9, #63
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #6
	scvtf	s8, w9
Lloh5:
	ldr	x22, [x8]
Lloh6:
	adrp	x24, _video_buf@GOTPAGE
Lloh7:
	ldr	x24, [x24, _video_buf@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh8:
	adrp	x9, _V4L2_FIELD_TOP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_FIELD_TOP@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh11:
	adrp	x9, _V4L2_FIELD_BOTTOM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_FIELD_BOTTOM@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ccmp	x8, x9, #0, ne
	cset	w25, eq
Lloh14:
	adrp	x23, _dummy_pos@GOTPAGE
Lloh15:
	ldr	x23, [x23, _dummy_pos@GOTPAGEOFF]
	ldr	s0, [x23]
	fadd	s0, s0, s8
	str	s0, [x23]
	bl	_sinf
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w21, w9, w0, lt
	ldr	x8, [x24]
Lloh16:
	adrp	x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh17:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh19:
	adrp	x8, _video_half_feed_rate@GOTPAGE
Lloh20:
	ldr	x8, [x8, _video_half_feed_rate@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_3
; %bb.2:
	mov	w9, #1
	str	w9, [x8]
LBB0_3:
	ldr	s0, [x23]
	bl	_sinf
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w8, w9, w0, lt
	asr	w8, w8, #1
	mul	w27, w8, w19
	ldr	s0, [x23]
	fadd	s0, s0, s8
	str	s0, [x23]
	bl	_sinf
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w8, w9, w0, lt
	asr	w8, w8, #1
	mul	w28, w8, w19
	b	LBB0_5
LBB0_4:
	mov	w27, #0
	mov	w28, #0
LBB0_5:
	mul	w20, w20, w19
	cmp	w20, #1
	b.lt	LBB0_12
; %bb.6:
	mov	w23, #0
	mov	w24, #0
	asr	w8, w21, #1
	mul	w26, w8, w19
	fmov	s8, #10.00000000
	mov	w21, #1130364928
	fmov	s9, #16.00000000
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	cmp	w24, #0
	csel	w26, w27, w28, eq
	cset	w24, eq
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #12
	cmp	w20, w23
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w8, w23, w19
	neg	w9, w23
	madd	w8, w8, w19, w9
	add	w9, w26, w25
	add	w8, w9, w8
	scvtf	s0, w8
	fdiv	s0, s0, s8
	mov	w0, #-1
	mov	w1, #1
	bl	_clamp_float
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w8, w9, w0, lt
	asr	w8, w8, #1
	scvtf	s0, w8
	fmov	s1, w21
	fmadd	s0, s0, s1, s9
	fcvtzs	w8, s0
	stp	w8, w8, [x22]
	str	w8, [x22, #8]
	add	w23, w23, #1
	sdiv	w8, w23, w19
	msub	w8, w8, w19, w23
	cbnz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w27, w27, #1
	sub	w28, w28, #1
Lloh21:
	adrp	x8, _video_buf@GOTPAGE
Lloh22:
	ldr	x8, [x8, _video_buf@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh25:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w26, w26, #2
	b	LBB0_8
LBB0_12:
Lloh27:
	adrp	x8, _video_buf@GOTPAGE
Lloh28:
	ldr	x8, [x8, _video_buf@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x8]
Lloh30:
	adrp	x8, _V4L2_FIELD_TOP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_FIELD_TOP@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x8]
Lloh33:
	adrp	x8, _V4L2_FIELD_BOTTOM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _V4L2_FIELD_BOTTOM@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x10, x9
	b.eq	LBB0_14
; %bb.13:
	cmp	x10, x8
	mov	x8, x9
	b.ne	LBB0_15
LBB0_14:
Lloh36:
	adrp	x9, _video_buf@GOTPAGE
Lloh37:
	ldr	x9, [x9, _video_buf@GOTPAGEOFF]
Lloh38:
	str	x8, [x9]
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh5
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_frame_cap,8,3                  ; @frame_cap
	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_video_buf,8,3                  ; @video_buf
	.comm	_V4L2_FIELD_TOP,8,3             ; @V4L2_FIELD_TOP
	.comm	_V4L2_FIELD_BOTTOM,8,3          ; @V4L2_FIELD_BOTTOM
	.comm	_dummy_pos,4,2                  ; @dummy_pos
	.comm	_V4L2_FIELD_INTERLACED,8,3      ; @V4L2_FIELD_INTERLACED
	.comm	_video_half_feed_rate,4,2       ; @video_half_feed_rate
.subsections_via_symbols
