	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plug_format_plugins    ## -- Begin function snd_pcm_plug_format_plugins
	.p2align	4, 0x90
_snd_pcm_plug_format_plugins:           ## @snd_pcm_plug_format_plugins
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	callq	_snd_pcm_plug_stream
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_params_channels
	movb	$1, %r12b
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_params_access
	movq	_SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%r12b
LBB0_2:
	cmpl	$129, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$128, %ebx
	jne	LBB0_12
## %bb.4:
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_params_format
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_params_rate
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_params_channels
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_params_format
	movq	%rax, %rbx
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	callq	_params_rate
	movq	%rax, %r14
	movq	%rax, -64(%rbp)
	movq	%r15, %rdi
	callq	_params_channels
	movl	%eax, %r15d
	movl	%eax, -72(%rbp)
	movq	_SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	testb	%r12b, %r12b
	jne	LBB0_6
## %bb.5:
	movq	_SNDRV_PCM_ACCESS_RW_NONINTERLEAVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%r13d, %r12d
	jmp	LBB0_10
LBB0_7:
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_params_format
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_params_rate
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_params_channels
	movl	%eax, -156(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	callq	_params_format
	movq	%rax, %rbx
	movq	%rax, -80(%rbp)
	movq	%r13, %rdi
	callq	_params_rate
	movq	%rax, %r14
	movq	%rax, -64(%rbp)
	movq	%r13, %rdi
	callq	_params_channels
	movl	%eax, %r15d
	movl	%eax, -72(%rbp)
	movq	_SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, %rax
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	testb	%r12b, %r12b
	jne	LBB0_9
## %bb.8:
	movq	_SNDRV_PCM_ACCESS_RW_NONINTERLEAVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_9:
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	-156(%rbp), %r12d               ## 4-byte Reload
LBB0_10:
	movq	-64(%rbp), %rax
	movq	%rax, -96(%rbp)
	movups	-80(%rbp), %xmm0
	movaps	%xmm0, -112(%rbp)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_pdprintf
	leaq	L_.str.1(%rip), %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_pdprintf
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rate_match
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movq	-144(%rbp), %r14                ## 8-byte Reload
	cmpl	%r12d, %r15d
	jg	LBB0_15
	jmp	LBB0_18
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_snd_BUG
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_53
LBB0_13:
	movq	%rbx, %rdi
	callq	_snd_pcm_format_linear
	testq	%rax, %rax
	movq	-144(%rbp), %r14                ## 8-byte Reload
	je	LBB0_32
## %bb.14:
	cmpl	%r12d, %r15d
	jle	LBB0_18
LBB0_15:
	movl	%r12d, -104(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_route
	movl	%eax, %ebx
	movl	-72(%rbp), %esi
	movl	-104(%rbp), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pdprintf
	testl	%ebx, %ebx
	js	LBB0_53
## %bb.16:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	js	LBB0_45
## %bb.17:
	movq	-96(%rbp), %rax
	movq	%rax, -64(%rbp)
	movaps	-112(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
LBB0_18:
	movq	-64(%rbp), %rdi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rate_match
	testl	%eax, %eax
	je	LBB0_25
LBB0_19:
	movq	-80(%rbp), %rdi
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %rdi
	je	LBB0_41
## %bb.20:
	movq	%rcx, -112(%rbp)
	movq	_SNDRV_PCM_FORMAT_MU_LAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdi
	je	LBB0_37
## %bb.21:
	cmpq	%rcx, %rax
	je	LBB0_37
## %bb.22:
	callq	_snd_pcm_format_linear
	testq	%rax, %rax
	je	LBB0_36
## %bb.23:
	movq	-112(%rbp), %rdi
	callq	_snd_pcm_format_linear
	testq	%rax, %rax
	je	LBB0_36
## %bb.24:
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_linear
	jmp	LBB0_38
LBB0_25:
	movq	_SNDRV_PCM_FORMAT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, -80(%rbp)
	je	LBB0_29
## %bb.26:
	movq	%rax, -112(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_linear
	testl	%eax, %eax
	js	LBB0_52
## %bb.27:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	js	LBB0_45
## %bb.28:
	movq	-96(%rbp), %rax
	movq	%rax, -64(%rbp)
	movaps	-112(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	-136(%rbp), %rbx                ## 8-byte Reload
LBB0_29:
	movq	%rbx, -96(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_rate
	movl	%eax, %ebx
	movl	-64(%rbp), %esi
	movq	-96(%rbp), %rdx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pdprintf
	testl	%ebx, %ebx
	js	LBB0_53
## %bb.30:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	js	LBB0_45
## %bb.31:
	movq	-96(%rbp), %rax
	movq	%rax, -64(%rbp)
	movaps	-112(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_19
LBB0_32:
	movq	_SNDRV_PCM_FORMAT_MU_LAW@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_36
## %bb.33:
	movq	_SNDRV_PCM_FORMAT_S16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_mulaw
	testl	%eax, %eax
	js	LBB0_52
## %bb.34:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	js	LBB0_45
## %bb.35:
	movaps	-112(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	-96(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	-72(%rbp), %r15d
	movq	-128(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	cmpl	%r12d, %r15d
	jg	LBB0_15
	jmp	LBB0_18
LBB0_36:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_53
LBB0_37:
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_mulaw
LBB0_38:
	movl	%eax, %ebx
	movl	-80(%rbp), %esi
	movq	-112(%rbp), %rdx
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pdprintf
	testl	%ebx, %ebx
	js	LBB0_53
## %bb.39:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	js	LBB0_45
## %bb.40:
	movq	-96(%rbp), %rax
	movq	%rax, -64(%rbp)
	movaps	-112(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
LBB0_41:
	cmpl	%r12d, -72(%rbp)
	jge	LBB0_46
## %bb.42:
	movl	%r12d, -104(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_route
	movl	%eax, %ebx
	movl	-72(%rbp), %esi
	movl	-104(%rbp), %edx
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pdprintf
	testl	%ebx, %ebx
	js	LBB0_53
## %bb.43:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	js	LBB0_45
## %bb.44:
	movq	-96(%rbp), %rax
	movq	%rax, -64(%rbp)
	movaps	-112(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_53
LBB0_45:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_free
	jmp	LBB0_53
LBB0_46:
	xorl	%ebx, %ebx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpl	-128(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_53
## %bb.47:
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_snd_pcm_plugin_build_copy
	movl	%eax, %r14d
	leaq	L_.str.6(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pdprintf
	testl	%r14d, %r14d
	js	LBB0_50
## %bb.48:
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_append
	testl	%eax, %eax
	jns	LBB0_53
## %bb.49:
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	callq	_snd_pcm_plugin_free
LBB0_50:
	movl	%r14d, %ebx
	jmp	LBB0_53
LBB0_52:
	movl	%eax, %ebx
LBB0_53:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_ACCESS_RW_INTERLEAVED,8,3 ## @SNDRV_PCM_ACCESS_RW_INTERLEAVED
	.comm	_SNDRV_PCM_ACCESS_RW_NONINTERLEAVED,8,3 ## @SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"srcformat: format=%i, rate=%i, channels=%i\n"

L_.str.1:                               ## @.str.1
	.asciz	"dstformat: format=%i, rate=%i, channels=%i\n"

	.comm	_SNDRV_PCM_FORMAT_MU_LAW,8,3    ## @SNDRV_PCM_FORMAT_MU_LAW
	.comm	_SNDRV_PCM_FORMAT_S16,8,3       ## @SNDRV_PCM_FORMAT_S16
L_.str.2:                               ## @.str.2
	.asciz	"channels reduction: src=%i, dst=%i returns %i\n"

L_.str.3:                               ## @.str.3
	.asciz	"rate down resampling: src=%i, dst=%i returns %i\n"

L_.str.4:                               ## @.str.4
	.asciz	"format change: src=%i, dst=%i returns %i\n"

L_.str.5:                               ## @.str.5
	.asciz	"channels extension: src=%i, dst=%i returns %i\n"

L_.str.6:                               ## @.str.6
	.asciz	"interleave change (copy: returns %i)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plug_format_plugins    ; -- Begin function snd_pcm_plug_format_plugins
	.p2align	2
_snd_pcm_plug_format_plugins:           ; @snd_pcm_plug_format_plugins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x2
	mov	x26, x1
	mov	x19, x0
	str	xzr, [sp, #24]
	bl	_snd_pcm_plug_stream
	mov	x20, x0
	mov	x0, x24
	bl	_params_channels
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.1:
	mov	w28, #1
	cmp	w20, #129
	b.eq	LBB0_5
LBB0_2:
	cmp	w20, #128
	b.ne	LBB0_19
; %bb.3:
	mov	x0, x24
	bl	_params_format
	mov	x21, x0
	mov	x0, x24
	bl	_params_rate
	mov	x22, x0
	mov	x0, x24
	bl	_params_channels
	mov	x20, x0
	mov	x0, x26
	bl	_params_format
	mov	x23, x0
	str	x0, [sp, #32]
	mov	x0, x26
	bl	_params_rate
	mov	x25, x0
	str	x0, [sp, #48]
	mov	x0, x26
	bl	_params_channels
	mov	x24, x0
	str	w0, [sp, #40]
Lloh0:
	adrp	x8, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGEOFF]
Lloh2:
	ldr	x27, [x8]
Lloh3:
	adrp	x8, _SNDRV_PCM_ACCESS_RW_NONINTERLEAVED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_PCM_ACCESS_RW_NONINTERLEAVED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w28, #0
	csel	x26, x27, x8, ne
	b	LBB0_6
LBB0_4:
	mov	x0, x24
	bl	_params_access
Lloh6:
	adrp	x8, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w28, eq
	cmp	w20, #129
	b.ne	LBB0_2
LBB0_5:
	mov	x0, x26
	bl	_params_format
	mov	x21, x0
	mov	x0, x26
	bl	_params_rate
	mov	x22, x0
	mov	x0, x26
	bl	_params_channels
	mov	x20, x0
	mov	x0, x24
	bl	_params_format
	mov	x23, x0
	str	x0, [sp, #32]
	mov	x0, x24
	bl	_params_rate
	mov	x25, x0
	str	x0, [sp, #48]
	mov	x0, x24
	bl	_params_channels
	mov	x24, x0
	str	w0, [sp, #40]
Lloh9:
	adrp	x8, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGEOFF]
Lloh11:
	ldr	x26, [x8]
Lloh12:
	adrp	x8, _SNDRV_PCM_ACCESS_RW_NONINTERLEAVED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SNDRV_PCM_ACCESS_RW_NONINTERLEAVED@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	w28, #0
	csel	x27, x26, x8, ne
LBB0_6:
	ldr	q0, [sp, #32]
	str	q0, [sp, #64]
	ldr	x8, [sp, #48]
	str	x8, [sp, #80]
	stp	x25, x24, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_pdprintf
	stp	x22, x20, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_pdprintf
	mov	x0, x25
	mov	x1, x22
	bl	_rate_match
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x23
	bl	_snd_pcm_format_linear
	cbz	x0, LBB0_28
LBB0_8:
	cmp	w24, w20
	b.le	LBB0_12
LBB0_9:
	str	w20, [sp, #72]
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_route
	mov	x23, x0
	ldr	w1, [sp, #40]
	ldr	w8, [sp, #72]
	stp	x8, x23, [sp]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pdprintf
	tbnz	w23, #31, LBB0_40
; %bb.10:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
; %bb.11:
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
	mov	x27, x26
LBB0_12:
	ldr	x0, [sp, #48]
	mov	x1, x22
	bl	_rate_match
	cbz	w0, LBB0_21
LBB0_13:
	ldr	x0, [sp, #32]
	cmp	x0, x21
	b.eq	LBB0_36
; %bb.14:
	str	x21, [sp, #64]
Lloh21:
	adrp	x8, _SNDRV_PCM_FORMAT_MU_LAW@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_MU_LAW@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_32
; %bb.15:
	cmp	x8, x21
	b.eq	LBB0_32
; %bb.16:
	bl	_snd_pcm_format_linear
	cbz	x0, LBB0_20
; %bb.17:
	ldr	x0, [sp, #64]
	bl	_snd_pcm_format_linear
	cbz	x0, LBB0_20
; %bb.18:
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_linear
	b	LBB0_33
LBB0_19:
	bl	_snd_BUG
LBB0_20:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_47
LBB0_21:
	ldr	x9, [sp, #32]
Lloh27:
	adrp	x8, _SNDRV_PCM_FORMAT_S16@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_S16@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_25
; %bb.22:
	str	x8, [sp, #64]
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_linear
	tbnz	w0, #31, LBB0_46
; %bb.23:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
; %bb.24:
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
LBB0_25:
	str	x22, [sp, #80]
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_rate
	mov	x23, x0
	ldr	w1, [sp, #48]
	ldr	x8, [sp, #80]
	stp	x8, x23, [sp]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pdprintf
	tbnz	w23, #31, LBB0_40
; %bb.26:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
; %bb.27:
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
	mov	x27, x26
	b	LBB0_13
LBB0_28:
Lloh32:
	adrp	x8, _SNDRV_PCM_FORMAT_MU_LAW@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_MU_LAW@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_20
; %bb.29:
Lloh35:
	adrp	x8, _SNDRV_PCM_FORMAT_S16@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_S16@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [sp, #64]
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_mulaw
	tbnz	w0, #31, LBB0_46
; %bb.30:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
; %bb.31:
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
	ldr	w24, [sp, #40]
	mov	x27, x26
	cmp	w24, w20
	b.gt	LBB0_9
	b	LBB0_12
LBB0_32:
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_mulaw
LBB0_33:
	mov	x23, x0
	ldr	w1, [sp, #32]
	ldr	x8, [sp, #64]
	stp	x8, x23, [sp]
Lloh38:
	adrp	x0, l_.str.4@PAGE
Lloh39:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pdprintf
	tbnz	w23, #31, LBB0_47
; %bb.34:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
; %bb.35:
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
	mov	x27, x26
LBB0_36:
	ldr	w8, [sp, #40]
	cmp	w8, w20
	b.ge	LBB0_41
; %bb.37:
	str	w20, [sp, #72]
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_route
	mov	x23, x0
	ldr	w1, [sp, #40]
	ldr	w8, [sp, #72]
	stp	x8, x23, [sp]
Lloh40:
	adrp	x0, l_.str.5@PAGE
Lloh41:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pdprintf
	tbnz	w23, #31, LBB0_40
; %bb.38:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
; %bb.39:
	mov	w23, #0
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
	b	LBB0_47
LBB0_40:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_47
LBB0_41:
	cmp	w27, w26
	b.eq	LBB0_44
; %bb.42:
	add	x1, sp, #32
	add	x2, sp, #64
	add	x3, sp, #24
	mov	x0, x19
	bl	_snd_pcm_plugin_build_copy
	mov	x23, x0
Lloh42:
	adrp	x0, l_.str.6@PAGE
Lloh43:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x23
	bl	_pdprintf
	tbnz	w23, #31, LBB0_47
; %bb.43:
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_append
	tbnz	w0, #31, LBB0_45
LBB0_44:
	mov	w23, #0
	b	LBB0_47
LBB0_45:
	mov	x23, x0
	ldr	x0, [sp, #24]
	bl	_snd_pcm_plugin_free
	b	LBB0_47
LBB0_46:
	mov	x23, x0
LBB0_47:
	mov	x0, x23
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_ACCESS_RW_INTERLEAVED,8,3 ; @SNDRV_PCM_ACCESS_RW_INTERLEAVED
	.comm	_SNDRV_PCM_ACCESS_RW_NONINTERLEAVED,8,3 ; @SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"srcformat: format=%i, rate=%i, channels=%i\n"

l_.str.1:                               ; @.str.1
	.asciz	"dstformat: format=%i, rate=%i, channels=%i\n"

	.comm	_SNDRV_PCM_FORMAT_MU_LAW,8,3    ; @SNDRV_PCM_FORMAT_MU_LAW
	.comm	_SNDRV_PCM_FORMAT_S16,8,3       ; @SNDRV_PCM_FORMAT_S16
l_.str.2:                               ; @.str.2
	.asciz	"channels reduction: src=%i, dst=%i returns %i\n"

l_.str.3:                               ; @.str.3
	.asciz	"rate down resampling: src=%i, dst=%i returns %i\n"

l_.str.4:                               ; @.str.4
	.asciz	"format change: src=%i, dst=%i returns %i\n"

l_.str.5:                               ; @.str.5
	.asciz	"channels extension: src=%i, dst=%i returns %i\n"

l_.str.6:                               ; @.str.6
	.asciz	"interleave change (copy: returns %i)\n"

.subsections_via_symbols
