	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_sequence_header
_parse_sequence_header:                 ## @parse_sequence_header
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_AV1_OBU_SEQUENCE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_get_obu_bit_length
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_init_get_bits
	testl	%eax, %eax
	js	LBB0_17
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_get_bits
	movq	%rax, 8(%r14)
	movq	%rbx, %rdi
	callq	_skip_bits1
	movq	%rbx, %rdi
	callq	_get_bits1
	movl	%eax, %ebx
	testl	%eax, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	-44(%rbp), %rdi
	je	LBB0_18
## %bb.3:
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, (%r14)
	movl	$0, 4(%r14)
LBB0_4:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movq	%rax, %r12
	incl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_skip_bits
	incl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skip_bits
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_14
## %bb.5:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	-44(%rbp), %rdi
	movl	$7, %esi
	callq	_skip_bits
LBB0_7:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	callq	_get_bits1
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	-44(%rbp), %rdi
	movl	$2, %esi
	callq	_skip_bits
LBB0_9:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_13
LBB0_11:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	leaq	-44(%rbp), %rdi
	callq	_skip_bits1
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_15
LBB0_14:
	leaq	-44(%rbp), %rdi
	movl	$3, %esi
	callq	_skip_bits
LBB0_15:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_parse_color_config
	movq	%rbx, %rdi
	callq	_skip_bits1
	movq	%rbx, %rdi
	callq	_get_bits_left
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	_get_bits1
	movb	$1, %r15b
	testl	%eax, %eax
	je	LBB0_24
## %bb.19:
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_skip_bits_long
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_skip_bits_long
	movq	%r12, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	leaq	-44(%rbp), %rdi
	callq	_uvlc
LBB0_21:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_24
## %bb.22:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_skip_bits_long
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_skip_bits
	incl	%r12d
	xorl	%r15d, %r15d
	jmp	LBB0_25
LBB0_24:
                                        ## implicit-def: $r12d
LBB0_25:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_get_bits1
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, %rbx
	testl	%ebx, %ebx
	js	LBB0_4
## %bb.26:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_skip_bits
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_get_bits
	movq	%rax, %r14
	xorl	%eax, %eax
	cmpl	$8, %r14d
	jl	LBB0_28
## %bb.27:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
LBB0_28:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testb	%r15b, %r15b
	jne	LBB0_31
## %bb.29:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_31
## %bb.30:
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	callq	_skip_bits_long
	leaq	-44(%rbp), %rdi
	movl	%r12d, %esi
	callq	_skip_bits_long
	leaq	-44(%rbp), %rdi
	callq	_skip_bits1
LBB0_31:
	testl	%r13d, %r13d
	je	LBB0_34
