	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plugin_build_mulaw     ## -- Begin function snd_pcm_plugin_build_mulaw
	.p2align	4, 0x90
_snd_pcm_plugin_build_mulaw:            ## @snd_pcm_plugin_build_mulaw
	.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	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%edi, %edi
	testq	%rcx, %rcx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	$0, (%r13)
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setne	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	8(%r14), %rax
	setne	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_SNDRV_PCM_FORMAT_MU_LAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 16(%r14)
	jne	LBB0_5
## %bb.4:
	movq	_mulaw_encode@GOTPCREL(%rip), %rax
	movq	%r15, %rbx
	jmp	LBB0_7
LBB0_5:
	cmpq	%rax, 16(%r15)
	jne	LBB0_13
## %bb.6:
	movq	_mulaw_decode@GOTPCREL(%rip), %rax
	movq	%r14, %rbx
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %rdi
	callq	_snd_pcm_format_linear
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %r9
	movq	%r12, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	$4, %r8d
	callq	_snd_pcm_plugin_build
	testl	%eax, %eax
	js	LBB0_14
## %bb.12:
	movq	-56(%rbp), %rax
	movq	8(%rax), %rdi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rdi)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	callq	_init_data
	movq	_mulaw_transfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	%rcx, (%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_13:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_snd_BUG
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_14:
	movl	%eax, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_SNDRV_PCM_FORMAT_MU_LAW,8,3    ## @SNDRV_PCM_FORMAT_MU_LAW
	.comm	_mulaw_encode,4,2               ## @mulaw_encode
	.comm	_mulaw_decode,4,2               ## @mulaw_decode
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mu-Law<->linear conversion"

	.comm	_mulaw_transfer,4,2             ## @mulaw_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plugin_build_mulaw     ; -- Begin function snd_pcm_plugin_build_mulaw
	.p2align	2
_snd_pcm_plugin_build_mulaw:            ; @snd_pcm_plugin_build_mulaw
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cmp	x3, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_8
; %bb.1:
	str	xzr, [x19]
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, ne
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	cset	w0, ne
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_8
; %bb.3:
	ldr	x9, [x20, #16]
Lloh0:
	adrp	x8, _SNDRV_PCM_FORMAT_MU_LAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_FORMAT_MU_LAW@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _mulaw_encode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mulaw_encode@GOTPAGEOFF]
	mov	x23, x21
	b	LBB0_7
LBB0_5:
	ldr	x9, [x21, #16]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.6:
Lloh5:
	adrp	x8, _mulaw_decode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mulaw_decode@GOTPAGEOFF]
	mov	x23, x20
LBB0_7:
	ldr	w24, [x8]
	ldr	x0, [x23, #16]
	bl	_snd_pcm_format_linear
	cmp	w0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_11
LBB0_8:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
LBB0_11:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	w4, #4
	bl	_snd_pcm_plugin_build
	tbnz	w0, #31, LBB0_10
; %bb.12:
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #8]
	str	w24, [x0]
	ldr	x1, [x23, #16]
	bl	_init_data
	mov	w0, #0
Lloh11:
	adrp	x8, _mulaw_transfer@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mulaw_transfer@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9]
	str	x9, [x19]
	b	LBB0_10
LBB0_13:
	bl	_snd_BUG
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_SNDRV_PCM_FORMAT_MU_LAW,8,3    ; @SNDRV_PCM_FORMAT_MU_LAW
	.comm	_mulaw_encode,4,2               ; @mulaw_encode
	.comm	_mulaw_decode,4,2               ; @mulaw_decode
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mu-Law<->linear conversion"

	.comm	_mulaw_transfer,4,2             ; @mulaw_transfer
.subsections_via_symbols
