	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdl_sound_callback
_sdl_sound_callback:                    ## @sdl_sound_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, %rdi
	movq	_sdl_sound@GOTPCREL(%rip), %r14
	cmpl	%edx, (%r14)
	jge	LBB0_1
## %bb.4:
	xorl	%esi, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_1:
	movq	8(%r14), %rsi
	movl	%ebx, %edx
	callq	_memcpy
	leal	(%rbx,%rbx), %eax
	movl	(%r14), %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subl	%ebx, %edx
	cmpl	%eax, %edx
	jg	LBB0_2
## %bb.3:
	movl	%edx, (%r14)
	movq	8(%r14), %rdi
	movq	16(%r14), %rsi
	movslq	%edx, %rax
	shlq	$2, %rax
	subq	%rax, %rsi
	callq	_memcpy
	movslq	(%r14), %rax
	shlq	$2, %rax
	addq	8(%r14), %rax
	movq	%rax, 16(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sdl_sound,24,3                 ## @sdl_sound
	.no_dead_strip	_sdl_sound_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdl_sound_callback
_sdl_sound_callback:                    ; @sdl_sound_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x0, x1
Lloh0:
	adrp	x20, _sdl_sound@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sdl_sound@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, w2
	b.ge	LBB0_2
; %bb.1:
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
LBB0_2:
	ldr	x1, [x20, #8]
	mov	x2, x19
	bl	_memcpy
	lsl	w8, w19, #1
	ldr	w2, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w2, w2, w19
	cmp	w2, w8
	b.gt	LBB0_3
; %bb.4:
	str	w2, [x20]
	ldp	x0, x8, [x20, #8]
	sub	x1, x8, w2, sxtw #2
	bl	_memcpy
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #2
	str	x8, [x20, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sdl_sound,24,3                 ; @sdl_sound
	.no_dead_strip	_sdl_sound_callback
.subsections_via_symbols
