	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function av_write_uncoded_frame_internal
_av_write_uncoded_frame_internal:       ## @av_write_uncoded_frame_internal
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_av_assert0
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	callq	_av_init_packet
	movq	%r13, -48(%rbp)
	movq	_UNCODED_FRAME_PACKET_SIZE@GOTPCREL(%rip), %rax
	movq	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$212, %xmm0, %xmm0              ## xmm0 = xmm0[0,1,1,3]
	pinsrd	$3, (%rax), %xmm0
	movdqu	%xmm0, -64(%rbp)
	movl	%r12d, -72(%rbp)
	movq	_AV_PKT_FLAG_UNCODED_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -68(%rbp)
	jmp	LBB0_4
LBB0_8:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	xorl	%r15d, %r15d
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	callq	_av_interleaved_write_frame
	jmp	LBB0_7
LBB0_6:
	callq	_av_write_frame
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_UNCODED_FRAME_PACKET_SIZE,4,2  ## @UNCODED_FRAME_PACKET_SIZE
	.comm	_AV_PKT_FLAG_UNCODED_FRAME,4,2  ## @AV_PKT_FLAG_UNCODED_FRAME
	.no_dead_strip	_av_write_uncoded_frame_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function av_write_uncoded_frame_internal
_av_write_uncoded_frame_internal:       ; @av_write_uncoded_frame_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_av_assert0
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	cbz	x23, LBB0_4
; %bb.2:
	mov	x21, sp
	mov	x0, sp
	bl	_av_init_packet
	str	x23, [sp, #24]
Lloh0:
	adrp	x8, _UNCODED_FRAME_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNCODED_FRAME_PACKET_SIZE@GOTPAGEOFF]
	ldr	d0, [x23]
	mov.s	v0[2], v0[1]
	ld1.s	{ v0 }[3], [x8]
Lloh2:
	adrp	x8, _AV_PKT_FLAG_UNCODED_FRAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_PKT_FLAG_UNCODED_FRAME@GOTPAGEOFF]
	stur	q0, [sp, #8]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #4]
	orr	w8, w9, w8
	stp	w22, w8, [sp]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	cbz	w20, LBB0_7
; %bb.6:
	bl	_av_interleaved_write_frame
	b	LBB0_8
LBB0_7:
	bl	_av_write_frame
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_UNCODED_FRAME_PACKET_SIZE,4,2  ; @UNCODED_FRAME_PACKET_SIZE
	.comm	_AV_PKT_FLAG_UNCODED_FRAME,4,2  ; @AV_PKT_FLAG_UNCODED_FRAME
	.no_dead_strip	_av_write_uncoded_frame_internal
.subsections_via_symbols
