	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_frame_obj
_process_frame_obj:                     ## @process_frame_obj
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	20(%rdi), %r15
	movq	%r15, %rdi
	callq	_bytestream2_get_le16u
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_le16u
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_bytestream2_get_le16u
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_le16u
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_bytestream2_get_le16u
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%r13), %rsi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r12), %r14
	cmpq	%r14, %rsi
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jge	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rcx,%rax), %rbx
	jmp	LBB0_6
LBB0_2:
	movl	16(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rcx,%rax), %rbx
	cmpq	%rbx, 8(%r13)
	jge	LBB0_8
LBB0_6:
	movl	16(%r13), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_FFMAX
	movl	%eax, %r12d
	movq	8(%r13), %rsi
	movq	%rbx, %rdi
	callq	_FFMAX
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_ff_set_dimensions
	testl	%eax, %eax
	js	LBB0_16
## %bb.7:
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_FFMAX
	movl	%eax, %r14d
	movq	8(%r13), %rsi
	movq	%rbx, %rdi
	callq	_FFMAX
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_init_sizes
	movq	%r13, %rdi
	callq	_init_buffers
	testq	%rax, %rax
	je	LBB0_8
## %bb.17:
	movl	16(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_av_log
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_bytestream2_skip
	cmpq	$36, -48(%rbp)                  ## 8-byte Folded Reload
	jg	LBB0_12
## %bb.9:
	cmpq	$1, -48(%rbp)                   ## 8-byte Folded Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	cmpq	$3, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_14
LBB0_11:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_old_codec1                     ## TAILCALL
LBB0_12:
	cmpq	$37, -48(%rbp)                  ## 8-byte Folded Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_18
## %bb.13:
	cmpq	$47, -48(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_14
## %bb.19:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_old_codec47                    ## TAILCALL
LBB0_18:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_old_codec37                    ## TAILCALL
LBB0_14:
	movl	16(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dimensions are invalid.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Error resizing buffers.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Subcodec %d"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.no_dead_strip	_process_frame_obj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_frame_obj
_process_frame_obj:                     ; @process_frame_obj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x25, x0, #20
	mov	x0, x25
	bl	_bytestream2_get_le16u
	mov	x20, x0
	mov	x0, x25
	bl	_bytestream2_get_le16u
	mov	x21, x0
	mov	x0, x25
	bl	_bytestream2_get_le16u
	mov	x23, x0
	mov	x0, x25
	bl	_bytestream2_get_le16u
	mov	x22, x0
	mov	x0, x25
	bl	_bytestream2_get_le16u
	cbz	x22, LBB0_4
; %bb.1:
	mov	x24, x0
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x1, [x19]
	add	x26, x22, x21
	cmp	x1, x26
	b.ge	LBB0_6
; %bb.3:
	add	x27, x24, x23
	b	LBB0_7
LBB0_4:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19, #8]
	add	x27, x24, x23
	cmp	x8, x27
	b.ge	LBB0_11
LBB0_7:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w28, [x19, #16]
	mov	x0, x26
	bl	_FFMAX
	mov	x20, x0
	ldr	x1, [x19, #8]
	mov	x0, x27
	bl	_FFMAX
	mov	x2, x0
	mov	x0, x28
	mov	x1, x20
	bl	_ff_set_dimensions
	tbnz	w0, #31, LBB0_10
; %bb.8:
	ldr	x1, [x19]
	mov	x0, x26
	bl	_FFMAX
	mov	x20, x0
	ldr	x1, [x19, #8]
	mov	x0, x27
	bl	_FFMAX
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_init_sizes
	mov	x0, x19
	bl	_init_buffers
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w0, [x19, #16]
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
LBB0_10:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	mov	x0, x25
	mov	w1, #4
	bl	_bytestream2_skip
	cmp	x20, #36
	b.gt	LBB0_15
; %bb.12:
	cmp	x20, #1
	b.eq	LBB0_14
; %bb.13:
	cmp	x20, #3
	b.ne	LBB0_19
LBB0_14:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x24
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_old_codec1
LBB0_15:
	cmp	x20, #37
	b.eq	LBB0_18
; %bb.16:
	cmp	x20, #47
	b.ne	LBB0_19
; %bb.17:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x24
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_old_codec47
LBB0_18:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x24
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_old_codec37
LBB0_19:
	ldr	w0, [x19, #16]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_avpriv_request_sample
Lloh17:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dimensions are invalid.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Error resizing buffers.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Subcodec %d"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.no_dead_strip	_process_frame_obj
.subsections_via_symbols
