	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_lib_preallocate_pages1
_snd_pcm_lib_preallocate_pages1:        ## @snd_pcm_lib_preallocate_pages1
	.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
	movq	%rdx, %r14
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	_preallocate_dma@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movq	_maximum_substreams@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_preallocate_pcm_pages
LBB0_4:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_6
## %bb.5:
	movq	%rax, 8(%rbx)
LBB0_6:
	movq	%r14, 16(%rbx)
	movq	%rbx, %rdi
	callq	_preallocate_info_init
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_preallocate_dma,8,3            ## @preallocate_dma
	.comm	_maximum_substreams,8,3         ## @maximum_substreams
	.no_dead_strip	_snd_pcm_lib_preallocate_pages1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_lib_preallocate_pages1
_snd_pcm_lib_preallocate_pages1:        ; @snd_pcm_lib_preallocate_pages1
	.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	x20, x2
	mov	x19, x0
	cbz	x1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _preallocate_dma@GOTPAGE
Lloh1:
	ldr	x8, [x8, _preallocate_dma@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _maximum_substreams@GOTPAGE
Lloh4:
	ldr	x9, [x9, _maximum_substreams@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_preallocate_pcm_pages
LBB0_4:
	ldr	x8, [x19, #24]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	str	x8, [x19, #8]
LBB0_6:
	str	x20, [x19, #16]
	mov	x0, x19
	bl	_preallocate_info_init
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_preallocate_dma,8,3            ; @preallocate_dma
	.comm	_maximum_substreams,8,3         ; @maximum_substreams
	.no_dead_strip	_snd_pcm_lib_preallocate_pages1
.subsections_via_symbols
