	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h264_get_chroma_format
_h264_get_chroma_format:                ## @h264_get_chroma_format
	.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, %r14
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdx
	callq	_BITS_READ_U32_EXP
	movl	%eax, %ecx
	cmpl	$3, %eax
	jne	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_BITS_READ_U32
	movl	$3, %ecx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_CHROMA_FORMAT_YUV_444_PLANAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_BITS_SKIP_EXP
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_BITS_SKIP_EXP
	leaq	L_.str.4(%rip), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_BITS_SKIP
	leaq	L_.str.5(%rip), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_BITS_READ_U32
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	xorl	%eax, %eax
	cmpl	$3, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	leal	8(,%rax,4), %ebx
	xorl	%r15d, %r15d
	leaq	L_.str.6(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r15d
	cmpl	%r15d, %ebx
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_BITS_READ_U32
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$6, %r15d
	movl	$64, %edx
	movl	$16, %eax
	cmovbl	%eax, %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_h264_skip_scaling_list
	jmp	LBB0_7
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chroma_format_idc"

L_.str.1:                               ## @.str.1
	.asciz	"separate_colour_plane_flag"

	.comm	_CHROMA_FORMAT_YUV_444_PLANAR,4,2 ## @CHROMA_FORMAT_YUV_444_PLANAR
L_.str.2:                               ## @.str.2
	.asciz	"bit_depth_luma_minus8"

L_.str.3:                               ## @.str.3
	.asciz	"bit_depth_chroma_minus8"

L_.str.4:                               ## @.str.4
	.asciz	"qpprime_y_zero_transform_bypass_flag"

L_.str.5:                               ## @.str.5
	.asciz	"seq_scaling_matrix_present_flag"

L_.str.6:                               ## @.str.6
	.asciz	"seq_scaling_list_present_flag"

	.no_dead_strip	_h264_get_chroma_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h264_get_chroma_format
_h264_get_chroma_format:                ; @h264_get_chroma_format
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_BITS_READ_U32_EXP
	mov	x21, x0
	cmp	w0, #3
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_BITS_READ_U32
Lloh4:
	adrp	x8, _CHROMA_FORMAT_YUV_444_PLANAR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CHROMA_FORMAT_YUV_444_PLANAR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	x0, #0
	mov	w9, #3
	csel	w21, w9, w8, eq
LBB0_2:
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_BITS_SKIP_EXP
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_BITS_SKIP_EXP
Lloh11:
	adrp	x3, l_.str.4@PAGE
Lloh12:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_BITS_SKIP
Lloh13:
	adrp	x3, l_.str.5@PAGE
Lloh14:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_BITS_READ_U32
	cbz	x0, LBB0_7
; %bb.3:
	mov	w23, #0
	mov	w8, #8
	mov	w9, #12
	cmp	w21, #3
	csel	w24, w9, w8, eq
	mov	w25, #64
	mov	w26, #16
Lloh15:
	adrp	x22, l_.str.6@PAGE
Lloh16:
	add	x22, x22, l_.str.6@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	cmp	w24, w23
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	x3, x22
	bl	_BITS_READ_U32
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #6
	csel	w2, w26, w25, lo
	mov	x0, x20
	mov	x1, x19
	bl	_h264_skip_scaling_list
	b	LBB0_4
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chroma_format_idc"

l_.str.1:                               ; @.str.1
	.asciz	"separate_colour_plane_flag"

	.comm	_CHROMA_FORMAT_YUV_444_PLANAR,4,2 ; @CHROMA_FORMAT_YUV_444_PLANAR
l_.str.2:                               ; @.str.2
	.asciz	"bit_depth_luma_minus8"

l_.str.3:                               ; @.str.3
	.asciz	"bit_depth_chroma_minus8"

l_.str.4:                               ; @.str.4
	.asciz	"qpprime_y_zero_transform_bypass_flag"

l_.str.5:                               ; @.str.5
	.asciz	"seq_scaling_matrix_present_flag"

l_.str.6:                               ; @.str.6
	.asciz	"seq_scaling_list_present_flag"

	.no_dead_strip	_h264_get_chroma_format
.subsections_via_symbols
