	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_picture
_queue_picture:                         ## @queue_picture
	.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	%ecx, %r15d
	movl	%edx, %r12d
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_frame_queue_peek_writable
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	12(%r13), %edx
	movl	%edx, 24(%rax)
	movq	$0, 48(%rax)
	movl	8(%r13), %edi
	movl	%edi, 32(%rax)
	movl	4(%r13), %esi
	movl	%esi, 28(%rax)
	movl	(%r13), %eax
	movl	%eax, 40(%rbx)
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movl	%r12d, 36(%rbx)
	movl	%r15d, 16(%rbx)
	callq	_set_default_window_size
	movl	20(%rbx), %edi
	movq	%r13, %rsi
	callq	_av_frame_move_ref
	movq	%r14, %rdi
	callq	_frame_queue_push
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_queue_picture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_picture
_queue_picture:                         ; @queue_picture
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x21, x3
	mov	x22, x2
	fmov	d8, d1
	fmov	d9, d0
	mov	x20, x1
	mov	x19, x0
	bl	_frame_queue_peek_writable
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	str	xzr, [x0, #48]
	ldp	w0, w2, [x20, #8]
	ldp	w8, w1, [x20]
	stp	w2, w1, [x23, #24]
	stp	w22, w8, [x23, #36]
	str	d9, [x23]
	str	d8, [x23, #8]
	str	w0, [x23, #32]
	str	w21, [x23, #16]
	bl	_set_default_window_size
	ldr	w0, [x23, #20]
	mov	x1, x20
	bl	_av_frame_move_ref
	mov	x0, x19
	bl	_frame_queue_push
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_queue_picture
.subsections_via_symbols
