	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_noise_buffer
_fill_noise_buffer:                     ## @fill_noise_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %r8
	movl	%esi, %r9d
	movl	(%r8,%r9,4), %esi
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	_noise_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	8(%rdi), %r11
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %edx
	sarl	$15, %edx
	movslq	%edx, %rdx
	movl	(%r10,%rdx,4), %eax
	movl	%eax, (%r11,%rcx,4)
	shll	$8, %esi
	xorl	%edx, %esi
	shll	$5, %edx
	xorl	%esi, %edx
	incq	%rcx
	movl	(%rdi), %eax
	movl	%edx, %esi
	cmpq	%rax, %rcx
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%esi, %edx
LBB0_4:
	movl	%edx, (%r8,%r9,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_noise_table,8,3                ## @noise_table
	.no_dead_strip	_fill_noise_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_noise_buffer
_fill_noise_buffer:                     ; @fill_noise_buffer
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	mov	w9, w1
	ldr	w10, [x8, w1, uxtw #2]
	ldr	w11, [x0]
	cbz	w11, LBB0_3
; %bb.1:
	mov	x11, #0
Lloh0:
	adrp	x12, _noise_table@GOTPAGE
Lloh1:
	ldr	x12, [x12, _noise_table@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	ldr	x13, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	asr	w14, w10, #15
	ldr	w15, [x12, w14, sxtw #2]
	str	w15, [x13, x11, lsl #2]
	eor	w10, w14, w10, lsl #8
	eor	w10, w10, w14, lsl #5
	add	x11, x11, #1
	ldr	w14, [x0]
	cmp	x11, x14
	b.lo	LBB0_2
LBB0_3:
	str	w10, [x8, x9, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_noise_table,8,3                ; @noise_table
	.no_dead_strip	_fill_noise_buffer
.subsections_via_symbols
