	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_m3_remove_list
_snd_m3_remove_list:                    ## @snd_m3_remove_list
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movslq	(%rsi), %rbx
	decq	%rbx
	cmpl	%edx, %ebx
	je	LBB0_2
## %bb.1:
	movl	%edx, %r12d
	movq	_MEMTYPE_INTERNAL_DATA@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movslq	%ebx, %rbx
	movq	8(%r14), %rdx
	addq	%rbx, %rdx
	movq	%r15, %rdi
	callq	_snd_m3_assp_read
	movl	(%r13), %esi
	movslq	%r12d, %rdx
	addq	8(%r14), %rdx
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_snd_m3_assp_write
LBB0_2:
	movq	_MEMTYPE_INTERNAL_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	8(%r14), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_snd_m3_assp_write
	decl	(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMTYPE_INTERNAL_DATA,4,2      ## @MEMTYPE_INTERNAL_DATA
	.no_dead_strip	_snd_m3_remove_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_m3_remove_list
_snd_m3_remove_list:                    ; @snd_m3_remove_list
	.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	x19, x1
	mov	x20, x0
	ldrsw	x8, [x1]
	sub	x22, x8, #1
Lloh0:
	adrp	x23, _MEMTYPE_INTERNAL_DATA@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MEMTYPE_INTERNAL_DATA@GOTPAGEOFF]
	cmp	w22, w2
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x2
	ldr	w1, [x23]
	ldr	x8, [x19, #8]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x22, w22
	add	x2, x8, x22
	mov	x0, x20
	bl	_snd_m3_assp_read
	mov	x3, x0
	ldr	w1, [x23]
	ldr	x8, [x19, #8]
	add	x2, x8, w21, sxtw
	mov	x0, x20
	bl	_snd_m3_assp_write
LBB0_2:
	ldr	w1, [x23]
	ldr	x8, [x19, #8]
	add	x2, x8, x22
	mov	x0, x20
	mov	w3, #0
	bl	_snd_m3_assp_write
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMTYPE_INTERNAL_DATA,4,2      ; @MEMTYPE_INTERNAL_DATA
	.no_dead_strip	_snd_m3_remove_list
.subsections_via_symbols
