	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_to_sample_buffer
_input_to_sample_buffer:                ## @input_to_sample_buffer
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.1:
	movq	40(%rdi), %rcx
	movq	16(%rdi), %r10
	movq	32(%rdi), %r8
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi), %esi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r9d
	cmpl	%esi, %r9d
	jae	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movl	4(%rdi), %eax
	addl	%r9d, %eax
	xorl	%edx, %edx
	divl	8(%rdi)
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r10,%rdx,4), %r14d
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rdi), %eax
	imull	%edx, %eax
	leaq	(%r8,%rax,4), %rax
	movq	24(%rdi), %r15
	movl	(%r15), %ebx
	xorl	%r11d, %r11d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
	xorl	%ebx, %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	addq	$8, %rcx
	addq	$8, %rax
	incl	%r11d
	cmpl	%r14d, %r11d
	jae	LBB0_10
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rax), %ebx
	addq	$4, %rax
	movl	%ebx, (%rcx)
	addq	$4, %rcx
	incl	%esi
	movl	(%r15), %ebx
	cmpl	%ebx, %esi
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r10,%rdx,4), %r14d
	jmp	LBB0_9
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_input_to_sample_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_to_sample_buffer
_input_to_sample_buffer:                ; @input_to_sample_buffer
	.cfi_startproc
; %bb.0:
	ldr	w13, [x0]
	cbz	w13, LBB0_11
; %bb.1:
	mov	w8, #0
	ldp	x10, x9, [x0, #32]
	ldr	x11, [x0, #16]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	cmp	w8, w13
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	ldp	w12, w14, [x0, #4]
	add	w12, w12, w8
	udiv	w15, w12, w14
	msub	w12, w15, w14, w12
	ldr	w16, [x11, w12, uxtw #2]
	cbz	w16, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w13, #0
	ldr	w14, [x0, #12]
	mul	w14, w14, w12
	add	x14, x10, w14, uxtw #2
	ldr	x15, [x0, #24]
	ldr	w17, [x15]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x9, x9, #8
	add	x14, x14, #8
	add	w13, w13, #1
	cmp	w13, w16
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	cbz	w17, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w16, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w17, [x14], #4
	str	w17, [x9], #4
	add	w16, w16, #1
	ldr	w17, [x15]
	cmp	w16, w17
	b.lo	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w16, [x11, x12, lsl #2]
	b	LBB0_6
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_input_to_sample_buffer
.subsections_via_symbols
