	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solo_enc_enum_fmt_cap
_solo_enc_enum_fmt_cap:                 ## @solo_enc_enum_fmt_cap
	.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	(%rbx), %ecx
	cmpl	$1, %ecx
	je	LBB0_7
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.2:
	movq	(%rax), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	je	LBB0_6
## %bb.3:
	cmpl	$129, %ecx
	jne	LBB0_9
## %bb.4:
	movq	_V4L2_PIX_FMT_MPEG4@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_7:
	movq	_V4L2_PIX_FMT_MJPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_6:
	movq	_V4L2_PIX_FMT_H264@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_MPEG4,4,2         ## @V4L2_PIX_FMT_MPEG4
	.comm	_V4L2_PIX_FMT_H264,4,2          ## @V4L2_PIX_FMT_H264
	.comm	_V4L2_PIX_FMT_MJPEG,4,2         ## @V4L2_PIX_FMT_MJPEG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_solo_enc_enum_fmt_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solo_enc_enum_fmt_cap
_solo_enc_enum_fmt_cap:                 ; @solo_enc_enum_fmt_cap
	.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]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.1:
	cbnz	w8, LBB0_6
; %bb.2:
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.4:
	mov	w0, #0
Lloh0:
	adrp	x8, _V4L2_PIX_FMT_MPEG4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_PIX_FMT_MPEG4@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
Lloh2:
	adrp	x8, _V4L2_PIX_FMT_MJPEG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_PIX_FMT_MJPEG@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	mov	w0, #0
Lloh7:
	adrp	x8, _V4L2_PIX_FMT_H264@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_PIX_FMT_H264@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_MPEG4,4,2         ; @V4L2_PIX_FMT_MPEG4
	.comm	_V4L2_PIX_FMT_H264,4,2          ; @V4L2_PIX_FMT_H264
	.comm	_V4L2_PIX_FMT_MJPEG,4,2         ; @V4L2_PIX_FMT_MJPEG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_solo_enc_enum_fmt_cap
.subsections_via_symbols
