	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_cabac_mb_skip
_decode_cabac_mb_skip:                  ## @decode_cabac_mb_skip
	.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
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_FRAME_MBAFF
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	%r15d, %r13d
	andl	$-2, %r13d
	imull	(%r14), %r13d
	leal	(%rbx,%r13), %ecx
	decl	%ecx
	testb	$1, %r15b
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.2:
	movq	8(%r14), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_MB_FIELD
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	16(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %edi
	callq	_IS_INTERLACED
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	cmpl	%ecx, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_5:
	movq	%r12, %rdi
	callq	_MB_FIELD
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	addl	%ebx, %r13d
	movslq	(%r14), %rax
	movslq	%r13d, %r13
	subq	%rax, %r13
	testb	$1, %r15b
	jne	LBB0_13
## %bb.7:
	movq	8(%r14), %rax
	movq	(%rax,%r13,8), %rax
	cmpq	(%r12), %rax
	jne	LBB0_13
## %bb.8:
	movq	16(%r14), %rax
	movl	(%rax,%r13,4), %edi
	callq	_IS_INTERLACED
	testq	%rax, %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_14
## %bb.9:
	movl	(%r14), %eax
	subl	%eax, %r13d
	jmp	LBB0_14
LBB0_10:
	movl	8(%r12), %r13d
	leal	-1(%r13), %r15d
	movl	(%r14), %ebx
	movq	%r14, %rdi
	callq	_FIELD_PICTURE
	movl	%eax, %ecx
	shll	%cl, %ebx
	subl	%ebx, %r13d
	jmp	LBB0_14
LBB0_11:
	decl	%r15d
	imull	(%r14), %r15d
	addl	%ebx, %r15d
	movl	%r15d, %r13d
LBB0_13:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_14:
	movq	8(%r14), %rax
	movslq	%r15d, %rdx
	movq	(%r12), %rcx
	xorl	%ebx, %ebx
	cmpq	%rcx, (%rax,%rdx,8)
	jne	LBB0_16
## %bb.15:
	movq	16(%r14), %rax
	movl	(%rax,%rdx,4), %edi
	callq	_IS_SKIP
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	movq	8(%r14), %rax
	movq	(%r12), %rcx
LBB0_16:
	movslq	%r13d, %rdx
	cmpq	%rcx, (%rax,%rdx,8)
	jne	LBB0_18
## %bb.17:
	movq	16(%r14), %rax
	movl	(%rax,%rdx,4), %edi
	callq	_IS_SKIP
	cmpl	$1, %eax
	adcl	$0, %ebx
LBB0_18:
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rax
	leal	13(%rbx), %ecx
	movq	16(%r12), %rdx
	movq	24(%r12), %rsi
	cmpq	(%rax), %rdx
	cmovnel	%ebx, %ecx
	addq	$32, %r12
	leaq	(%rsi,%rcx,4), %rsi
	addq	$44, %rsi
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_cabac_noinline             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PICTURE_TYPE_B,8,3          ## @AV_PICTURE_TYPE_B
	.no_dead_strip	_decode_cabac_mb_skip
.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_skip
_decode_cabac_mb_skip:                  ; @decode_cabac_mb_skip
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_FRAME_MBAFF
	cbz	x0, LBB0_10
; %bb.1:
	and	w8, w21, #0xfffffffe
	ldr	w9, [x20]
	madd	w25, w9, w8, w22
	sub	w24, w25, #1
	tbz	w21, #0, LBB0_5
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, w24, sxtw #3]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	sxtw	x26, w24
	mov	x0, x19
	bl	_MB_FIELD
	mov	x23, x0
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x26, lsl #2]
	bl	_IS_INTERLACED
	cmp	x0, #0
	cset	w8, ne
	cmp	w23, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x20]
	add	w24, w8, w24
LBB0_5:
	mov	x0, x19
	bl	_MB_FIELD
	cbz	w0, LBB0_11
; %bb.6:
	ldr	w8, [x20]
	sub	w22, w25, w8
	tbnz	w21, #0, LBB0_12
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, w22, sxtw #3]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:
	sxtw	x8, w22
	ldr	x9, [x20, #16]
	ldr	w0, [x9, x8, lsl #2]
	bl	_IS_INTERLACED
	cbz	x0, LBB0_12
; %bb.9:
	ldr	w8, [x20]
	sub	w22, w22, w8
	b	LBB0_12
LBB0_10:
	ldr	w21, [x19, #8]
	sub	w24, w21, #1
	ldr	w22, [x20]
	mov	x0, x20
	bl	_FIELD_PICTURE
	lsl	w8, w22, w0
	sub	w22, w21, w8
	b	LBB0_12
LBB0_11:
	sub	w8, w21, #1
	ldr	w9, [x20]
	madd	w22, w9, w8, w22
LBB0_12:
	ldr	x8, [x20, #8]
	ldr	x10, [x8, w24, sxtw #3]
	ldr	x9, [x19]
	cmp	x10, x9
	b.ne	LBB0_14
; %bb.13:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	sxtw	x8, w24
	ldr	x9, [x20, #16]
	ldr	w0, [x9, x8, lsl #2]
	bl	_IS_SKIP
	cmp	w0, #0
	cset	w21, eq
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	b	LBB0_15
LBB0_14:
	mov	w21, #0
LBB0_15:
	ldr	x8, [x8, w22, sxtw #3]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x8, w22
	ldr	x9, [x20, #16]
	ldr	w0, [x9, x8, lsl #2]
	bl	_IS_SKIP
	cmp	w0, #0
	cinc	w21, w21, eq
LBB0_17:
Lloh0:
	adrp	x8, _AV_PICTURE_TYPE_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PICTURE_TYPE_B@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	w9, w21, #13
	ldp	x10, x11, [x19, #16]
	cmp	x10, x8
	csel	w8, w9, w21, eq
	add	x0, x19, #32
	add	w8, w8, #11
	add	x1, x11, w8, uxtw #2
	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
	b	_get_cabac_noinline
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PICTURE_TYPE_B,8,3          ; @AV_PICTURE_TYPE_B
	.no_dead_strip	_decode_cabac_mb_skip
.subsections_via_symbols
