	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_part_mode_decode       ## -- Begin function ff_hevc_part_mode_decode
	.p2align	4, 0x90
_ff_hevc_part_mode_decode:              ## @ff_hevc_part_mode_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	%esi, %ebx
	movq	%rdi, %r14
	movq	_elem_offset@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_PART_MODE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_GET_CABAC
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_PART_2Nx2N@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r14), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	_MODE_INTRA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_5:
	movq	_PART_NxN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movl	4(%rax), %ebx
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	incq	%rdi
	callq	_GET_CABAC
	movq	%rax, %r13
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.7:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	addq	$3, %rdi
	callq	_GET_CABAC
	testq	%r13, %r13
	je	LBB0_14
## %bb.8:
	testq	%rax, %rax
	jne	LBB0_11
## %bb.19:
	movq	(%r14), %rdi
	callq	_get_cabac_bypass
	testq	%rax, %rax
	jne	LBB0_25
## %bb.20:
	movq	_PART_2NxnU@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_10:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	incq	%rdi
	callq	_GET_CABAC
	testq	%rax, %rax
	jne	LBB0_11
## %bb.16:
	cmpl	$3, %ebx
	je	LBB0_17
## %bb.21:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	addq	$2, %rdi
	callq	_GET_CABAC
	testq	%rax, %rax
	je	LBB0_5
	jmp	LBB0_17
LBB0_12:
	testq	%r13, %r13
	je	LBB0_17
LBB0_11:
	movq	_PART_2NxN@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_14:
	testq	%rax, %rax
	je	LBB0_23
LBB0_17:
	movq	_PART_Nx2N@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_23:
	movq	(%r14), %rdi
	callq	_get_cabac_bypass
	testq	%rax, %rax
	jne	LBB0_27
## %bb.24:
	movq	_PART_nLx2N@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_25:
	movq	_PART_2NxnD@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_27:
	movq	_PART_nRx2N@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_elem_offset,8,3                ## @elem_offset
	.comm	_PART_MODE,8,3                  ## @PART_MODE
	.comm	_PART_2Nx2N,4,2                 ## @PART_2Nx2N
	.comm	_MODE_INTRA,8,3                 ## @MODE_INTRA
	.comm	_PART_NxN,4,2                   ## @PART_NxN
	.comm	_PART_2NxN,4,2                  ## @PART_2NxN
	.comm	_PART_Nx2N,4,2                  ## @PART_Nx2N
	.comm	_PART_2NxnD,4,2                 ## @PART_2NxnD
	.comm	_PART_2NxnU,4,2                 ## @PART_2NxnU
	.comm	_PART_nRx2N,4,2                 ## @PART_nRx2N
	.comm	_PART_nLx2N,4,2                 ## @PART_nLx2N
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_part_mode_decode       ; -- Begin function ff_hevc_part_mode_decode
	.p2align	2
_ff_hevc_part_mode_decode:              ; @ff_hevc_part_mode_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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _elem_offset@GOTPAGE
Lloh1:
	ldr	x21, [x21, _elem_offset@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _PART_MODE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PART_MODE@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_GET_CABAC
	cbz	x0, LBB0_3
; %bb.1:
Lloh4:
	adrp	x19, _PART_2Nx2N@GOTPAGE
Lloh5:
	ldr	x19, [x19, _PART_2Nx2N@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x19]
	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
	ret
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cmp	w9, w20
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _MODE_INTRA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MODE_INTRA@GOTPAGEOFF]
	ldr	x8, [x8, #8]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x23, _PART_NxN@GOTPAGE
Lloh10:
	ldr	x23, [x23, _PART_NxN@GOTPAGEOFF]
	mov	x19, x23
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.5:
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, #1
	bl	_GET_CABAC
	cbnz	x0, LBB0_11
; %bb.6:
Lloh11:
	adrp	x19, _PART_Nx2N@GOTPAGE
Lloh12:
	ldr	x19, [x19, _PART_Nx2N@GOTPAGEOFF]
	cmp	w20, #3
	b.eq	LBB0_2
; %bb.7:
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, #2
	bl	_GET_CABAC
	cmp	x0, #0
	csel	x19, x23, x19, eq
	b	LBB0_2
LBB0_8:
	ldr	w23, [x8, #4]
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, #1
	bl	_GET_CABAC
	mov	x20, x0
	cbz	w23, LBB0_12
; %bb.9:
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	add	x0, x8, #3
	bl	_GET_CABAC
	cbz	x20, LBB0_13
; %bb.10:
	cbz	x0, LBB0_15
LBB0_11:
Lloh13:
	adrp	x19, _PART_2NxN@GOTPAGE
Lloh14:
	ldr	x19, [x19, _PART_2NxN@GOTPAGEOFF]
	b	LBB0_2
LBB0_12:
Lloh15:
	adrp	x8, _PART_2NxN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PART_2NxN@GOTPAGEOFF]
Lloh17:
	adrp	x9, _PART_Nx2N@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PART_Nx2N@GOTPAGEOFF]
	cmp	x20, #0
	b	LBB0_18
LBB0_13:
	cbz	x0, LBB0_16
; %bb.14:
Lloh19:
	adrp	x19, _PART_Nx2N@GOTPAGE
Lloh20:
	ldr	x19, [x19, _PART_Nx2N@GOTPAGEOFF]
	b	LBB0_2
LBB0_15:
	ldr	x0, [x19]
	bl	_get_cabac_bypass
Lloh21:
	adrp	x8, _PART_2NxnD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PART_2NxnD@GOTPAGEOFF]
Lloh23:
	adrp	x9, _PART_2NxnU@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PART_2NxnU@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
	ldr	x0, [x19]
	bl	_get_cabac_bypass
Lloh25:
	adrp	x8, _PART_nRx2N@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PART_nRx2N@GOTPAGEOFF]
Lloh27:
	adrp	x9, _PART_nLx2N@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PART_nLx2N@GOTPAGEOFF]
LBB0_17:
	cmp	x0, #0
LBB0_18:
	csel	x19, x9, x8, eq
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_elem_offset,8,3                ; @elem_offset
	.comm	_PART_MODE,8,3                  ; @PART_MODE
	.comm	_PART_2Nx2N,4,2                 ; @PART_2Nx2N
	.comm	_MODE_INTRA,8,3                 ; @MODE_INTRA
	.comm	_PART_NxN,4,2                   ; @PART_NxN
	.comm	_PART_2NxN,4,2                  ; @PART_2NxN
	.comm	_PART_Nx2N,4,2                  ; @PART_Nx2N
	.comm	_PART_2NxnD,4,2                 ; @PART_2NxnD
	.comm	_PART_2NxnU,4,2                 ; @PART_2NxnU
	.comm	_PART_nRx2N,4,2                 ; @PART_nRx2N
	.comm	_PART_nLx2N,4,2                 ; @PART_nLx2N
.subsections_via_symbols
