	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_preview
_verify_preview:                        ## @verify_preview
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.3:
	movl	4(%rsi), %eax
	cmpl	$48, %eax
	jl	LBB0_1
## %bb.4:
	movl	8(%rsi), %ecx
	cmpl	$31, %ecx
	jg	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movl	(%rsi), %edx
	movl	(%rdi), %r8d
	movl	4(%rdi), %r9d
	movq	_V4L2_FIELD_ANY@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %edx
	jne	LBB0_8
## %bb.6:
	movl	%r9d, %edi
	shrl	$31, %edi
	addl	%r9d, %edi
	sarl	%edi
	movl	$128, %edx
	cmpl	%edi, %ecx
	jle	LBB0_11
## %bb.7:
	movl	$129, %edx
	jmp	LBB0_12
LBB0_8:
	cmpl	$130, %edx
	je	LBB0_11
## %bb.9:
	cmpl	$129, %edx
	je	LBB0_12
## %bb.10:
	cmpl	$128, %edx
	jne	LBB0_1
LBB0_11:
	movl	%r9d, %edi
	shrl	$31, %edi
	addl	%r9d, %edi
	sarl	%edi
	movl	%edi, %r9d
LBB0_12:
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	LBB0_14
## %bb.13:
	movl	%r8d, 4(%rsi)
LBB0_14:
	xorl	%eax, %eax
	cmpl	%r9d, %ecx
	jle	LBB0_16
## %bb.15:
	movl	%r9d, 8(%rsi)
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_FIELD_ANY,4,2             ## @V4L2_FIELD_ANY
	.no_dead_strip	_verify_preview
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_preview
_verify_preview:                        ; @verify_preview
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w9, [x1, #4]
	cmp	w9, #48
	b.lt	LBB0_4
; %bb.3:
	ldr	w8, [x1, #8]
	cmp	w8, #31
	b.gt	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	ldr	w12, [x1]
	ldp	w11, w10, [x0]
Lloh3:
	adrp	x13, _V4L2_FIELD_ANY@GOTPAGE
Lloh4:
	ldr	x13, [x13, _V4L2_FIELD_ANY@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x13]
	cmp	w12, w13
	b.ne	LBB0_8
; %bb.6:
	cmp	w10, #0
	cinc	w12, w10, lt
	cmp	w8, w12, asr #1
	b.le	LBB0_11
; %bb.7:
	mov	w12, #129
	b	LBB0_13
LBB0_8:
	cmp	w12, #130
	b.eq	LBB0_12
; %bb.9:
	cmp	w12, #129
	b.eq	LBB0_13
; %bb.10:
	cmp	w12, #128
	b.ne	LBB0_4
	b	LBB0_12
LBB0_11:
	mov	w12, #128
LBB0_12:
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
LBB0_13:
	str	w12, [x1]
	cmp	w9, w11
	b.le	LBB0_15
; %bb.14:
	str	w11, [x1, #4]
LBB0_15:
	cmp	w8, w10
	b.le	LBB0_17
; %bb.16:
	mov	w0, #0
	str	w10, [x1, #8]
	ret
LBB0_17:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_FIELD_ANY,4,2             ; @V4L2_FIELD_ANY
	.no_dead_strip	_verify_preview
.subsections_via_symbols
