	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpia2_enum_fmt_vid_cap
_cpia2_enum_fmt_vid_cap:                ## @cpia2_enum_fmt_vid_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_V4L2_PIX_FMT_JPEG@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_V4L2_PIX_FMT_MJPEG@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 4(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_PIX_FMT_MJPEG,4,2         ## @V4L2_PIX_FMT_MJPEG
	.comm	_V4L2_PIX_FMT_JPEG,4,2          ## @V4L2_PIX_FMT_JPEG
	.no_dead_strip	_cpia2_enum_fmt_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpia2_enum_fmt_vid_cap
_cpia2_enum_fmt_vid_cap:                ; @cpia2_enum_fmt_vid_cap
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	w0, #0
	cbz	w8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _V4L2_PIX_FMT_JPEG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_PIX_FMT_JPEG@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _V4L2_PIX_FMT_MJPEG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_PIX_FMT_MJPEG@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x2, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_PIX_FMT_MJPEG,4,2         ; @V4L2_PIX_FMT_MJPEG
	.comm	_V4L2_PIX_FMT_JPEG,4,2          ; @V4L2_PIX_FMT_JPEG
	.no_dead_strip	_cpia2_enum_fmt_vid_cap
.subsections_via_symbols
