	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l_querycap
_v4l_querycap:                          ## @v4l_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_video_devdata
	movq	%rax, %r14
	movq	_LINUX_VERSION_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	_V4L2_CAP_DEVICE_CAPS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	*(%r13)
	movl	%eax, %r15d
	movl	(%rbx), %eax
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setne	%dil
	callq	_WARN_ON
	movl	4(%rbx), %eax
	movq	_V4L2_CAP_DEVICE_CAPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r14), %ecx
	notl	%eax
	xorl	%edi, %edi
	testl	%eax, %ecx
	setne	%dil
	callq	_WARN_ON
	movq	_V4L2_CAP_EXT_PIX_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	orl	%eax, (%rbx)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINUX_VERSION_CODE,4,2         ## @LINUX_VERSION_CODE
	.comm	_V4L2_CAP_DEVICE_CAPS,4,2       ## @V4L2_CAP_DEVICE_CAPS
	.comm	_V4L2_CAP_EXT_PIX_FORMAT,4,2    ## @V4L2_CAP_EXT_PIX_FORMAT
	.no_dead_strip	_v4l_querycap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l_querycap
_v4l_querycap:                          ; @v4l_querycap
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_video_devdata
	mov	x23, x0
Lloh0:
	adrp	x8, _LINUX_VERSION_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINUX_VERSION_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh3:
	adrp	x24, _V4L2_CAP_DEVICE_CAPS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _V4L2_CAP_DEVICE_CAPS@GOTPAGEOFF]
	str	w9, [x19]
	ldr	w10, [x24]
	orr	w9, w10, w9
	stp	w9, w8, [x19, #4]
	ldr	x8, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x20, x0
	ldr	w8, [x19]
	ldr	w9, [x23]
	cmp	w8, w9
	cset	w0, ne
	bl	_WARN_ON
	ldr	w8, [x19, #4]
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	cset	w0, ne
	bl	_WARN_ON
Lloh5:
	adrp	x8, _V4L2_CAP_EXT_PIX_FORMAT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CAP_EXT_PIX_FORMAT@GOTPAGEOFF]
	ldr	d0, [x19]
	ld1r.2s	{ v1 }, [x8]
	orr.8b	v0, v0, v1
	str	d0, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LINUX_VERSION_CODE,4,2         ; @LINUX_VERSION_CODE
	.comm	_V4L2_CAP_DEVICE_CAPS,4,2       ; @V4L2_CAP_DEVICE_CAPS
	.comm	_V4L2_CAP_EXT_PIX_FORMAT,4,2    ; @V4L2_CAP_EXT_PIX_FORMAT
	.no_dead_strip	_v4l_querycap
.subsections_via_symbols
