	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_querycap
_vidioc_querycap:                       ## @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, %r14
	callq	_video_drvdata
	movq	(%rax), %rbx
	movl	16(%r14), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	12(%r14), %edi
	movl	8(%rbx), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%r14), %r15d
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movl	$4, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	_RADIO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_V4L2_CAP_TUNER@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_RADIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C:%s"

	.comm	_RADIO_VERSION,4,2              ## @RADIO_VERSION
	.comm	_V4L2_CAP_TUNER,4,2             ## @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ## @V4L2_CAP_RADIO
	.no_dead_strip	_vidioc_querycap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_querycap
_vidioc_querycap:                       ; @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
	ldr	x20, [x0]
	ldr	w0, [x19, #16]
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #12]
	ldr	w1, [x20, #8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w21, [x19, #8]
	mov	x0, x20
	bl	_dev_name
	mov	x3, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #4
	bl	_snprintf
Lloh2:
	adrp	x8, _RADIO_VERSION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RADIO_VERSION@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _V4L2_CAP_TUNER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_CAP_TUNER@GOTPAGEOFF]
Lloh7:
	adrp	x10, _V4L2_CAP_RADIO@GOTPAGE
Lloh8:
	ldr	x10, [x10, _V4L2_CAP_RADIO@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	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	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C:%s"

	.comm	_RADIO_VERSION,4,2              ; @RADIO_VERSION
	.comm	_V4L2_CAP_TUNER,4,2             ; @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ; @V4L2_CAP_RADIO
	.no_dead_strip	_vidioc_querycap
.subsections_via_symbols
