	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpe_queue_setup
_vpe_queue_setup:                       ## @vpe_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, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_vb2_get_drv_priv
	movq	%rax, %r14
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_get_q_data
	movq	%rax, %r15
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	8(%r15), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rcx,4), %edx
	movl	%edx, (%r13,%rcx,4)
	incq	%rcx
	movl	(%rbx), %edx
	cmpq	%rdx, %rcx
	jb	LBB0_2
LBB0_3:
	movl	(%r14), %edi
	movl	(%r12), %edx
	movq	_VPE_LUMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r13,%rax,4), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_vpe_dbg
	cmpl	$2, (%r15)
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	movq	_VPE_CHROMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r13,%rax,4), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_vpe_dbg
LBB0_5:
	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"

	.comm	_VPE_LUMA,8,3                   ## @VPE_LUMA
L_.str.1:                               ## @.str.1
	.asciz	" and %d\n"

	.comm	_VPE_CHROMA,8,3                 ## @VPE_CHROMA
	.no_dead_strip	_vpe_queue_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpe_queue_setup
_vpe_queue_setup:                       ; @vpe_queue_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x22, x1
	mov	x21, x0
	bl	_vb2_get_drv_priv
	mov	x20, x0
	ldr	w1, [x21]
	bl	_get_q_data
	mov	x21, x0
	ldr	w8, [x0]
	str	w8, [x23]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x9, [x21, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #2
	ldr	w11, [x9, x10]
	str	w11, [x19, x10]
	add	x8, x8, #1
	ldr	w10, [x23]
	cmp	x8, x10
	b.lo	LBB0_2
LBB0_3:
	ldr	w0, [x20]
	ldr	w2, [x22]
Lloh0:
	adrp	x8, _VPE_LUMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPE_LUMA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vpe_dbg
	ldr	w8, [x21]
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _VPE_CHROMA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VPE_CHROMA@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w2, [x19, x8, lsl #2]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_vpe_dbg
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get %d buffer(s) of size %d"

	.comm	_VPE_LUMA,8,3                   ; @VPE_LUMA
l_.str.1:                               ; @.str.1
	.asciz	" and %d\n"

	.comm	_VPE_CHROMA,8,3                 ; @VPE_CHROMA
	.no_dead_strip	_vpe_queue_setup
.subsections_via_symbols
