	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_yuv4mpeg2_option
_read_yuv4mpeg2_option:                 ## @read_yuv4mpeg2_option
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r13
	xorl	%r12d, %r12d
	cmpl	$0, (%rsi)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_PEEK_U8
	movl	(%r15), %ecx
	cmpl	$32, %eax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%ecx
	movl	%ecx, (%r15)
	movq	%r14, %rdi
	callq	__SKIP_U8
	cmpl	$0, (%r15)
	jne	LBB0_1
	jmp	LBB0_4
LBB0_2:
	movl	%ecx, %r12d
LBB0_4:
	movq	(%r13), %rbx
	movl	$8, %edi
	movl	%r12d, %esi
	callq	_MIN
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_PEEK_BYTES
	movq	_VC_CONTAINER_ERROR_NOT_FOUND@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_19
## %bb.5:
	movl	%eax, %r12d
	movq	(%r13), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax,%rbx), %ecx
	cmpb	$32, %cl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$10, %cl
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_6
## %bb.10:
	movl	%r12d, %ebx
	testl	%ebx, %ebx
	jne	LBB0_12
	jmp	LBB0_19
LBB0_8:
	movb	$0, (%rax,%rbx)
	testl	%ebx, %ebx
	je	LBB0_19
LBB0_12:
	movq	%rdx, %r13
	subl	%ebx, (%r15)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_SKIP_BYTES
	cmpl	%r12d, %ebx
	jne	LBB0_13
	.p2align	4, 0x90
## %bb.14:
	cmpl	$0, (%r15)
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_PEEK_U8
	cmpl	$32, %eax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	callq	_PEEK_U8
	cmpl	$10, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	decl	(%r15)
	movq	%r14, %rdi
	callq	__SKIP_U8
	cmpl	$0, (%r15)
	jne	LBB0_15
LBB0_18:
	movq	%r13, %rdx
	jmp	LBB0_19
LBB0_13:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rdx
LBB0_19:
	movl	(%rdx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_NOT_FOUND,4,2 ## @VC_CONTAINER_ERROR_NOT_FOUND
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_read_yuv4mpeg2_option
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_yuv4mpeg2_option
_read_yuv4mpeg2_option:                 ; @read_yuv4mpeg2_option
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	w8, [x1]
	cbz	w8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_PEEK_U8
	ldr	w1, [x19]
	cmp	w0, #32
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w1, #1
	str	w8, [x19]
	mov	x0, x20
	bl	__SKIP_U8
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
LBB0_3:
	mov	w1, #0
LBB0_4:
	ldr	x21, [x22]
	mov	w0, #8
	bl	_MIN
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_PEEK_BYTES
	cbz	w0, LBB0_16
; %bb.5:
	mov	x21, #0
	mov	w23, w0
	ldr	x8, [x22]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, x21]
	cmp	w9, #32
	ccmp	w9, #10, #4, ne
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cmp	x23, x21
	b.ne	LBB0_6
; %bb.8:
	mov	x21, x23
	cbnz	w21, LBB0_10
	b	LBB0_16
LBB0_9:
	strb	wzr, [x8, x21]
	cbz	w21, LBB0_16
LBB0_10:
	ldr	w8, [x19]
	sub	w8, w8, w21
	str	w8, [x19]
	mov	x0, x20
	mov	x1, x21
	bl	_SKIP_BYTES
	cmp	w21, w23
	b.ne	LBB0_17
; %bb.11:
	ldr	w8, [x19]
	cbz	w8, LBB0_16
; %bb.12:
Lloh0:
	adrp	x21, _VC_CONTAINER_ERROR_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VC_CONTAINER_ERROR_NOT_FOUND@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_PEEK_U8
	cmp	w0, #32
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_PEEK_U8
	cmp	w0, #10
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	mov	x0, x20
	bl	__SKIP_U8
	ldr	w8, [x19]
	cbnz	w8, LBB0_13
	b	LBB0_18
LBB0_16:
Lloh2:
	adrp	x21, _VC_CONTAINER_ERROR_NOT_FOUND@GOTPAGE
Lloh3:
	ldr	x21, [x21, _VC_CONTAINER_ERROR_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh4:
	adrp	x21, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_NOT_FOUND,4,2 ; @VC_CONTAINER_ERROR_NOT_FOUND
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_read_yuv4mpeg2_option
.subsections_via_symbols
