	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_frame
_decode_frame:                          ## @decode_frame
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_vpx_codec_decode
	movq	_VPX_CODEC_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_vpx_codec_error
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_vpx_codec_error_detail
	movq	%rax, %rbx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_av_log
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_av_log
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPX_CODEC_OK,8,3               ## @VPX_CODEC_OK
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to decode frame: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"  Additional information: %s\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_frame
_decode_frame:                          ; @decode_frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, #0
	mov	w4, #0
	bl	_vpx_codec_decode
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _VPX_CODEC_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VPX_CODEC_OK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_vpx_codec_error
	mov	x21, x0
	mov	x0, x20
	bl	_vpx_codec_error_detail
	mov	x20, x0
Lloh3:
	adrp	x22, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AV_LOG_ERROR@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_av_log
	cbz	x20, LBB0_3
; %bb.2:
	ldr	w1, [x22]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_av_log
LBB0_3:
Lloh9:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VPX_CODEC_OK,8,3               ; @VPX_CODEC_OK
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to decode frame: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"  Additional information: %s\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_frame
.subsections_via_symbols
