	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpfe_querycap
_vpfe_querycap:                         ## @vpfe_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, %rbx
	callq	_video_drvdata
	movq	%rax, %r14
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%r14), %rdx
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	callq	_v4l2_dbg
	movq	_VPFE_CAPTURE_VERSION_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_V4L2_CAP_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	12(%rbx), %edi
	movq	_CAPTURE_DRV_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	4(%rbx), %edi
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movl	$4, %edx
	callq	_strlcpy
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vpfe_querycap\n"

	.comm	_VPFE_CAPTURE_VERSION_CODE,4,2  ## @VPFE_CAPTURE_VERSION_CODE
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ## @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_CAPTURE_DRV_NAME,8,3           ## @CAPTURE_DRV_NAME
L_.str.1:                               ## @.str.1
	.asciz	"VPFE"

	.no_dead_strip	_vpfe_querycap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpfe_querycap
_vpfe_querycap:                         ; @vpfe_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
	bl	_video_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, x0, #8
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	bl	_v4l2_dbg
Lloh5:
	adrp	x8, _VPFE_CAPTURE_VERSION_CODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VPFE_CAPTURE_VERSION_CODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh8:
	adrp	x8, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _V4L2_CAP_STREAMING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w0, [x19, #12]
Lloh14:
	adrp	x8, _CAPTURE_DRV_NAME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAPTURE_DRV_NAME@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #4]
	ldr	x8, [x20]
	ldr	x1, [x8]
	mov	w2, #4
	bl	_strlcpy
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vpfe_querycap\n"

	.comm	_VPFE_CAPTURE_VERSION_CODE,4,2  ; @VPFE_CAPTURE_VERSION_CODE
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ; @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_CAPTURE_DRV_NAME,8,3           ; @CAPTURE_DRV_NAME
l_.str.1:                               ; @.str.1
	.asciz	"VPFE"

	.no_dead_strip	_vpfe_querycap
.subsections_via_symbols
