	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xvip_dma_init                  ## -- Begin function xvip_dma_init
	.p2align	4, 0x90
_xvip_dma_init:                         ## @xvip_dma_init
	.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	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, 8(%rsi)
	movl	%ecx, (%rsi)
	leaq	152(%rsi), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_mutex_init
	leaq	208(%rbx), %rdi
	callq	_mutex_init
	leaq	204(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	200(%rbx), %rdi
	callq	_spin_lock_init
	movq	_XVIP_DMA_DEF_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xvip_get_format_by_fourcc
	movq	%rax, 192(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 184(%rbx)
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 180(%rbx)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 176(%rbx)
	movq	_XVIP_DMA_DEF_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 160(%rbx)
	movq	_XVIP_DMA_DEF_HEIGHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 164(%rbx)
	imull	(%rax), %ecx
	movl	%ecx, 168(%rbx)
	imull	%edx, %ecx
	movl	%ecx, 172(%rbx)
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	leaq	156(%rbx), %rdx
	movl	%eax, 156(%rbx)
	leaq	80(%rbx), %rdi
	movl	$1, %esi
	callq	_media_entity_pads_init
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	leaq	16(%rbx), %r14
	movq	_xvip_dma_fops@GOTPCREL(%rip), %rax
	movq	%rax, 72(%rbx)
	leaq	8(%r13), %rax
	movq	%rax, 64(%rbx)
	leaq	96(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, 56(%rbx)
	movslq	52(%rbx), %rdi
	movq	(%r13), %rax
	movl	(%rax), %ecx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %r13
	cmpl	%r12d, (%r13)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_snprintf
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	cmpl	%r12d, (%r13)
	movq	_VFL_DIR_TX@GOTPCREL(%rip), %rax
	cmoveq	_VFL_DIR_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_video_device_release_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_xvip_dma_ioctl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, 24(%rbx)
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_VIDEO_OUTPUT@GOTPCREL(%rip), %rcx
	cmoveq	_V4L2_CAP_VIDEO_CAPTURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movl	%r12d, 96(%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
	movl	%ecx, 100(%rbx)
	movq	%r15, 144(%rbx)
	movq	%rbx, 136(%rbx)
	movl	$4, 104(%rbx)
	movq	_xvip_dma_queue_qops@GOTPCREL(%rip), %rax
	movq	%rax, 128(%rbx)
	movq	_vb2_dma_contig_memops@GOTPCREL(%rip), %rax
	movq	%rax, 120(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movq	_V4L2_BUF_FLAG_TSTAMP_SRC_EOF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 108(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, 112(%rbx)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_vb2_queue_init
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	leaq	L_.str.4(%rip), %rdx
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_dma_request_slave_channel
	movq	%rax, 88(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	(%rax), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, 4(%rbx)
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %edx
	callq	_video_register_device
	testl	%eax, %eax
	jns	LBB0_12
## %bb.10:
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_err
	movl	%r15d, %r14d
	jmp	LBB0_11
LBB0_4:
	movl	%eax, %r14d
	jmp	LBB0_11
LBB0_6:
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_11
LBB0_8:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movq	%rbx, %rdi
	callq	_xvip_dma_cleanup
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XVIP_DMA_DEF_FORMAT,4,2        ## @XVIP_DMA_DEF_FORMAT
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_XVIP_DMA_DEF_WIDTH,4,2         ## @XVIP_DMA_DEF_WIDTH
	.comm	_XVIP_DMA_DEF_HEIGHT,4,2        ## @XVIP_DMA_DEF_HEIGHT
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_xvip_dma_fops,4,2              ## @xvip_dma_fops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%pOFn %s %u"

L_.str.1:                               ## @.str.1
	.asciz	"output"

L_.str.2:                               ## @.str.2
	.asciz	"input"

	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.comm	_VFL_DIR_RX,4,2                 ## @VFL_DIR_RX
	.comm	_VFL_DIR_TX,4,2                 ## @VFL_DIR_TX
	.comm	_video_device_release_empty,4,2 ## @video_device_release_empty
	.comm	_xvip_dma_ioctl_ops,4,2         ## @xvip_dma_ioctl_ops
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ## @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_VIDEO_OUTPUT,4,2      ## @V4L2_CAP_VIDEO_OUTPUT
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_xvip_dma_queue_qops,4,2        ## @xvip_dma_queue_qops
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_EOF,4,2 ## @V4L2_BUF_FLAG_TSTAMP_SRC_EOF
L_.str.3:                               ## @.str.3
	.asciz	"failed to initialize VB2 queue\n"

L_.str.4:                               ## @.str.4
	.asciz	"port%u"

L_.str.5:                               ## @.str.5
	.asciz	"no VDMA channel found\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.6:                               ## @.str.6
	.asciz	"failed to register video device\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xvip_dma_init                  ; -- Begin function xvip_dma_init
	.p2align	2
_xvip_dma_init:                         ; @xvip_dma_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	x0, [x1, #8]
	str	w3, [x1]
	add	x22, x1, #152
	mov	x0, x22
	bl	_mutex_init
	add	x0, x19, #208
	bl	_mutex_init
	add	x0, x19, #204
	bl	_INIT_LIST_HEAD
	add	x0, x19, #200
	bl	_spin_lock_init
Lloh3:
	adrp	x8, _XVIP_DMA_DEF_FORMAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XVIP_DMA_DEF_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_xvip_get_format_by_fourcc
	str	x0, [x19, #192]
	ldr	w8, [x0, #4]
	str	w8, [x19, #184]
Lloh6:
	adrp	x8, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _V4L2_FIELD_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #176]
Lloh12:
	adrp	x8, _XVIP_DMA_DEF_WIDTH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XVIP_DMA_DEF_WIDTH@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _XVIP_DMA_DEF_HEIGHT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XVIP_DMA_DEF_HEIGHT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #160]
	ldr	w10, [x0]
	mul	w8, w10, w8
	mul	w9, w8, w9
	stp	w8, w9, [x19, #168]
Lloh18:
	adrp	x26, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh19:
	ldr	x26, [x26, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh20:
	adrp	x9, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh22:
	adrp	x10, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh23:
	ldr	x10, [x10, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
	cmp	w8, w21
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	mov	x23, x19
	str	w8, [x23, #156]!
	sub	x0, x23, #76
	mov	w1, #1
	mov	x2, x23
	bl	_media_entity_pads_init
	tbnz	w0, #31, LBB0_5
; %bb.1:
	sub	x23, x23, #140
Lloh24:
	adrp	x8, _xvip_dma_fops@GOTPAGE
Lloh25:
	ldr	x8, [x8, _xvip_dma_fops@GOTPAGEOFF]
	str	x8, [x19, #72]
	ldr	x8, [x24], #8
	add	x25, x19, #96
	stp	x25, x24, [x19, #56]
	ldrsw	x0, [x19, #52]
	ldr	w3, [x8]
	ldr	w8, [x26]
Lloh26:
	adrp	x9, l_.str.2@PAGE
Lloh27:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh28:
	adrp	x10, l_.str.1@PAGE
Lloh29:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w21
	csel	x8, x10, x9, eq
Lloh30:
	adrp	x2, l_.str@PAGE
Lloh31:
	add	x2, x2, l_.str@PAGEOFF
	stp	x8, x20, [sp]
	mov	w27, #4
	mov	w1, #4
	bl	_snprintf
Lloh32:
	adrp	x24, _VFL_TYPE_GRABBER@GOTPAGE
Lloh33:
	ldr	x24, [x24, _VFL_TYPE_GRABBER@GOTPAGEOFF]
	ldr	w8, [x24]
	str	w8, [x19, #48]
Lloh34:
	adrp	x8, _VFL_DIR_RX@GOTPAGE
Lloh35:
	ldr	x8, [x8, _VFL_DIR_RX@GOTPAGEOFF]
Lloh36:
	adrp	x9, _VFL_DIR_TX@GOTPAGE
Lloh37:
	ldr	x9, [x9, _VFL_DIR_TX@GOTPAGEOFF]
	ldr	w10, [x26]
	cmp	w10, w21
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _video_device_release_empty@GOTPAGE
Lloh39:
	ldr	x9, [x9, _video_device_release_empty@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
Lloh41:
	adrp	x8, _xvip_dma_ioctl_ops@GOTPAGE
Lloh42:
	ldr	x8, [x8, _xvip_dma_ioctl_ops@GOTPAGEOFF]
	stp	x22, x8, [x19, #24]
Lloh43:
	adrp	x8, _V4L2_CAP_STREAMING@GOTPAGE
Lloh44:
	ldr	x8, [x8, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGE
Lloh47:
	ldr	x9, [x9, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh48:
	adrp	x10, _V4L2_CAP_VIDEO_OUTPUT@GOTPAGE
Lloh49:
	ldr	x10, [x10, _V4L2_CAP_VIDEO_OUTPUT@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x23
	mov	x1, x19
	bl	_video_set_drvdata
Lloh50:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _VB2_USERPTR@GOTPAGE
Lloh54:
	ldr	x9, [x9, _VB2_USERPTR@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh56:
	adrp	x9, _VB2_DMABUF@GOTPAGE
Lloh57:
	ldr	x9, [x9, _VB2_DMABUF@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	orr	w8, w8, w9
	stp	w21, w8, [x19, #96]
	stp	x19, x22, [x19, #136]
Lloh59:
	adrp	x8, _xvip_dma_queue_qops@GOTPAGE
Lloh60:
	ldr	x8, [x8, _xvip_dma_queue_qops@GOTPAGEOFF]
Lloh61:
	adrp	x9, _vb2_dma_contig_memops@GOTPAGE
Lloh62:
	ldr	x9, [x9, _vb2_dma_contig_memops@GOTPAGEOFF]
	stp	x9, x8, [x19, #120]
Lloh63:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh64:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _V4L2_BUF_FLAG_TSTAMP_SRC_EOF@GOTPAGE
Lloh67:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TSTAMP_SRC_EOF@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w27, w8, [x19, #104]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	str	x8, [x19, #112]
	mov	x0, x25
	bl	_vb2_queue_init
	tbnz	w0, #31, LBB0_6
; %bb.2:
Lloh69:
	adrp	x2, l_.str.4@PAGE
Lloh70:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #24
	mov	w1, #16
	mov	x3, x20
	bl	_snprintf
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	add	x1, sp, #24
	bl	_dma_request_slave_channel
	str	x0, [x19, #88]
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x0]
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	str	w8, [x19, #4]
	ldr	w1, [x24]
	mov	x0, x23
	mov	w2, #-1
	bl	_video_register_device
	tbnz	w0, #31, LBB0_8
; %bb.4:
	mov	w25, #0
	b	LBB0_11
LBB0_5:
	mov	x25, x0
	b	LBB0_10
LBB0_6:
	mov	x25, x0
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh71:
	adrp	x1, l_.str.3@PAGE
Lloh72:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh73:
	adrp	x1, l_.str.5@PAGE
Lloh74:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
Lloh75:
	adrp	x8, _ENODEV@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_10
LBB0_8:
	mov	x25, x0
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh78:
	adrp	x1, l_.str.6@PAGE
Lloh79:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_9:
	bl	_dev_err
LBB0_10:
	mov	x0, x19
	bl	_xvip_dma_cleanup
LBB0_11:
	ldr	x8, [sp, #40]
Lloh80:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh81:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh82:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x25
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_XVIP_DMA_DEF_FORMAT,4,2        ; @XVIP_DMA_DEF_FORMAT
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_XVIP_DMA_DEF_WIDTH,4,2         ; @XVIP_DMA_DEF_WIDTH
	.comm	_XVIP_DMA_DEF_HEIGHT,4,2        ; @XVIP_DMA_DEF_HEIGHT
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_xvip_dma_fops,4,2              ; @xvip_dma_fops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pOFn %s %u"

l_.str.1:                               ; @.str.1
	.asciz	"output"

l_.str.2:                               ; @.str.2
	.asciz	"input"

	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.comm	_VFL_DIR_RX,4,2                 ; @VFL_DIR_RX
	.comm	_VFL_DIR_TX,4,2                 ; @VFL_DIR_TX
	.comm	_video_device_release_empty,4,2 ; @video_device_release_empty
	.comm	_xvip_dma_ioctl_ops,4,2         ; @xvip_dma_ioctl_ops
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ; @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_VIDEO_OUTPUT,4,2      ; @V4L2_CAP_VIDEO_OUTPUT
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_xvip_dma_queue_qops,4,2        ; @xvip_dma_queue_qops
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_V4L2_BUF_FLAG_TSTAMP_SRC_EOF,4,2 ; @V4L2_BUF_FLAG_TSTAMP_SRC_EOF
l_.str.3:                               ; @.str.3
	.asciz	"failed to initialize VB2 queue\n"

l_.str.4:                               ; @.str.4
	.asciz	"port%u"

l_.str.5:                               ; @.str.5
	.asciz	"no VDMA channel found\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.6:                               ; @.str.6
	.asciz	"failed to register video device\n"

.subsections_via_symbols