## %bb.32:
	leaq	-44(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_34
## %bb.33:
	leaq	-44(%rbp), %rdi
	movl	$4, %esi
	callq	_skip_bits
LBB0_34:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.35:
	leaq	-44(%rbp), %r14
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_37 Depth=1
	decl	%ebx
	je	LBB0_4
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_skip_bits
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_get_bits
	cmpl	$8, %eax
	jl	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%r14, %rdi
	callq	_get_bits1
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=1
	testb	%r15b, %r15b
	jne	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skip_bits_long
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_skip_bits_long
	movq	%r14, %rdi
	callq	_skip_bits1
LBB0_42:                                ##   in Loop: Header=BB0_37 Depth=1
	testl	%r13d, %r13d
	je	LBB0_36
## %bb.43:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_36
## %bb.44:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skip_bits
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_AV1_OBU_SEQUENCE_HEADER,4,2    ## @AV1_OBU_SEQUENCE_HEADER
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_sequence_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_sequence_header
_parse_sequence_header:                 ; @parse_sequence_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x8, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _AV1_OBU_SEQUENCE_HEADER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV1_OBU_SEQUENCE_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	x0, x1
	mov	x1, x8
	bl	_get_obu_bit_length
	mov	x2, x0
	tbnz	w0, #31, LBB0_17
; %bb.1:
	add	x0, sp, #12
	mov	x1, x20
	bl	_init_get_bits
	tbnz	w0, #31, LBB0_16
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, sp, #12
	mov	w1, #3
	bl	_get_bits
	str	x0, [x19, #8]
	add	x0, sp, #12
	bl	_skip_bits1
	add	x0, sp, #12
	bl	_get_bits1
	mov	x20, x0
	cbz	w0, LBB0_18
; %bb.3:
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	stp	w0, wzr, [x19]
LBB0_4:
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	mov	x21, x0
	add	x0, sp, #12
	mov	w1, #4
	bl	_get_bits
	mov	x22, x0
	add	w1, w21, #1
	add	x0, sp, #12
	bl	_skip_bits
	add	w1, w22, #1
	add	x0, sp, #12
	bl	_skip_bits
	cbnz	w20, LBB0_14
; %bb.5:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_7
; %bb.6:
	add	x0, sp, #12
	mov	w1, #7
	bl	_skip_bits
LBB0_7:
	add	x0, sp, #12
	mov	w1, #3
	bl	_skip_bits
	add	x0, sp, #12
	mov	w1, #4
	bl	_skip_bits
	add	x0, sp, #12
	bl	_get_bits1
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.8:
	add	x0, sp, #12
	mov	w1, #2
	bl	_skip_bits
LBB0_9:
	add	x0, sp, #12
	bl	_get_bits1
	cbnz	w0, LBB0_11
; %bb.10:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_13
LBB0_11:
	add	x0, sp, #12
	bl	_get_bits1
	cbnz	w0, LBB0_13
; %bb.12:
	add	x0, sp, #12
	bl	_skip_bits1
LBB0_13:
	cbz	w20, LBB0_15
LBB0_14:
	add	x0, sp, #12
	mov	w1, #3
	bl	_skip_bits
LBB0_15:
	add	x0, sp, #12
	mov	w1, #3
	bl	_skip_bits
	add	x1, sp, #12
	mov	x0, x19
	bl	_parse_color_config
	add	x0, sp, #12
	bl	_skip_bits1
	add	x0, sp, #12
	bl	_get_bits_left
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w2, wzr, w8, eq
	b	LBB0_17
LBB0_16:
	mov	x2, x0
LBB0_17:
	mov	x0, x2
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_23
; %bb.19:
	add	x0, sp, #12
	mov	w1, #32
	bl	_skip_bits_long
	add	x0, sp, #12
	mov	w1, #32
	bl	_skip_bits_long
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_21
; %bb.20:
	add	x0, sp, #12
	bl	_uvlc
LBB0_21:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_23
; %bb.22:
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	mov	x21, x0
	add	x0, sp, #12
	mov	w1, #32
	bl	_skip_bits_long
	add	x0, sp, #12
	mov	w1, #10
	bl	_skip_bits
	mov	w26, #0
	add	w21, w21, #1
	b	LBB0_24
LBB0_23:
	mov	w26, #1
                                        ; implicit-def: $w21
LBB0_24:
	add	x0, sp, #12
	bl	_get_bits1
	mov	x22, x0
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	mov	x23, x0
	tbnz	w23, #31, LBB0_4
; %bb.25:
	add	x0, sp, #12
	mov	w1, #12
	bl	_skip_bits
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	mov	x24, x0
	cmp	w24, #8
	b.lt	LBB0_27
; %bb.26:
	add	x0, sp, #12
	bl	_get_bits1
	mov	x25, x0
	tbz	w26, #0, LBB0_28
	b	LBB0_30
LBB0_27:
	mov	w25, #0
	tbnz	w26, #0, LBB0_30
LBB0_28:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_30
; %bb.29:
	add	x0, sp, #12
	mov	x1, x21
	bl	_skip_bits_long
	add	x0, sp, #12
	mov	x1, x21
	bl	_skip_bits_long
	add	x0, sp, #12
	bl	_skip_bits1
LBB0_30:
	cbz	w22, LBB0_33
; %bb.31:
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_33
; %bb.32:
	add	x0, sp, #12
	mov	w1, #4
	bl	_skip_bits
LBB0_33:
	stp	w24, w25, [x19]
	cbnz	w23, LBB0_35
	b	LBB0_4
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	subs	w23, w23, #1
	b.eq	LBB0_4
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #12
	bl	_skip_bits
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	cmp	w0, #8
	b.lt	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x0, sp, #12
	bl	_get_bits1
LBB0_37:                                ;   in Loop: Header=BB0_35 Depth=1
	tbnz	w26, #0, LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x0, sp, #12
	mov	x1, x21
	bl	_skip_bits_long
	add	x0, sp, #12
	mov	x1, x21
	bl	_skip_bits_long
	add	x0, sp, #12
	bl	_skip_bits1
LBB0_40:                                ;   in Loop: Header=BB0_35 Depth=1
	cbz	w22, LBB0_34
; %bb.41:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x0, sp, #12
	bl	_get_bits1
	cbz	w0, LBB0_34
; %bb.42:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x0, sp, #12
	mov	w1, #4
	bl	_skip_bits
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV1_OBU_SEQUENCE_HEADER,4,2    ; @AV1_OBU_SEQUENCE_HEADER
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_sequence_header
.subsections_via_symbols
