	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au1xpsc_pcm_hw_params
_au1xpsc_pcm_hw_params:                 ## @au1xpsc_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	%rsi, %rdi
	callq	_params_buffer_bytes
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_pcm_lib_malloc_pages
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_SUBSTREAM_TYPE
	movq	_au1xpsc_audio_pcmdma@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %r12
	movq	(%rcx,%r12,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rsi
	movq	8(%r15), %rdx
	movl	16(%r15), %ecx
	movl	(%r15), %r8d
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_params_periods
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_params_period_bytes
	leaq	L_.str.1(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%eax, %ecx
	movl	%r12d, %r8d
	callq	_DBG
	movq	(%r13), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_au1x_pcm_dbdma_realloc
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_MSG
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, 56(%rbx)
	movq	%r13, %rdi
	callq	_params_period_bytes
	movl	%eax, 48(%rbx)
	movq	%r13, %rdi
	callq	_params_periods
	movq	%rax, (%rbx)
	movq	8(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_au1xpsc_audio_pcmdma,8,3       ## @au1xpsc_audio_pcmdma
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dma_size = %d runtime->min_align %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"bits %d  frags %d  frag_bytes %d  is_rx %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"DDMA channel (re)alloc failed!\n"

	.no_dead_strip	_au1xpsc_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 au1xpsc_pcm_hw_params
_au1xpsc_pcm_hw_params:                 ; @au1xpsc_pcm_hw_params
	.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
	ldr	x25, [x0]
	mov	x0, x1
	bl	_params_buffer_bytes
	mov	x1, x0
	mov	x0, x20
	bl	_snd_pcm_lib_malloc_pages
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_SUBSTREAM_TYPE
	mov	x22, x0
Lloh0:
	adrp	x8, _au1xpsc_audio_pcmdma@GOTPAGE
Lloh1:
	ldr	x8, [x8, _au1xpsc_audio_pcmdma@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x21, [x8, w0, sxtw #3]
	ldr	x1, [x25, #24]
	ldr	x2, [x25, #8]
	ldr	w3, [x25, #16]
	ldr	w4, [x25]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	x23, [x19]
	mov	x0, x19
	bl	_params_periods
	mov	x24, x0
	mov	x0, x19
	bl	_params_period_bytes
	mov	x3, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x2, x24
	mov	x4, x22
	bl	_DBG
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_au1x_pcm_dbdma_realloc
	mov	x22, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_MSG
	b	LBB0_5
LBB0_3:
	mov	x22, x0
	b	LBB0_5
LBB0_4:
	str	x20, [x21, #56]
	mov	x0, x19
	bl	_params_period_bytes
	str	w0, [x21, #48]
	mov	x0, x19
	bl	_params_periods
	ldr	x8, [x25, #8]
	stp	x0, x8, [x21]
	stp	xzr, xzr, [x21, #32]
	stp	x8, xzr, [x21, #16]
LBB0_5:
	mov	x0, x22
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_au1xpsc_audio_pcmdma,8,3       ; @au1xpsc_audio_pcmdma
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dma_size = %d runtime->min_align %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"bits %d  frags %d  frag_bytes %d  is_rx %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"DDMA channel (re)alloc failed!\n"

	.no_dead_strip	_au1xpsc_pcm_hw_params
.subsections_via_symbols
