	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbc_enc_process_input_4s
_sbc_enc_process_input_4s:              ## @sbc_enc_process_input_4s
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edi, %eax
	movq	_SBC_X_BUFFER_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	cmpl	%ecx, %eax
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jge	LBB0_6
## %bb.1:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.3:
	cltq
	movl	%r8d, %ebx
	leaq	(%rdx,%rax,4), %r13
	leaq	(,%rdi,4), %r12
	leaq	-160(%rdx), %r14
	movl	%edi, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cltq
	leaq	(%r14,%rax,4), %rdi
	movq	%r13, %rsi
	movl	$144, %edx
	callq	_memcpy
	movl	(%r15), %eax
	addq	%r12, %r13
	addq	%r12, %r14
	decq	%rbx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movl	%edi, %eax
LBB0_5:
	addl	$-40, %eax
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_6:
	cmpl	$8, %ecx
	jl	LBB0_13
## %bb.7:
	movq	%rax, %r14
	movl	%r8d, %eax
	shll	$4, %eax
	movslq	%eax, %r15
	subl	%r8d, %eax
	subl	%r8d, %eax
	cltq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	(%r8,%r8), %eax
	leal	(%rax,%rax,2), %edi
	movslq	%edi, %r10
	leal	(,%r8,4), %r9d
	leal	(%r9,%r9,2), %edi
	movslq	%edi, %r11
	leal	(,%r8,8), %ebx
	movslq	%ebx, %r12
	movslq	%r9d, %r13
	movslq	%eax, %rbx
	leal	(%rax,%rax,4), %eax
	cltq
	movslq	%r14d, %r14
	movl	%r8d, %edi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leaq	-4(%rdx,%r14,4), %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leaq	(,%rdx,4), %rdx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rax,4), %r14
	shlq	$2, %r15
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rbx,4), %r15
	leaq	(%rsi,%r13,4), %r9
	leaq	(%rsi,%r12,4), %rax
	leaq	(%rsi,%r11,4), %r11
	leaq	(%rsi,%r10,4), %rbx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %r12
	shlq	$3, %rdi
	movq	-136(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$-8, -80(%rbp)                  ## 8-byte Folded Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	-8(%rcx), %r8d
	addq	$-32, -96(%rbp)                 ## 8-byte Folded Spill
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addq	%rsi, %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addq	%rsi, %r15
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	addq	%rsi, %r9
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	addq	%rsi, %r10
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rsi, %rax
	movq	-112(%rbp), %r11                ## 8-byte Reload
	addq	%rsi, %r11
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	addq	%rsi, %rbx
	addq	%rsi, %r12
	cmpl	$15, %ecx
	movl	%r8d, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r10, %rsi
	jle	LBB0_12
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r11, -112(%rbp)                ## 8-byte Spill
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdi, %r15
	leaq	(%r12,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -28(%r14)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -24(%r14)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -20(%r14)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -16(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -12(%r14)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -8(%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movl	%eax, -4(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	callq	_AV_RN16
	movq	%r15, %rdi
	movl	%eax, (%r14)
	addq	%r13, %r14
	addq	$8, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SBC_X_BUFFER_SIZE,4,2          ## @SBC_X_BUFFER_SIZE
	.no_dead_strip	_sbc_enc_process_input_4s
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbc_enc_process_input_4s
_sbc_enc_process_input_4s:              ; @sbc_enc_process_input_4s
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x26, x4
	mov	x28, x3
	mov	x22, x2
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x20, _SBC_X_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SBC_X_BUFFER_SIZE@GOTPAGEOFF]
	ldr	w19, [x20]
	cmp	w0, w3
	b.ge	LBB0_6
; %bb.1:
	mov	x27, x1
	cmp	w26, #1
	b.lt	LBB0_4
; %bb.2:
	sbfiz	x21, x0, #2, #32
	lsl	x23, x19, #2
	mov	x24, x22
	mov	x8, x19
	mov	w25, w26
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x24, w8, sxtw #2
	sub	x0, x8, #160
	add	x1, x24, x21
	mov	w2, #144
	bl	_memcpy
	ldr	w8, [x20]
	add	x24, x24, x23
	subs	x25, x25, #1
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x8, x19
LBB0_5:
	sub	w0, w8, #40
	mov	x1, x27
LBB0_6:
	cmp	w28, #8
	b.lt	LBB0_13
; %bb.7:
	str	w28, [sp, #36]                  ; 4-byte Folded Spill
	sxtw	x8, w26
	lsl	w9, w26, #4
	mov	x10, x0
	sxtw	x11, w10
	mov	w10, w26
	lsl	x25, x10, #3
	mov	w10, #56
	smaddl	x27, w26, w10, x1
	sbfiz	x9, x9, #2, #32
	stp	x9, x26, [sp, #8]               ; 16-byte Folded Spill
	mov	w9, #24
	smaddl	x28, w26, w9, x1
	mov	w9, #48
	smaddl	x23, w26, w9, x1
	add	x9, x22, w0, sxtw #2
	sub	x9, x9, #16
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	lsl	x21, x19, #2
	add	x22, x1, x8, lsl #5
	add	x9, x1, w26, sxtw #4
	mov	w8, #40
	smaddl	x13, w26, w8, x1
	add	x8, x1, w26, sxtw #3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	sub	w8, w9, #8
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	add	x27, x27, x11
	add	x28, x28, x11
	add	x23, x23, x11
	ldr	x13, [sp, #40]                  ; 8-byte Folded Reload
	sub	x13, x13, #32
	str	x13, [sp, #40]                  ; 8-byte Folded Spill
	add	x22, x22, x11
	add	x1, x19, x11
	add	x26, x26, x11
	ldp	x13, x17, [sp, #48]             ; 16-byte Folded Reload
	add	x13, x13, x11
	add	x17, x17, x11
	cmp	w9, #15
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
	mov	x9, x26
	mov	x8, x17
	b.le	LBB0_12
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	stp	x13, x8, [sp, #48]              ; 16-byte Folded Spill
	sub	x11, x11, #8
	str	x11, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w8, #1
	mov	x19, x1
	mov	x26, x9
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x20, #0
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x27, x20
	bl	_AV_RN16
	stur	w0, [x24, #-16]
	add	x0, x28, x20
	bl	_AV_RN16
	stur	w0, [x24, #-12]
	add	x0, x23, x20
	bl	_AV_RN16
	stur	w0, [x24, #-8]
	add	x0, x22, x20
	bl	_AV_RN16
	stur	w0, [x24, #-4]
	add	x0, x19, x20
	bl	_AV_RN16
	str	w0, [x24]
	add	x0, x26, x20
	bl	_AV_RN16
	str	w0, [x24, #4]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x0, x8, x20
	bl	_AV_RN16
	str	w0, [x24, #8]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x0, x8, x20
	bl	_AV_RN16
	str	w0, [x24, #12]
	add	x20, x20, #8
	add	x24, x24, x21
	cmp	x25, x20
	b.ne	LBB0_11
	b	LBB0_8
LBB0_12:
	mov	x0, x11
LBB0_13:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SBC_X_BUFFER_SIZE,4,2          ; @SBC_X_BUFFER_SIZE
	.no_dead_strip	_sbc_enc_process_input_4s
.subsections_via_symbols
