	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_samples_set_silence         ## -- Begin function av_samples_set_silence
	.p2align	4, 0x90
_av_samples_set_silence:                ## @av_samples_set_silence
	.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
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r8d, %edi
	callq	_av_sample_fmt_is_planar
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_av_get_bytes_per_sample
	testl	%r15d, %r15d
	movl	$1, %edx
	movl	%r13d, %ecx
	cmovel	%edx, %ecx
	cmovel	%r13d, %edx
	movq	_AV_SAMPLE_FMT_U8@GOTPCREL(%rip), %rsi
	cmpl	%ebx, (%rsi)
	sete	%sil
	movq	_AV_SAMPLE_FMT_U8P@GOTPCREL(%rip), %rdi
	cmpl	%ebx, (%rdi)
	sete	%bl
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	imull	%eax, %edx
	imull	%edx, %r12d
	orb	%bl, %sil
	movzbl	%sil, %r15d
	shll	$7, %r15d
	imull	%r14d, %edx
	movslq	%edx, %rbx
	movl	%ecx, %r13d
	xorl	%r14d, %r14d
	shlq	$2, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdi
	addq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_memset
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_U8,4,2           ## @AV_SAMPLE_FMT_U8
	.comm	_AV_SAMPLE_FMT_U8P,4,2          ## @AV_SAMPLE_FMT_U8P
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_samples_set_silence         ; -- Begin function av_samples_set_silence
	.p2align	2
_av_samples_set_silence:                ; @av_samples_set_silence
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x4
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x4
	bl	_av_sample_fmt_is_planar
	mov	x24, x0
	mov	x0, x20
	bl	_av_get_bytes_per_sample
	cmp	w24, #0
	csinc	w24, w23, wzr, ne
	csinc	w8, w23, wzr, eq
Lloh0:
	adrp	x9, _AV_SAMPLE_FMT_U8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_SAMPLE_FMT_U8@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _AV_SAMPLE_FMT_U8P@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_SAMPLE_FMT_U8P@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w10, w20
	ccmp	w9, w20, #4, ne
	mov	w9, #128
	csel	w20, w9, wzr, eq
	cmp	w24, #1
	b.lt	LBB0_3
; %bb.1:
	mul	w8, w8, w0
	mul	w22, w8, w22
	mul	w8, w8, w21
	sxtw	x21, w8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19], #8
	add	x0, x8, x21, lsl #2
	mov	x1, x20
	mov	x2, x22
	bl	_memset
	subs	x24, x24, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_U8,4,2           ; @AV_SAMPLE_FMT_U8
	.comm	_AV_SAMPLE_FMT_U8P,4,2          ; @AV_SAMPLE_FMT_U8P
.subsections_via_symbols
