	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_cabac_mb_chroma_pre_mode
_decode_cabac_mb_chroma_pre_mode:       ## @decode_cabac_mb_chroma_pre_mode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	40(%rsi), %rax
	movq	_LTOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movslq	(%rax), %rcx
	movq	(%rdi), %rdx
	xorl	%eax, %eax
	cmpq	$0, (%rdx,%rcx,8)
	setne	%al
	cmpq	$0, 32(%rbx)
	je	LBB0_5
LBB0_4:
	movslq	8(%rbx), %rcx
	movq	(%rdi), %rdx
	cmpq	$1, (%rdx,%rcx,8)
	sbbl	$-1, %eax
LBB0_5:
	leaq	24(%rbx), %r14
	movq	16(%rbx), %rcx
	movl	%eax, %eax
	leaq	(%rcx,%rax,4), %rsi
	addq	$256, %rsi                      ## imm = 0x100
	movq	%r14, %rdi
	callq	_get_cabac_noinline
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	$268, %r15d                     ## imm = 0x10C
	movq	16(%rbx), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	_get_cabac_noinline
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	addq	16(%rbx), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_get_cabac_noinline
	cmpq	$1, %rax
	movl	$3, %eax
	sbbl	$0, %eax
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
	cmpq	$0, 32(%rbx)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LTOP,8,3                       ## @LTOP
	.no_dead_strip	_decode_cabac_mb_chroma_pre_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_cabac_mb_chroma_pre_mode
_decode_cabac_mb_chroma_pre_mode:       ; @decode_cabac_mb_chroma_pre_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x1, #40]
Lloh0:
	adrp	x9, _LTOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LTOP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldrsw	x8, [x8]
	ldr	x9, [x0]
	ldr	x8, [x9, x8, lsl #3]
	cmp	x8, #0
	cset	w8, ne
LBB0_2:
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_4
; %bb.3:
	ldrsw	x9, [x19, #8]
	ldr	x10, [x0]
	ldr	x9, [x10, x9, lsl #3]
	cmp	x9, #0
	cinc	w8, w8, ne
LBB0_4:
	add	x20, x19, #24
	ldr	x9, [x19, #16]
	add	w8, w8, #64
	add	x1, x9, w8, uxtw #2
	mov	x0, x20
	bl	_get_cabac_noinline
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x19, #16]
	add	x1, x8, #268
	mov	x0, x20
	bl	_get_cabac_noinline
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19, #16]
	add	x1, x8, #268
	mov	x0, x20
	bl	_get_cabac_noinline
	cmp	x0, #0
	mov	w8, #2
	cinc	w0, w8, ne
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LTOP,8,3                       ; @LTOP
	.no_dead_strip	_decode_cabac_mb_chroma_pre_mode
.subsections_via_symbols
