	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_enum_framesizes
_solo_enum_framesizes:                  ## @solo_enum_framesizes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	callq	_video_drvdata
	movq	(%rax), %rbx
	movl	16(%r14), %edi
	movl	8(%rbx), %esi
	callq	_solo_valid_pixfmt
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movl	(%r14), %eax
	cmpl	$1, %eax
	je	LBB0_5
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	movl	(%rbx), %eax
	sarl	%eax
	movl	%eax, 8(%r14)
	movl	4(%rbx), %eax
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	4(%rbx), %eax
	addl	%eax, %eax
LBB0_6:
	movl	%eax, 12(%r14)
	movq	_V4L2_FRMSIZE_TYPE_DISCRETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_FRMSIZE_TYPE_DISCRETE,4,2 ## @V4L2_FRMSIZE_TYPE_DISCRETE
	.no_dead_strip	_solo_enum_framesizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solo_enum_framesizes
_solo_enum_framesizes:                  ; @solo_enum_framesizes
	.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	x20, [x0]
	ldr	w0, [x19, #16]
	ldr	w1, [x20, #8]
	bl	_solo_valid_pixfmt
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.3:
	cbnz	w8, LBB0_1
; %bb.4:
	ldp	w9, w8, [x20]
	asr	w9, w9, #1
	str	w9, [x19, #8]
	b	LBB0_6
LBB0_5:
	ldp	w8, w9, [x20]
	str	w8, [x19, #8]
	lsl	w8, w9, #1
LBB0_6:
	mov	w0, #0
	str	w8, [x19, #12]
Lloh3:
	adrp	x8, _V4L2_FRMSIZE_TYPE_DISCRETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_FRMSIZE_TYPE_DISCRETE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_FRMSIZE_TYPE_DISCRETE,4,2 ; @V4L2_FRMSIZE_TYPE_DISCRETE
	.no_dead_strip	_solo_enum_framesizes
.subsections_via_symbols
