	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mss12_decode_rect           ## -- Begin function ff_mss12_decode_rect
	.p2align	4, 0x90
_ff_mss12_decode_rect:                  ## @ff_mss12_decode_rect
	.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, %r12d
	movq	(%rsi), %rax
	movq	_MAX_OVERREAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_2:
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	leaq	8(%rdi), %rsi
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	$-1, %ebx
	cmpl	$130, %eax
	je	LBB0_11
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_14
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_decode_pivot
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %r9d
	callq	_ff_mss12_decode_rect
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, %r12d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	subl	%eax, %r9d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_8
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_decode_pivot
	testl	%eax, %eax
	jle	LBB0_10
## %bb.12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_ff_mss12_decode_rect
	testl	%eax, %eax
	jne	LBB0_10
## %bb.13:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, %r13d
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	subl	%eax, %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
LBB0_8:
	callq	_ff_mss12_decode_rect
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_15
## %bb.16:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decode_region_intra            ## TAILCALL
LBB0_15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decode_region_inter            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OVERREAD,8,3               ## @MAX_OVERREAD
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mss12_decode_rect           ; -- Begin function ff_mss12_decode_rect
	.p2align	2
_ff_mss12_decode_rect:                  ; @ff_mss12_decode_rect
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _MAX_OVERREAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_OVERREAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_2:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	ldr	x8, [x1, #8]
	add	x1, x0, #8
	mov	x0, x22
	blr	x8
	cmp	w0, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w0, #129
	b.eq	LBB0_13
; %bb.4:
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.5:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x19
	bl	_decode_pivot
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x25, x0
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	mov	x5, x25
	bl	_ff_mss12_decode_rect
	cbnz	w0, LBB0_11
; %bb.7:
	add	w3, w25, w21
	sub	w5, w19, w25
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x4, x20
	bl	_ff_mss12_decode_rect
	cbnz	w0, LBB0_11
	b	LBB0_16
LBB0_8:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x20
	bl	_decode_pivot
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x25, x0
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x25
	mov	x5, x19
	bl	_ff_mss12_decode_rect
	cbnz	w0, LBB0_11
; %bb.10:
	add	w2, w25, w23
	sub	w4, w20, w25
	mov	x0, x24
	mov	x1, x22
	mov	x3, x21
	mov	x5, x19
	bl	_ff_mss12_decode_rect
	cbz	w0, LBB0_16
LBB0_11:
	mov	w0, #-1
LBB0_12:
	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
	ret
LBB0_13:
	ldr	x8, [x24]
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.14:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	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	_decode_region_intra
LBB0_15:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	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	_decode_region_inter
LBB0_16:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OVERREAD,8,3               ; @MAX_OVERREAD
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
.subsections_via_symbols
