	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getsfx                         ## -- Begin function getsfx
	.p2align	4, 0x90
_getsfx:                                ## @getsfx
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	leaq	-84(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_loadlump
	movq	%rax, %rdi
	movl	-84(%rbp), %ebx
	movq	_SAMPLECOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	-9(%rbx,%rcx), %r15d
	movl	%r15d, %eax
	cltd
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	idivl	%ecx
	movl	%edx, %r13d
	subl	%edx, %r15d
	leal	8(%r15), %r14d
	movl	%r14d, %esi
	callq	_realloc
	movq	%rax, %r12
	movslq	-84(%rbp), %rax
	cmpl	%r14d, %eax
	jge	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	addq	%r12, %rdi
	addl	-96(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%eax, %r13d
	subl	%r13d, %ebx
	addl	$-2, %ebx
	incq	%rbx
	movl	$128, %esi
	movq	%rbx, %rdx
	callq	_memset
LBB0_2:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r15d, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$8, %r12
	movq	%r12, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ds%s"

	.comm	_SAMPLECOUNT,4,2                ## @SAMPLECOUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getsfx                         ; -- Begin function getsfx
	.p2align	2
_getsfx:                                ; @getsfx
	.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	x19, x1
	mov	x2, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #4
	bl	_sprintf
	add	x0, sp, #4
	mov	x1, sp
	bl	_loadlump
	ldr	w8, [sp]
Lloh5:
	adrp	x9, _SAMPLECOUNT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SAMPLECOUNT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	add	w23, w8, w9
	sub	w24, w23, #9
	sdiv	w8, w24, w9
	mul	w22, w8, w9
	add	w21, w22, #8
	mov	x1, x21
	bl	_realloc
	mov	x20, x0
	ldrsw	x8, [sp]
	cmp	w8, w21
	b.ge	LBB0_2
; %bb.1:
	add	x0, x20, x8
	sub	w9, w24, w22
	add	w8, w8, w9
	sub	w8, w23, w8
	sub	w8, w8, #2
	add	x2, x8, #1
	mov	w1, #128
	bl	_memset
LBB0_2:
	str	w22, [x19]
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	add	x0, x20, #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
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ds%s"

	.comm	_SAMPLECOUNT,4,2                ; @SAMPLECOUNT
.subsections_via_symbols
