	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pcm_copy_in
LCPI0_0:
	.space	16,128
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pcm_copy_in:                           ## @pcm_copy_in
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_DBGPV
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_ASSERT
	testl	%r15d, %r15d
	setg	%al
	testb	$31, %r15b
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_ASSERT
	movl	%r14d, %eax
	orl	%r12d, %eax
	xorl	%edi, %edi
	testb	$31, %al
	sete	%dil
	callq	_ASSERT
	xorl	%r13d, %r13d
	movl	$0, %edi
	testl	%r12d, %r12d
	js	LBB0_2
## %bb.1:
	leal	(%r15,%r12), %eax
	xorl	%edi, %edi
	cmpl	20(%rbx), %eax
	setle	%dil
LBB0_2:
	movslq	%r14d, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %r12
	callq	_ASSERT
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.3:
	addl	%r15d, %r14d
	xorl	%r13d, %r13d
	cmpl	24(%rbx), %r14d
	setle	%r13b
LBB0_4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r14
	movl	%r13d, %edi
	callq	_ASSERT
	movq	_AFMT_MU_LAW@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	je	LBB0_7
## %bb.5:
	movq	_AFMT_A_LAW@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_7
## %bb.6:
	movq	_AFMT_S8@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_7
## %bb.29:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_7:
	testl	%r15d, %r15d
	jle	LBB0_28
## %bb.8:
	movslq	%r15d, %r9
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	leaq	(%r11,%r9), %r10
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	%rdi, %r10
	leaq	(%r11,%rdi), %rax
	incq	%rax
	cmpq	%rax, %r10
	cmovbeq	%rax, %r10
	leaq	(%r11,%rdi), %rax
	subq	%rax, %r10
	cmpq	$8, %r10
	jb	LBB0_9
## %bb.10:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	%r12, %rcx
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jae	LBB0_11
LBB0_9:
	movq	%rbx, %rsi
LBB0_25:
	movq	%r14, %rdi
LBB0_26:
	addq	%r9, %rbx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %eax
	incq	%rsi
	addb	$-128, %al
	movb	%al, (%rdi)
	incq	%rdi
	cmpq	%rbx, %rsi
	jb	LBB0_27
LBB0_28:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpq	$32, %r10
	jae	LBB0_16
## %bb.12:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_16:
	movq	%r10, %rdx
	andq	$-32, %rdx
	leaq	-32(%rdx), %rax
	movq	%rax, %r8
	shrq	$5, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%r8, %rsi
	andq	$-2, %rsi
	leaq	(%rdi,%r11), %rax
	addq	$48, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	%r12, %rcx
	addq	$48, %rcx
	xorl	%edi, %edi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movups	-48(%rax,%rdi), %xmm1
	movups	-32(%rax,%rdi), %xmm2
	xorps	%xmm0, %xmm1
	xorps	%xmm0, %xmm2
	movups	%xmm1, -48(%rcx,%rdi)
	movups	%xmm2, -32(%rcx,%rdi)
	movups	-16(%rax,%rdi), %xmm1
	movups	(%rax,%rdi), %xmm2
	xorps	%xmm0, %xmm1
	xorps	%xmm0, %xmm2
	movups	%xmm1, -16(%rcx,%rdi)
	movups	%xmm2, (%rcx,%rdi)
	addq	$64, %rdi
	addq	$-2, %rsi
	jne	LBB0_19
	jmp	LBB0_20
LBB0_17:
	xorl	%edi, %edi
LBB0_20:
	testb	$1, %r8b
	je	LBB0_22
## %bb.21:
	movups	(%rbx,%rdi), %xmm0
	movups	16(%rbx,%rdi), %xmm1
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
	xorps	%xmm2, %xmm0
	xorps	%xmm2, %xmm1
	movups	%xmm0, (%r14,%rdi)
	movups	%xmm1, 16(%r14,%rdi)
LBB0_22:
	cmpq	%rdx, %r10
	je	LBB0_28
## %bb.23:
	testb	$24, %r10b
	je	LBB0_24
