	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_skip_flag_decode       ## -- Begin function ff_hevc_skip_flag_decode
	.p2align	4, 0x90
_ff_hevc_skip_flag_decode:              ## @ff_hevc_skip_flag_decode
	.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
	movl	%r8d, %r15d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movl	4(%rcx), %esi
	movl	%eax, %edi
	callq	_av_mod_uintp2
	movl	%eax, %r13d
	movq	16(%rbx), %rax
	movl	4(%rax), %esi
	movl	%r12d, %edi
	callq	_av_mod_uintp2
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	je	LBB0_3
LBB0_2:
	movl	(%rbx), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %esi
	movl	%r15d, %edx
	callq	_SAMPLE_CTB
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	movq	8(%rbx), %rax
LBB0_3:
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	testl	%r12d, %r12d
	je	LBB0_6
LBB0_5:
	movl	(%rbx), %edi
	decl	%r15d
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %edx
	callq	_SAMPLE_CTB
	cmpl	$1, %eax
	sbbl	$-1, %r14d
LBB0_6:
	movq	_elem_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SKIP_FLAG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, %edi
	addq	(%rax,%rcx,8), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GET_CABAC                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_elem_offset,8,3                ## @elem_offset
	.comm	_SKIP_FLAG,8,3                  ## @SKIP_FLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_skip_flag_decode       ; -- Begin function ff_hevc_skip_flag_decode
	.p2align	2
_ff_hevc_skip_flag_decode:              ; @ff_hevc_skip_flag_decode
	.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	x20, x4
	mov	x19, x3
	mov	x22, x2
	mov	x8, x1
	mov	x21, x0
	ldr	x9, [x0, #16]
	ldr	w1, [x9, #4]
	mov	x0, x8
	bl	_av_mod_uintp2
	mov	x23, x0
	ldr	x8, [x21, #16]
	ldr	w1, [x8, #4]
	mov	x0, x22
	bl	_av_mod_uintp2
	mov	x22, x0
	ldr	x8, [x21, #8]
	ldr	x9, [x8, #8]
	cmp	x9, #0
	ccmp	w23, #0, #0, eq
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	sub	w1, w19, #1
	mov	x2, x20
	bl	_SAMPLE_CTB
	cmp	w0, #0
	cset	w23, ne
	ldr	x8, [x21, #8]
	b	LBB0_3
LBB0_2:
	mov	w23, #0
LBB0_3:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w22, #0, #0, eq
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x21]
	sub	w2, w20, #1
	mov	x1, x19
	bl	_SAMPLE_CTB
	cmp	w0, #0
	cinc	w23, w23, ne
LBB0_5:
Lloh0:
	adrp	x8, _elem_offset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _elem_offset@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SKIP_FLAG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SKIP_FLAG@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, w23, uxtw
	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
	b	_GET_CABAC
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_elem_offset,8,3                ; @elem_offset
	.comm	_SKIP_FLAG,8,3                  ; @SKIP_FLAG
.subsections_via_symbols
