	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_area_copy              ## -- Begin function snd_pcm_area_copy
	.p2align	4, 0x90
_snd_pcm_area_copy:                     ## @snd_pcm_area_copy
	.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	%r8, %r14
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_19
## %bb.1:
	movq	(%rdx), %r13
	xorl	%r12d, %r12d
	testq	%r13, %r13
	je	LBB0_18
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %rax
	imulq	16(%rdi), %rbx
	addq	8(%rdi), %rbx
	imulq	16(%rdx), %rcx
	addq	8(%rdx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%r9d, %edi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_snd_pcm_format_physical_width
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	shrq	$3, %rbx
	addq	%rbx, %r15
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	shrq	$3, %rcx
	addq	%rcx, %r13
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	16(%rsi), %rdx
	movl	%eax, %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %r8
	cmpq	%rcx, %rdx
	movq	%rdi, %rcx
	jne	LBB0_8
## %bb.5:
	cmpl	$8, %eax
	jb	LBB0_8
## %bb.6:
	cmpq	%rdx, %r8
	jne	LBB0_8
## %bb.7:
	imulq	%r14, %rdx
	shrq	$3, %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	jmp	LBB0_18
LBB0_19:
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	movq	%r14, %rdx
	movl	%r9d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_pcm_area_silence           ## TAILCALL
LBB0_8:
	movq	%rdx, %rdi
	shrq	$3, %rdi
	movq	%r8, %rbx
	shrq	$3, %rbx
	cmpl	$4, %eax
	jne	LBB0_15
## %bb.9:
	testq	%r14, %r14
	je	LBB0_18
## %bb.10:
	andl	$7, %edx
	andl	$7, %r8d
	movl	8(%rcx), %ecx
	andl	$7, %ecx
	movl	8(%rsi), %esi
	andl	$7, %esi
	movslq	%edi, %r9
	movslq	%ebx, %r10
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	andb	$15, %al
	shlb	$4, %dil
	orb	%al, %dil
	movl	%edi, %eax
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	%al, (%r13)
	addq	%r9, %r15
	addl	%edx, %esi
	xorl	%eax, %eax
	cmpl	$8, %esi
	sete	%al
	cmovel	%r12d, %esi
	addq	%rax, %r15
	addq	%r10, %r13
	addl	%r8d, %ecx
	xorl	%eax, %eax
	cmpl	$8, %ecx
	sete	%al
	cmovel	%r12d, %ecx
	addq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	decq	%r14
	movzbl	(%r15), %eax
	movl	%eax, %ebx
	andb	$15, %bl
	shrb	$4, %al
	testl	%esi, %esi
	movzbl	%al, %eax
	movzbl	%bl, %edi
	cmovel	%eax, %edi
	movzbl	(%r13), %eax
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	andb	$-16, %al
	orb	%dil, %al
	jmp	LBB0_14
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_18
LBB0_15:
	testq	%r14, %r14
	je	LBB0_18
## %bb.16:
	shrl	$3, %eax
	movslq	%edi, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movl	%eax, %ebx
	callq	_memcpy
	movl	%ebx, %eax
	addq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	decq	%r14
	jne	LBB0_17
LBB0_18:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_area_copy              ; -- Begin function snd_pcm_area_copy
	.p2align	2
_snd_pcm_area_copy:                     ; @snd_pcm_area_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x4
	mov	x21, x3
	mov	x22, x2
	ldr	x24, [x0]
	cbz	x24, LBB0_7
; %bb.1:
	ldr	x25, [x22]
	cbz	x25, LBB0_16
; %bb.2:
	mov	x20, x1
	mov	x23, x0
	ldp	x27, x26, [x0, #8]
	ldp	x8, x28, [x22, #8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x5
	bl	_snd_pcm_format_physical_width
	cmp	w0, #0
	b.le	LBB0_12
; %bb.3:
	madd	x8, x26, x20, x27
	add	x20, x24, x8, lsr #3
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	madd	x8, x28, x21, x8
	add	x21, x25, x8, lsr #3
	ldr	x8, [x23, #16]
	ldr	x9, [x22, #16]
	cmp	x8, w0, uxtw
	b.ne	LBB0_8
; %bb.4:
	cmp	w0, #8
	b.lo	LBB0_8
; %bb.5:
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	mul	x8, x8, x19
	lsr	x2, x8, #3
	mov	x0, x21
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	b	LBB0_16
LBB0_7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x5
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_snd_pcm_area_silence
LBB0_8:
	lsr	x11, x8, #3
	lsr	x12, x9, #3
	cmp	w0, #4
	b.ne	LBB0_13
; %bb.9:
	cbz	x19, LBB0_16
; %bb.10:
	and	w8, w8, #0x7
	and	w9, w9, #0x7
	ldr	w10, [x22, #8]
	and	w10, w10, #0x7
	ldr	w13, [x23, #8]
	and	w13, w13, #0x7
	sxtw	x11, w11
	sxtw	x12, w12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x20]
	and	w15, w14, #0xf
	lsr	w14, w14, #4
	cmp	w13, #0
	csel	w14, w14, w15, eq
	ldrb	w15, [x21]
	and	w16, w15, #0xf
	bfi	w16, w14, #4, #4
	and	w15, w15, #0xf0
	orr	w14, w15, w14
	cmp	w10, #0
	csel	w14, w16, w14, eq
	strb	w14, [x21]
	add	x14, x20, x11
	add	w13, w13, w8
	cmp	w13, #8
	csel	w13, wzr, w13, eq
	cinc	x20, x14, eq
	add	x14, x21, x12
	add	w10, w10, w9
	cmp	w10, #8
	csel	w10, wzr, w10, eq
	cinc	x21, x14, eq
	sub	x19, x19, #1
	cbnz	x19, LBB0_11
	b	LBB0_16
LBB0_12:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_13:
	cbz	x19, LBB0_16
; %bb.14:
	lsr	w22, w0, #3
	sxtw	x23, w11
	sxtw	x24, w12
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	sub	x19, x19, #1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	add	x20, x20, x23
	add	x21, x21, x24
	cbnz	x19, LBB0_15
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