LBB0_13:
	movq	%r10, %rax
	andq	$-8, %rax
	leaq	(%rbx,%rax), %rsi
	leaq	(%r14,%rax), %rdi
	movabsq	$-9187201950435737472, %r8      ## imm = 0x8080808080808080
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rdx), %rcx
	xorq	%r8, %rcx
	movq	%rcx, (%r14,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_14
## %bb.15:
	cmpq	%rax, %r10
	jne	LBB0_26
	jmp	LBB0_28
LBB0_24:
	addq	%rdx, %r14
	addq	%rbx, %rdx
	movq	%rdx, %rsi
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"swidx = %d, hwidx = %d\n"

	.comm	_AFMT_MU_LAW,4,2                ## @AFMT_MU_LAW
	.comm	_AFMT_A_LAW,4,2                 ## @AFMT_A_LAW
	.comm	_AFMT_S8,4,2                    ## @AFMT_S8
	.no_dead_strip	_pcm_copy_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_copy_in
_pcm_copy_in:                           ; @pcm_copy_in
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	sxtw	x25, w22
	ldp	x24, x26, [x0]
	sxtw	x27, w19
	ldr	w28, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBGPV
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w0, ne
	bl	_ASSERT
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_ASSERT
	tst	w21, #0x1f
	ccmp	w21, #0, #4, eq
	cset	w0, gt
	bl	_ASSERT
	orr	w8, w22, w19
	tst	w8, #0x1f
	cset	w0, eq
	bl	_ASSERT
	tbnz	w19, #31, LBB0_2
; %bb.1:
	ldr	w8, [x23, #20]
	add	w9, w21, w19
	cmp	w9, w8
	cset	w0, le
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	add	x20, x24, x25
	add	x19, x26, x27
	bl	_ASSERT
	tbnz	w22, #31, LBB0_5
; %bb.4:
	ldr	w8, [x23, #24]
	add	w9, w21, w22
	cmp	w9, w8
	cset	w0, le
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	bl	_ASSERT
Lloh2:
	adrp	x8, _AFMT_MU_LAW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AFMT_MU_LAW@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _AFMT_A_LAW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AFMT_A_LAW@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _AFMT_S8@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AFMT_S8@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w28, w8
	ccmp	w28, w9, #4, ne
	ccmp	w28, w10, #4, ne
	b.ne	LBB0_10
; %bb.7:
	cmp	w21, #1
	b.lt	LBB0_24
; %bb.8:
	sxtw	x8, w21
	add	x9, x24, x8
	add	x9, x9, x25
	add	x10, x24, x25
	add	x11, x10, #1
	cmp	x9, x11
	csinc	x9, x9, x10, hi
	sub	x9, x9, x10
	cmp	x9, #8
	b.hs	LBB0_11
; %bb.9:
	mov	x10, x20
	b	LBB0_22
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_memcpy
LBB0_11:
	add	x11, x26, x27
	sub	x11, x11, x10
	mov	x10, x20
	cmp	x11, #64
	b.lo	LBB0_22
; %bb.12:
	cmp	x9, #64
	b.hs	LBB0_14
; %bb.13:
	mov	x11, #0
	b	LBB0_18
LBB0_14:
	and	x11, x9, #0xffffffffffffffc0
	add	x10, x25, x24
	add	x10, x10, #32
	add	x12, x27, x26
	add	x12, x12, #32
	movi.16b	v0, #128
	mov	x13, x11
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x10, #-32]
	ldp	q3, q4, [x10], #64
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x13, x13, #64
	b.ne	LBB0_15
; %bb.16:
	cmp	x9, x11
	b.eq	LBB0_24
; %bb.17:
	tst	x9, #0x38
	b.eq	LBB0_21
LBB0_18:
	and	x12, x9, #0xfffffffffffffff8
	add	x10, x20, x12
	add	x19, x19, x12
	add	x13, x11, x27
	add	x13, x26, x13
	add	x14, x11, x25
	add	x14, x24, x14
	sub	x11, x11, x12
	movi.8b	v0, #128
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x14], #8
	eor.8b	v1, v1, v0
	str	d1, [x13], #8
	adds	x11, x11, #8
	b.ne	LBB0_19
; %bb.20:
	cmp	x9, x12
	b.ne	LBB0_22
	b	LBB0_24
LBB0_21:
	add	x19, x19, x11
	add	x10, x20, x11
LBB0_22:
	add	x8, x20, x8
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x10], #1
	eor	w9, w9, #0x80
	strb	w9, [x19], #1
	cmp	x10, x8
	b.lo	LBB0_23
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"swidx = %d, hwidx = %d\n"

	.comm	_AFMT_MU_LAW,4,2                ; @AFMT_MU_LAW
	.comm	_AFMT_A_LAW,4,2                 ; @AFMT_A_LAW
	.comm	_AFMT_S8,4,2                    ; @AFMT_S8
	.no_dead_strip	_pcm_copy_in
.subsections_via_symbols
