	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___snd_util_memblk_new          ## -- Begin function __snd_util_memblk_new
	.p2align	4, 0x90
___snd_util_memblk_new:                 ## @__snd_util_memblk_new
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	16(%rdi), %rdi
	addq	$12, %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	8(%r12), %rax
	cmpq	%r15, %rax
	je	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	callq	_get_memblk
	movl	4(%rax), %ecx
	addl	(%rax), %ecx
	jmp	LBB0_4
LBB0_2:
	xorl	%ecx, %ecx
LBB0_4:
	movl	%ecx, (%rbx)
	movl	%r14d, 4(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_list_add
	incl	4(%r12)
	addl	%r14d, (%r12)
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___snd_util_memblk_new          ; -- Begin function __snd_util_memblk_new
	.p2align	2
___snd_util_memblk_new:                 ; @__snd_util_memblk_new
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	add	x0, x8, #12
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.1:
	add	x8, x19, #8
	cmp	x8, x22
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_get_memblk
	ldp	w8, w9, [x0]
	add	w8, w9, w8
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	stp	w8, w20, [x21]
	add	x0, x21, #8
	mov	x1, x22
	bl	_list_add
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w20
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
