	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_save_states            ## -- Begin function ff_hevc_save_states
	.p2align	4, 0x90
_ff_hevc_save_states:                   ## @ff_hevc_save_states
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movl	%esi, %eax
	cltd
	idivl	%ecx
	cmpl	$2, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$2, %ecx
	jne	LBB0_4
## %bb.3:
	testl	%edx, %edx
	jne	LBB0_4
LBB0_5:
	movl	8(%rdi), %eax
	movq	(%rdi), %rcx
	movl	(%rcx), %esi
	movq	_HEVC_CONTEXTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEVC_CONTEXTS,4,2              ## @HEVC_CONTEXTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_save_states            ; -- Begin function ff_hevc_save_states
	.p2align	2
_ff_hevc_save_states:                   ; @ff_hevc_save_states
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	sdiv	w8, w1, w9
	msub	w8, w8, w9, w1
	cmp	w8, #2
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #2
	b.ne	LBB0_5
; %bb.3:
	cbnz	w8, LBB0_5
LBB0_4:
	ldr	w8, [x0, #8]
	ldr	x9, [x0]
	ldr	w1, [x9]
Lloh0:
	adrp	x9, _HEVC_CONTEXTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HEVC_CONTEXTS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	x0, x8
	b	_memcpy
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HEVC_CONTEXTS,4,2              ; @HEVC_CONTEXTS
.subsections_via_symbols
