	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xvip_dma_querycap
_xvip_dma_querycap:                     ## @xvip_dma_querycap
	.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	%rdx, %r14
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_xvip_dma
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_CAP_DEVICE_CAPS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movl	12(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movl	8(%r14), %edi
	movq	16(%rbx), %rsi
	movl	$4, %edx
	callq	_strscpy
	movl	4(%r14), %edi
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_DEVICE_CAPS,4,2       ## @V4L2_CAP_DEVICE_CAPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xilinx-vipp"

L_.str.1:                               ## @.str.1
	.asciz	"platform:%pOFn:%u"

	.no_dead_strip	_xvip_dma_querycap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xvip_dma_querycap
_xvip_dma_querycap:                     ; @xvip_dma_querycap
	.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, x2
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_to_xvip_dma
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _V4L2_CAP_STREAMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _V4L2_CAP_DEVICE_CAPS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CAP_DEVICE_CAPS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strscpy
	ldr	w0, [x19, #8]
	ldr	x1, [x20, #16]
	mov	w2, #4
	bl	_strscpy
	ldr	w0, [x19, #4]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w3, [x8]
	ldr	w4, [x20]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_DEVICE_CAPS,4,2       ; @V4L2_CAP_DEVICE_CAPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xilinx-vipp"

l_.str.1:                               ; @.str.1
	.asciz	"platform:%pOFn:%u"

	.no_dead_strip	_xvip_dma_querycap
.subsections_via_symbols
