	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deinterlace_queue_setup
_deinterlace_queue_setup:               ## @deinterlace_queue_setup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_vb2_get_drv_priv
	movq	%rax, %r13
	movl	(%r12), %ebx
	movl	(%r14), %edi
	callq	_get_q_data
	movq	8(%rax), %rcx
	cmpl	$129, (%rcx)
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	jne	LBB0_2
## %bb.1:
	imull	%eax, %ecx
	leal	(%rcx,%rcx,2), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	jmp	LBB0_3
LBB0_2:
	imull	%eax, %ecx
	addl	%ecx, %ecx
LBB0_3:
	movl	$1, (%r15)
	movl	%ebx, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_dprintk
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get %d buffer(s) of size %d each.\n"

	.no_dead_strip	_deinterlace_queue_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deinterlace_queue_setup
_deinterlace_queue_setup:               ; @deinterlace_queue_setup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_vb2_get_drv_priv
	mov	x23, x0
	ldr	w24, [x21]
	ldr	w0, [x22]
	bl	_get_q_data
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	ldp	w9, w10, [x0]
	mul	w9, w9, w10
	lsl	w10, w9, #1
	add	w9, w9, w9, lsl #1
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	cmp	w8, #129
	csel	w3, w10, w9, ne
	mov	w8, #1
	str	w8, [x20]
	str	w24, [x21]
	str	w3, [x19]
	ldr	w0, [x23]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_dprintk
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get %d buffer(s) of size %d each.\n"

	.no_dead_strip	_deinterlace_queue_setup
.subsections_via_symbols
