	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zr364xx_vidioc_querycap
_zr364xx_vidioc_querycap:               ## @zr364xx_vidioc_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	%rax, %r14
	movl	16(%rbx), %edi
	movq	_DRIVER_DESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	12(%rbx), %edi
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%rbx), %r15d
	movq	(%r14), %rdi
	callq	_dev_name
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_ZR364XX_VERSION_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_CAP_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_READWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRIVER_DESC,4,2                ## @DRIVER_DESC
	.comm	_ZR364XX_VERSION_CODE,4,2       ## @ZR364XX_VERSION_CODE
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ## @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_READWRITE,4,2         ## @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.no_dead_strip	_zr364xx_vidioc_querycap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zr364xx_vidioc_querycap
_zr364xx_vidioc_querycap:               ; @zr364xx_vidioc_querycap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	bl	_video_drvdata
	mov	x20, x0
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _DRIVER_DESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRIVER_DESC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #12]
	ldr	x8, [x20]
	ldr	w1, [x8, #4]
	mov	w2, #4
	bl	_strlcpy
	ldr	w21, [x19, #8]
	ldr	x0, [x20]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_strlcpy
Lloh3:
	adrp	x8, _ZR364XX_VERSION_CODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZR364XX_VERSION_CODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _V4L2_CAP_READWRITE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V4L2_CAP_READWRITE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _V4L2_CAP_STREAMING@GOTPAGE
Lloh13:
	ldr	x11, [x11, _V4L2_CAP_STREAMING@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh14:
	ldr	w10, [x11]
	orr	w9, w9, w10
	stp	w9, w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_DRIVER_DESC,4,2                ; @DRIVER_DESC
	.comm	_ZR364XX_VERSION_CODE,4,2       ; @ZR364XX_VERSION_CODE
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ; @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_READWRITE,4,2         ; @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.no_dead_strip	_zr364xx_vidioc_querycap
.subsections_via_symbols
