	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcam_setup_vb2
_mcam_setup_vb2:                        ## @mcam_setup_vb2
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	32(%rdi), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	%rbx, 72(%rbx)
	leaq	24(%rbx), %rax
	movq	%rax, 64(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_USERPTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VB2_DMABUF@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_VB2_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 32(%rbx)
	movl	$4, 36(%rbx)
	movl	20(%rbx), %eax
	movl	%eax, 56(%rbx)
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vb2_queue_init                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_VB2_READ,4,2                   ## @VB2_READ
	.comm	_mcam_ctlr_dma_contig,4,2       ## @mcam_ctlr_dma_contig
	.comm	_mcam_ctlr_dma_sg,4,2           ## @mcam_ctlr_dma_sg
	.comm	_mcam_ctlr_dma_vmalloc,4,2      ## @mcam_ctlr_dma_vmalloc
	.comm	_mcam_dma_contig_done,4,2       ## @mcam_dma_contig_done
	.comm	_mcam_dma_sg_done,4,2           ## @mcam_dma_sg_done
	.comm	_mcam_frame_tasklet,4,2         ## @mcam_frame_tasklet
	.comm	_mcam_vb2_ops,4,2               ## @mcam_vb2_ops
	.comm	_mcam_vb2_sg_ops,4,2            ## @mcam_vb2_sg_ops
	.comm	_mcam_vmalloc_done,4,2          ## @mcam_vmalloc_done
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_vb2_dma_sg_memops,4,2          ## @vb2_dma_sg_memops
	.comm	_vb2_vmalloc_memops,4,2         ## @vb2_vmalloc_memops
	.no_dead_strip	_mcam_setup_vb2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcam_setup_vb2
_mcam_setup_vb2:                        ; @mcam_setup_vb2
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #32
	mov	x0, x20
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh0:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #80]
	add	x8, x19, #24
Lloh3:
	adrp	x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
	stp	x8, x19, [x19, #64]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _VB2_MMAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VB2_MMAP@GOTPAGEOFF]
Lloh8:
	adrp	x10, _VB2_USERPTR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _VB2_USERPTR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _VB2_DMABUF@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VB2_DMABUF@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh15:
	adrp	x10, _VB2_READ@GOTPAGE
Lloh16:
	ldr	x10, [x10, _VB2_READ@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	w10, #4
	stp	w9, w10, [x19, #32]
	ldr	w9, [x19, #20]
	stp	w9, w8, [x19, #56]
	add	x0, x19, #16
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vb2_queue_init
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_VB2_READ,4,2                   ; @VB2_READ
	.comm	_mcam_ctlr_dma_contig,4,2       ; @mcam_ctlr_dma_contig
	.comm	_mcam_ctlr_dma_sg,4,2           ; @mcam_ctlr_dma_sg
	.comm	_mcam_ctlr_dma_vmalloc,4,2      ; @mcam_ctlr_dma_vmalloc
	.comm	_mcam_dma_contig_done,4,2       ; @mcam_dma_contig_done
	.comm	_mcam_dma_sg_done,4,2           ; @mcam_dma_sg_done
	.comm	_mcam_frame_tasklet,4,2         ; @mcam_frame_tasklet
	.comm	_mcam_vb2_ops,4,2               ; @mcam_vb2_ops
	.comm	_mcam_vb2_sg_ops,4,2            ; @mcam_vb2_sg_ops
	.comm	_mcam_vmalloc_done,4,2          ; @mcam_vmalloc_done
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_vb2_dma_sg_memops,4,2          ; @vb2_dma_sg_memops
	.comm	_vb2_vmalloc_memops,4,2         ; @vb2_vmalloc_memops
	.no_dead_strip	_mcam_setup_vb2
.subsections_via_symbols
