	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aaci_pcm_playback_hw_params
_aaci_pcm_playback_hw_params:           ## @aaci_pcm_playback_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, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r14
	movq	%rsi, %rdi
	callq	_params_channels
	movl	%eax, %ebx
	movq	_channels_to_txmask@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movl	$1, %edi
	movl	%ebx, %ecx
	cmpl	%eax, %ebx
	jae	LBB0_2
## %bb.1:
	movq	(%r13), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax,%rcx,4)
	sete	%dil
LBB0_2:
	movq	%rcx, %rbx
	callq	_WARN_ON
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_aaci_pcm_hw_params
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	_CR_FEN@GOTPCREL(%rip), %rcx
	movq	_CR_COMPACT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_CR_SZ16@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	%esi, (%r14)
	movq	(%r13), %rcx
	orl	(%rcx,%rbx,4), %esi
	movl	%esi, (%r14)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	leal	(,%rcx,4), %edi
	movl	%edi, 4(%r14)
	testl	%esi, (%rdx)
	je	LBB0_5
## %bb.4:
	addl	%ecx, %ecx
	movl	%ecx, 4(%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_channels_to_txmask,8,3         ## @channels_to_txmask
	.comm	_CR_FEN,4,2                     ## @CR_FEN
	.comm	_CR_COMPACT,4,2                 ## @CR_COMPACT
	.comm	_CR_SZ16,4,2                    ## @CR_SZ16
	.no_dead_strip	_aaci_pcm_playback_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aaci_pcm_playback_hw_params
_aaci_pcm_playback_hw_params:           ; @aaci_pcm_playback_hw_params
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x22, x0
	ldp	x8, x23, [x0]
	ldr	x19, [x8]
	mov	x0, x1
	bl	_params_channels
	mov	x20, x0
Lloh0:
	adrp	x24, _channels_to_txmask@GOTPAGE
Lloh1:
	ldr	x24, [x24, _channels_to_txmask@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	b.hs	LBB0_2
; %bb.1:
	ldr	x8, [x24]
	ldr	w8, [x8, w20, uxtw #2]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_WARN_ON
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_aaci_pcm_hw_params
	tbnz	w0, #31, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _CR_FEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CR_FEN@GOTPAGEOFF]
Lloh4:
	adrp	x9, _CR_COMPACT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CR_COMPACT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w10, [x9]
	orr	w8, w10, w8
Lloh7:
	adrp	x10, _CR_SZ16@GOTPAGE
Lloh8:
	ldr	x10, [x10, _CR_SZ16@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x19]
	ldr	x10, [x24]
	ldr	w10, [x10, w20, uxtw #2]
	orr	w10, w10, w8
	ldr	w8, [x23]
	lsl	w11, w8, #2
	stp	w10, w11, [x19]
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_6
; %bb.5:
	lsl	w8, w8, #1
	str	w8, [x19, #4]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_channels_to_txmask,8,3         ; @channels_to_txmask
	.comm	_CR_FEN,4,2                     ; @CR_FEN
	.comm	_CR_COMPACT,4,2                 ; @CR_COMPACT
	.comm	_CR_SZ16,4,2                    ; @CR_SZ16
	.no_dead_strip	_aaci_pcm_playback_hw_params
.subsections_via_symbols
