	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si470x_vidioc_querycap         ## -- Begin function si470x_vidioc_querycap
	.p2align	4, 0x90
_si470x_vidioc_querycap:                ## @si470x_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
	movl	12(%rdx), %edi
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%rbx), %edi
	movq	_DRIVER_CARD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_DRIVER_KERNEL_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_CAP_HW_FREQ_SEEK@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_TUNER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_CAP_RADIO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_DRIVER_CARD,4,2                ## @DRIVER_CARD
	.comm	_DRIVER_KERNEL_VERSION,4,2      ## @DRIVER_KERNEL_VERSION
	.comm	_V4L2_CAP_HW_FREQ_SEEK,4,2      ## @V4L2_CAP_HW_FREQ_SEEK
	.comm	_V4L2_CAP_TUNER,4,2             ## @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ## @V4L2_CAP_RADIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si470x_vidioc_querycap         ; -- Begin function si470x_vidioc_querycap
	.p2align	2
_si470x_vidioc_querycap:                ; @si470x_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
	ldr	w0, [x2, #12]
Lloh0:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _DRIVER_CARD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRIVER_CARD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
Lloh6:
	adrp	x8, _DRIVER_KERNEL_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRIVER_KERNEL_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _V4L2_CAP_HW_FREQ_SEEK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_CAP_HW_FREQ_SEEK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _V4L2_CAP_TUNER@GOTPAGE
Lloh13:
	ldr	x10, [x10, _V4L2_CAP_TUNER@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _V4L2_CAP_RADIO@GOTPAGE
Lloh16:
	ldr	x11, [x11, _V4L2_CAP_RADIO@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh17:
	ldr	w10, [x11]
	orr	w9, w9, w10
	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	Lloh15, Lloh16, Lloh17
	.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_NAME,4,2                ; @DRIVER_NAME
	.comm	_DRIVER_CARD,4,2                ; @DRIVER_CARD
	.comm	_DRIVER_KERNEL_VERSION,4,2      ; @DRIVER_KERNEL_VERSION
	.comm	_V4L2_CAP_HW_FREQ_SEEK,4,2      ; @V4L2_CAP_HW_FREQ_SEEK
	.comm	_V4L2_CAP_TUNER,4,2             ; @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ; @V4L2_CAP_RADIO
.subsections_via_symbols
