	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_region_inter
_decode_region_inter:                   ## @decode_region_inter
	.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	%r9d, %r12d
	movl	%r8d, %r13d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	leaq	8(%rdi), %rsi
	movq	%r14, %rdi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.19:
	movl	(%r15), %r10d
	movl	4(%r15), %esi
	leaq	4(%rbx), %rax
	subq	$8, %rsp
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r13d, %r9d
	pushq	16(%r15)
	pushq	%rax
	pushq	$0
	pushq	%r10
	pushq	%r12
	callq	_decode_region
	addq	$48, %rsp
	testq	%rax, %rax
	js	LBB0_20
## %bb.21:
	movl	12(%r15), %edx
	movl	8(%r15), %ecx
	movl	(%r15), %r9d
	movl	4(%r15), %r8d
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%r14, %rsi
	pushq	%rbx
	pushq	%r12
	pushq	%r13
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_decode_region_masked
	addq	$72, %rsp
	jmp	LBB0_22
LBB0_1:
	leaq	4(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_decode_pixel
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	32(%r15), %rcx
	movq	_AV_EF_EXPLODE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_12
## %bb.4:
	movq	24(%r15), %rdx
	movl	$-1, %ecx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.5:
	cmpl	$1, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$2, %eax
	je	LBB0_8
## %bb.7:
	cmpl	$4, %eax
	jne	LBB0_17
LBB0_8:
	testq	%rdx, %rdx
	je	LBB0_9
LBB0_12:
	cmpl	$128, %eax
	je	LBB0_16
## %bb.13:
	cmpl	$4, %eax
	je	LBB0_18
## %bb.14:
	cmpl	$2, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_11
## %bb.15:
	movq	%r15, %rdi
	movl	%edx, %esi
	movl	%r10d, %edx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	callq	_copy_rectangles
	jmp	LBB0_16
LBB0_20:
	movl	$-1, %ecx
	jmp	LBB0_17
LBB0_2:
	movl	%eax, %ecx
	jmp	LBB0_17
LBB0_18:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r10d, %edx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_motion_compensation            ## TAILCALL
LBB0_9:
	cmpl	$128, %eax
	je	LBB0_16
## %bb.10:
	cmpl	$255, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_17
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r10d, %ecx
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decode_region_intra            ## TAILCALL
LBB0_16:
	xorl	%ecx, %ecx
LBB0_17:
	movl	%ecx, %eax
	addq	$24, %rsp
LBB0_22:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_EF_EXPLODE,4,2              ## @AV_EF_EXPLODE
	.no_dead_strip	_decode_region_inter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_region_inter
_decode_region_inter:                   ; @decode_region_inter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x5
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x25, [x0, #16]
	ldr	x8, [x1]
	add	x1, x0, #8
	mov	x0, x23
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	ldp	w7, w1, [x25]
	add	x8, x24, #4
	ldr	x9, [x25, #16]
	stp	x8, x9, [sp, #8]
	str	wzr, [sp]
	mov	x0, x23
	mov	x2, #0
	mov	x3, x22
	mov	x4, x19
	mov	x5, x21
	mov	x6, x20
	bl	_decode_region
	tbnz	x0, #63, LBB0_15
; %bb.2:
	ldp	w3, w2, [x25, #8]
	ldp	w5, w4, [x25]
	str	x24, [sp, #8]
	stp	w21, w20, [sp]
	mov	x0, x25
	mov	x1, x23
	mov	x6, x22
	mov	x7, x19
	bl	_decode_region_masked
	b	LBB0_16
LBB0_3:
	add	x1, x24, #4
	mov	x0, x23
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_decode_pixel
	tbnz	w0, #31, LBB0_16
; %bb.4:
	ldr	x8, [x25, #32]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _AV_EF_EXPLODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_EF_EXPLODE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x25, #24]
	cmp	x8, #0
	ccmp	w0, #1, #4, ne
	ccmp	w0, #2, #4, ne
	ccmp	w0, #4, #4, ne
	b.ne	LBB0_15
; %bb.6:
	cbz	x8, LBB0_12
LBB0_7:
	cmp	w0, #128
	b.eq	LBB0_17
; %bb.8:
	cmp	w0, #4
	b.eq	LBB0_11
; %bb.9:
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x25
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	_copy_rectangles
	b	LBB0_17
LBB0_11:
	mov	x0, x25
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_motion_compensation
LBB0_12:
	cmp	w0, #128
	b.eq	LBB0_17
; %bb.13:
	cmp	w0, #255
	b.ne	LBB0_15
LBB0_14:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	mov	x4, x21
	mov	x5, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_decode_region_intra
LBB0_15:
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	mov	w0, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_EF_EXPLODE,4,2              ; @AV_EF_EXPLODE
	.no_dead_strip	_decode_region_inter
.subsections_via_symbols
