	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function CreateSilenceBuf
LCPI0_0:
	.quad	0x40f5f90000000000              ## double 9.0E+4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CreateSilenceBuf:                      ## @CreateSilenceBuf
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_HB_ACODEC_PASS_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	%rdi, %r14
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	movl	8(%rax), %r12d
	cvtsi2sd	%r12d, %xmm2
	mulsd	LCPI0_0(%rip), %xmm2
	movl	4(%rax), %edi
	xorps	%xmm1, %xmm1
	cvtsi2sdl	12(%rax), %xmm1
	divsd	%xmm1, %xmm2
	movsd	%xmm2, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	callq	_hb_mixdown_get_discrete_channel_count
	movl	%eax, %r15d
	leaq	-44(%rbp), %rdi
	callq	_hb_buffer_list_clear
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jb	LBB0_5
## %bb.3:
	imull	%r15d, %r12d
	shll	$2, %r12d
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movl	%r12d, %edi
	callq	_hb_buffer_init
	movq	%rax, %rbx
	movl	24(%rax), %edx
	movl	28(%rax), %edi
	xorl	%esi, %esi
	callq	_memset
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	addsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movsd	%xmm0, 8(%rbx)
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rbx)
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hb_buffer_list_append
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jae	LBB0_4
LBB0_5:
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_8
## %bb.6:
	movq	(%r14), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	12(%rax), %xmm0
	mulsd	%xmm1, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %ebx
	movl	4(%rax), %edi
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	callq	_hb_mixdown_get_discrete_channel_count
	imull	%ebx, %eax
	shll	$2, %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.7:
	movl	%eax, %edi
	callq	_hb_buffer_init
	movq	%rax, %rbx
	movl	24(%rax), %edx
	movl	28(%rax), %edi
	xorl	%esi, %esi
	callq	_memset
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm0
	movsd	%xmm0, 8(%rbx)
	movsd	%xmm1, 16(%rbx)
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_hb_buffer_list_append
LBB0_8:
	leaq	-44(%rbp), %rdi
	callq	_hb_buffer_list_clear
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ## @HB_ACODEC_PASS_FLAG
	.no_dead_strip	_CreateSilenceBuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CreateSilenceBuf
_CreateSilenceBuf:                      ; @CreateSilenceBuf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _HB_ACODEC_PASS_FLAG@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HB_ACODEC_PASS_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_9
LBB0_2:
	fmov	d9, d1
	fmov	d8, d0
	mov	x19, x0
	ldp	w0, w21, [x8, #4]
	scvtf	d0, w21
	mov	x9, #273778395316224
	movk	x9, #16629, lsl #48
	fmov	d1, x9
	fmul	d0, d0, d1
	ldr	s1, [x8, #12]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fdiv	d10, d0, d1
	bl	_hb_mixdown_get_discrete_channel_count
	mov	x20, x0
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	fcmp	d10, d8
	b.hi	LBB0_5
; %bb.3:
	mul	w8, w21, w20
	lsl	w20, w8, #2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_hb_buffer_init
	mov	x21, x0
	ldr	w0, [x0, #28]
	ldr	w2, [x21, #24]
	mov	w1, #0
	bl	_memset
	str	d9, [x21]
	fadd	d9, d10, d9
	stp	d9, d10, [x21, #8]
	fsub	d8, d8, d10
	add	x0, sp, #12
	mov	x1, x21
	bl	_hb_buffer_list_append
	fcmp	d8, d10
	b.ge	LBB0_4
LBB0_5:
	fcmp	d8, #0.0
	b.le	LBB0_8
; %bb.6:
	ldr	x8, [x19]
	ldr	s0, [x8, #12]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fmul	d0, d8, d0
	mov	x9, #273778395316224
	movk	x9, #16629, lsl #48
	fmov	d1, x9
	fdiv	d0, d0, d1
	fcvtzs	w19, d0
	ldr	w0, [x8, #4]
	bl	_hb_mixdown_get_discrete_channel_count
	mul	w8, w19, w0
	lsl	w0, w8, #2
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.7:
	bl	_hb_buffer_init
	mov	x19, x0
	ldr	w0, [x0, #28]
	ldr	w2, [x19, #24]
	mov	w1, #0
	bl	_memset
	fadd	d0, d9, d8
	stp	d9, d0, [x19]
	str	d8, [x19, #16]
	add	x0, sp, #12
	mov	x1, x19
	bl	_hb_buffer_list_append
LBB0_8:
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
LBB0_9:
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ; @HB_ACODEC_PASS_FLAG
	.no_dead_strip	_CreateSilenceBuf
.subsections_via_symbols
