	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txx9aclc_pcm_hw_params
_txx9aclc_pcm_hw_params:                ## @txx9aclc_pcm_hw_params
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_snd_pcm_substream_chip
	movq	(%rax), %r12
	movq	8(%r13), %rbx
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_params_buffer_bytes
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_snd_pcm_lib_malloc_pages
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r12), %edi
	movq	16(%rbx), %rdx
	movq	8(%rbx), %rcx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%r12), %r12d
	movq	%r14, %rdi
	callq	_params_periods
	movslq	%eax, %rbx
	movq	%r14, %rdi
	callq	_params_period_bytes
	movslq	%eax, %rcx
	movl	(%r13), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, 8(%rax)
	movq	$0, (%rax)
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"runtime->dma_area = %#lx dma_addr = %#lx dma_bytes = %zd runtime->min_align %ld\n"

L_.str.1:                               ## @.str.1
	.asciz	"periods %d period_bytes %d stream %d\n"

	.no_dead_strip	_txx9aclc_pcm_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txx9aclc_pcm_hw_params
_txx9aclc_pcm_hw_params:                ; @txx9aclc_pcm_hw_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_snd_pcm_substream_chip
	ldr	x21, [x0]
	ldr	x22, [x19, #8]
	ldr	x23, [x22, #24]
	mov	x0, x20
	bl	_params_buffer_bytes
	mov	x1, x0
	mov	x0, x19
	bl	_snd_pcm_lib_malloc_pages
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldp	x3, x2, [x22, #8]
	ldp	w8, w4, [x22]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	str	x8, [sp]
	bl	_dev_dbg
	ldr	w21, [x21]
	mov	x0, x20
	bl	_params_periods
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	mov	x0, x20
	bl	_params_period_bytes
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	ldr	w4, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_dbg
	mov	w0, #0
	stp	xzr, x19, [x23]
LBB0_2:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"runtime->dma_area = %#lx dma_addr = %#lx dma_bytes = %zd runtime->min_align %ld\n"

l_.str.1:                               ; @.str.1
	.asciz	"periods %d period_bytes %d stream %d\n"

	.no_dead_strip	_txx9aclc_pcm_hw_params
.subsections_via_symbols
