	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_framesync_dualinput_get     ## -- Begin function ff_framesync_dualinput_get
	.p2align	4, 0x90
_ff_framesync_dualinput_get:            ## @ff_framesync_dualinput_get
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-48(%rbp), %rdx
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	leaq	-56(%rbp), %rdx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_av_assert0
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	callq	_av_rescale_q
	movq	-48(%rbp), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, (%r13)
	jne	LBB0_4
## %bb.5:
	movq	-56(%rbp), %rax
	jmp	LBB0_6
LBB0_2:
	movl	%eax, %r12d
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movq	%rcx, (%r15)
	movq	%rax, (%r14)
LBB0_7:
	movl	%r12d, %eax
	addq	$24, %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_framesync_dualinput_get     ; -- Begin function ff_framesync_dualinput_get
	.p2align	2
_ff_framesync_dualinput_get:            ; @ff_framesync_dualinput_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x0, #8]
	stp	xzr, xzr, [sp]
	add	x2, sp, #8
	mov	w1, #0
	mov	w3, #1
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x2, sp
	mov	x0, x21
	mov	w1, #1
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_av_assert0
	ldp	w1, w0, [x21]
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	bl	_av_rescale_q
	mov	w22, #0
	ldr	x8, [sp, #8]
	str	w0, [x8]
	ldr	x9, [x23]
	ldr	x10, [sp]
	cmp	x9, #0
	csel	x9, x10, xzr, eq
	str	x8, [x20]
	str	x9, [x19]
	b	LBB0_4
LBB0_3:
	mov	x22, x0
	add	x0, sp, #8
	bl	_av_frame_free
LBB0_4:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
