	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu10k1_synth_bzero        ## -- Begin function snd_emu10k1_synth_bzero
	.p2align	4, 0x90
_snd_emu10k1_synth_bzero:               ## @snd_emu10k1_synth_bzero
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	decl	%r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	andl	(%rsi), %r15d
	addl	%edx, %r15d
	addl	%r15d, %r12d
	movl	%r15d, %edi
	callq	_get_aligned_page
	movslq	%eax, %r14
	leal	1(%r14), %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	incq	%r14
	movl	%r13d, %r15d
	cmpl	%r12d, %r13d
	jge	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_aligned_page_offset
	movl	%eax, %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	addq	%r14, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_offset_ptr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r13d, %r12d
	movl	%r13d, %edx
	cmovll	%r12d, %edx
	subl	%r15d, %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu10k1_synth_bzero        ; -- Begin function snd_emu10k1_synth_bzero
	.p2align	2
_snd_emu10k1_synth_bzero:               ; @snd_emu10k1_synth_bzero
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x1]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
	and	w8, w8, w9
	add	w22, w8, w2
	add	w24, w22, w3
	mov	x0, x22
	bl	_get_aligned_page
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w0
	add	w21, w0, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #1
	add	x25, x25, #1
	mov	x22, x23
	cmp	w23, w24
	b.ge	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_aligned_page_offset
	mov	x23, x0
	ldr	x8, [x19]
	add	x1, x25, x8
	mov	x0, x20
	mov	x2, x22
	bl	_offset_ptr
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w24, w23
	csel	w8, w24, w23, lt
	sub	w2, w8, w22
	mov	w1, #0
	bl	_memset
	b	LBB0_1
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
