	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_video_drvdata
	movq	%rax, %rbx
	movq	16(%r14), %rdi
	movq	8(%rax), %rax
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_strscpy
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	movq	8(%r14), %r15
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_strscpy
	jmp	LBB0_3
LBB0_2:
	movl	4(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	$8, %esi
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_snprintf
LBB0_3:
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	movl	$8, %edx
	callq	_usb_make_path
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"USB Camera (%04x:%04x)"

	.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
	mov	x20, x0
	ldr	x0, [x19, #16]
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_strscpy
	ldr	x8, [x20]
	ldr	x1, [x8, #8]
	ldr	x21, [x19, #8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w2, #8
	bl	_strscpy
	b	LBB0_3
LBB0_2:
	ldr	w0, [x8, #4]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #8
	mov	x3, x22
	bl	_snprintf
LBB0_3:
	ldr	x0, [x20]
	ldr	x1, [x19]
	mov	w2, #8
	bl	_usb_make_path
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"USB Camera (%04x:%04x)"

	.no_dead_strip	_vidioc_querycap
.subsections_via_symbols
