	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_array_new                  ## -- Begin function snd_array_new
	.p2align	4, 0x90
_snd_array_new:                         ## @snd_array_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rbx), %esi
	movl	8(%rbx), %r14d
	cmpl	%r14d, %esi
	jge	LBB0_2
LBB0_5:
	leal	1(%rsi), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_array_elem                 ## TAILCALL
LBB0_2:
	addl	12(%rbx), %r14d
	movl	(%rbx), %r15d
	xorl	%edi, %edi
	cmpl	$4096, %r14d                    ## imm = 0x1000
	setge	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	leal	1(%r14), %esi
	imull	%r15d, %esi
	movq	16(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_krealloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, 16(%rbx)
	movl	%r14d, 8(%rbx)
	movl	4(%rbx), %esi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_array_new                  ; -- Begin function snd_array_new
	.p2align	2
_snd_array_new:                         ; @snd_array_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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, #0
	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
LBB0_2:
	ldp	w1, w8, [x19, #4]
	cmp	w1, w8
	b.ge	LBB0_4
LBB0_3:
	add	w8, w1, #1
	str	w8, [x19, #4]
	mov	x0, x19
	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
	b	_snd_array_elem
LBB0_4:
	ldr	w9, [x19, #12]
	add	w20, w9, w8
	ldr	w21, [x19]
	cmp	w20, #4095
	cset	w0, gt
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_1
; %bb.5:
	madd	w1, w21, w20, w21
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
	ldr	x0, [x19, #16]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___GFP_ZERO@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___GFP_ZERO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_krealloc
	cbz	x0, LBB0_1
; %bb.6:
	str	x0, [x19, #16]
	str	w20, [x19, #8]
	ldr	w1, [x19, #4]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
.subsections_via_symbols
