	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movl	12(%rbx), %edi
	cmpq	$0, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_strcpy
	movl	16(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	12(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_sprintf
	movq	_RADIO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_CAP_TUNER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEA5759"

L_.str.1:                               ## @.str.1
	.asciz	"TEA5757"

L_.str.2:                               ## @.str.2
	.asciz	"tea575x-tuner"

L_.str.3:                               ## @.str.3
	.asciz	"Maestro Radio"

L_.str.4:                               ## @.str.4
	.asciz	"PCI"

	.comm	_RADIO_VERSION,4,2              ## @RADIO_VERSION
	.comm	_V4L2_CAP_TUNER,4,2             ## @V4L2_CAP_TUNER
	.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	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
	ldr	w8, [x19, #12]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, l_.str@PAGE
Lloh1:
	add	x10, x10, l_.str@PAGEOFF
Lloh2:
	adrp	x11, l_.str.1@PAGE
Lloh3:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x9, #0
	csel	x1, x11, x10, eq
	mov	x0, x8
	bl	_strcpy
	ldr	w0, [x19, #16]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #12]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sprintf
Lloh10:
	adrp	x8, _RADIO_VERSION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RADIO_VERSION@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _V4L2_CAP_TUNER@GOTPAGE
Lloh14:
	ldr	x9, [x9, _V4L2_CAP_TUNER@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEA5759"

l_.str.1:                               ; @.str.1
	.asciz	"TEA5757"

l_.str.2:                               ; @.str.2
	.asciz	"tea575x-tuner"

l_.str.3:                               ; @.str.3
	.asciz	"Maestro Radio"

l_.str.4:                               ; @.str.4
	.asciz	"PCI"

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