	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rv34_decode_update_thread_context ## -- Begin function ff_rv34_decode_update_thread_context
	.p2align	4, 0x90
_ff_rv34_decode_update_thread_context:  ## @ff_rv34_decode_update_thread_context
	.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
	xorl	%ebx, %ebx
	cmpq	%rsi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	movq	(%rsi), %r13
	cmpl	$0, 32(%r13)
	je	LBB0_11
## %bb.2:
	movq	%rdi, %r14
	movq	(%rdi), %r12
	leaq	16(%r12), %rdi
	movq	16(%r13), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_4
## %bb.3:
	movq	24(%r13), %rcx
	cmpq	%rcx, 24(%r12)
	jne	LBB0_5
	jmp	LBB0_7
LBB0_4:
	movq	24(%r13), %rcx
LBB0_5:
	movq	%rax, 16(%r12)
	movq	%rcx, 24(%r12)
	callq	_ff_mpv_common_frame_size_change
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movq	%r12, %rdi
	callq	_rv34_decoder_realloc
	testl	%eax, %eax
	js	LBB0_10
LBB0_7:
	movl	12(%r13), %eax
	movl	%eax, 12(%r12)
	movl	8(%r13), %eax
	movl	%eax, 8(%r12)
	movl	4(%r13), %eax
	movl	%eax, 4(%r12)
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	cmpl	$0, 32(%r13)
	je	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_mpeg_update_thread_context  ## TAILCALL
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rv34_decode_update_thread_context ; -- Begin function ff_rv34_decode_update_thread_context
	.p2align	2
_ff_rv34_decode_update_thread_context:  ; @ff_rv34_decode_update_thread_context
	.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
	cmp	x0, x1
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	x22, [x1]
	ldr	w8, [x22, #32]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x20, x0
	ldr	x21, [x0]
	add	x0, x21, #16
	ldr	x9, [x0]
	ldr	x8, [x22, #16]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	x10, [x21, #24]
	ldr	x9, [x22, #24]
	cmp	x10, x9
	b.ne	LBB0_5
	b	LBB0_7
LBB0_4:
	ldr	x9, [x22, #24]
LBB0_5:
	stp	x8, x9, [x21, #16]
	bl	_ff_mpv_common_frame_size_change
	tbnz	w0, #31, LBB0_10
; %bb.6:
	mov	x0, x21
	bl	_rv34_decoder_realloc
	tbnz	w0, #31, LBB0_10
LBB0_7:
	ldr	w8, [x22, #12]
	str	w8, [x21, #12]
	ldur	d0, [x22, #4]
	stur	d0, [x21, #4]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x22, #32]
	cbz	w8, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ff_mpeg_update_thread_context
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
