	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbr_x_gen
_sbr_x_gen:                             ## @sbr_x_gen
	.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
	movq	%r8, %r12
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movslq	%r9d, %rcx
	movl	(%rax,%rcx,4), %eax
	leal	(%rax,%rax), %edi
	addl	$-32, %edi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$19456, %edx                    ## imm = 0x4C00
	callq	_memset
	movq	%r15, %r11
	movq	(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r10d
	movq	%rbx, %r9
	movl	%ebx, %r15d
	testl	%r10d, %r10d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.7:
	xorl	%r13d, %r13d
	movq	_ENVELOPE_ADJUSTMENT_OFFSET@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	movslq	%r10d, %rcx
	addq	$4, %r14
	cmpq	%rcx, %r13
	jge	LBB0_2
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	testl	%r9d, %r9d
	jle	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax), %rcx
	addq	%rdi, %rcx
	leaq	(,%r13,4), %rdx
	addq	%r13, %rdx
	shlq	$6, %rdx
	addq	%r12, %rdx
	movl	(%rdx,%rcx,8), %ecx
	movl	%ecx, (%rsi)
	movslq	(%rax), %rcx
	addq	%rdi, %rcx
	movl	4(%rdx,%rcx,8), %ecx
	movl	%ecx, 9728(%rsi)
	incq	%rdi
	addq	$256, %rsi                      ## imm = 0x100
	cmpq	%rdi, %r15
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %r10d
	jmp	LBB0_12
LBB0_1:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_2:
	movq	8(%r11), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r11d
	leal	(%r11,%r10), %eax
	cmpl	%eax, %r13d
	jge	LBB0_13
## %bb.3:
	movl	%r13d, %r14d
	movl	%r15d, %r13d
	andl	$-2, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rax
	addq	$9984, %rax                     ## imm = 0x2700
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r14,8), %rsi
	addq	$16900, %rsi                    ## imm = 0x4204
	movq	%rbx, %r8
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %rbx
	movl	(%r8), %r10d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r11d
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	leal	(%r11,%r10), %ecx
	addq	$4, %rax
	addq	$8, %rsi
	cmpl	%r14d, %ecx
	jle	LBB0_13
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	testl	%r9d, %r9d
	jle	LBB0_31
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %r9d
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-516(%rsi,%rcx,2), %edx
	movl	%edx, -9984(%rax,%rcx)
	movl	-512(%rsi,%rcx,2), %edx
	movl	%edx, -256(%rax,%rcx)
	movl	-4(%rsi,%rcx,2), %edx
	movl	%edx, -9728(%rax,%rcx)
	movl	(%rsi,%rcx,2), %edx
	movl	%edx, (%rax,%rcx)
	addq	$2, %rdi
	addq	$512, %rcx                      ## imm = 0x200
	cmpq	%rdi, %r13
	jne	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r15b
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %rcx
	shlq	$9, %rcx
	addq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	16384(%rcx,%r14,8), %edx
	shlq	$8, %rdi
	addq	%rbx, %rdi
	movl	%edx, (%rdi,%r14,4)
	movl	16388(%rcx,%r14,8), %ecx
	movl	%ecx, 9728(%rdi,%r14,4)
	jmp	LBB0_30
LBB0_13:
	movl	4(%rbx), %r14d
	testl	%r14d, %r14d
	jle	LBB0_14
## %bb.32:
	movq	%r9, %rax
	movslq	%eax, %r10
	movq	%r10, %r13
	shlq	$8, %r13
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	leal	-38(%r9), %r11d
	xorl	%eax, %eax
	movq	_ENVELOPE_ADJUSTMENT_OFFSET@GOTPCREL(%rip), %r15
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=1
	incq	%rax
	movslq	%r14d, %rcx
	addq	$4, %r13
	cmpq	%rcx, %rax
	jge	LBB0_15
LBB0_33:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
	movl	%r11d, %edi
	movq	%r13, %rsi
	movq	%r10, %rdx
	cmpl	$37, %r9d
	jg	LBB0_36
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_33 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r15), %rbx
	addq	%rdx, %rbx
	leaq	(%rax,%rax,4), %rcx
	shlq	$6, %rcx
	addq	%r12, %rcx
	movl	(%rcx,%rbx,8), %ebx
	movl	%ebx, (%rsi)
	movslq	(%r15), %rbx
	addq	%rdx, %rbx
	movl	4(%rcx,%rbx,8), %ecx
	movl	%ecx, 9728(%rsi)
	incq	%rdx
	addq	$256, %rsi                      ## imm = 0x100
	incl	%edi
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %r14d
	jmp	LBB0_36
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %edi
	leal	(%rdi,%r14), %ecx
	cmpl	%ecx, %eax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_25
## %bb.16:
	movslq	%r9d, %r11
	movl	%eax, %esi
	leaq	1(%r11), %r10
	leaq	(%r15,%rsi,8), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rsi,4), %rbx
	addq	$9728, %rbx                     ## imm = 0x2600
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %r14d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %edi
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rsi
	leal	(%rdi,%r14), %ecx
	addq	$8, %rax
	addq	$4, %rbx
	cmpl	%esi, %ecx
	jle	LBB0_25
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	cmpl	$31, %r9d
	jg	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r11, %rdx
	testb	$1, %r9b
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r11, %rdx
	shlq	$9, %rdx
	addq	%r15, %rdx
	movl	(%rdx,%rsi,8), %edi
	movq	%r11, %rcx
	shlq	$8, %rcx
	addq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	%edi, (%rcx,%rsi,4)
	movl	4(%rdx,%rsi,8), %edx
	movl	%edx, 9728(%rcx,%rsi,4)
	movq	%r10, %rdx
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$31, %r9d
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	leal	-32(%rdx), %edi
	shlq	$8, %rdx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rdx,2), %ecx
	movl	%ecx, -9728(%rbx,%rdx)
	movl	4(%rax,%rdx,2), %ecx
	movl	%ecx, (%rbx,%rdx)
	movl	512(%rax,%rdx,2), %ecx
	movl	%ecx, -9472(%rbx,%rdx)
	movl	516(%rax,%rdx,2), %ecx
	movl	%ecx, 256(%rbx,%rdx)
	addq	$512, %rdx                      ## imm = 0x200
	addl	$2, %edi
	jne	LBB0_22
	jmp	LBB0_23
LBB0_25:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENVELOPE_ADJUSTMENT_OFFSET,4,2 ## @ENVELOPE_ADJUSTMENT_OFFSET
	.no_dead_strip	_sbr_x_gen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbr_x_gen
_sbr_x_gen:                             ; @sbr_x_gen
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	ldr	x8, [x0, #16]
	ldr	w8, [x8, w5, sxtw #2]
	lsl	w8, w8, #1
	sub	w0, w8, #32
	mov	w1, #0
	bl	_FFMAX
	mov	x19, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #19456
	bl	_memset
	ldr	x8, [x24]
	ldr	w12, [x8]
	mov	w11, w19
Lloh0:
	adrp	x10, _ENVELOPE_ADJUSTMENT_OFFSET@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ENVELOPE_ADJUSTMENT_OFFSET@GOTPAGEOFF]
	cmp	w12, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x13, #0
	mov	w9, #320
	mov	x14, x21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x13, #1
	add	x14, x14, #4
	cmp	x13, w12, sxtw
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, #0
	mov	x15, x14
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x16, [x10]
	add	x16, x12, x16
	madd	x17, x13, x9, x22
	lsl	x16, x16, #3
	ldr	w16, [x17, x16]
	str	w16, [x15]
	ldrsw	x16, [x10]
	add	x16, x12, x16
	add	x16, x17, x16, lsl #3
	ldr	w16, [x16, #4]
	str	w16, [x15, #9728]
	add	x12, x12, #1
	add	x15, x15, #256
	cmp	x11, x12
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x8]
	b	LBB0_2
LBB0_7:
	mov	w13, #0
LBB0_8:
	ldr	x9, [x24, #8]
	ldr	w16, [x9]
	add	w14, w16, w12
	cmp	w13, w14
	b.ge	LBB0_14
; %bb.9:
	mov	w14, w13
	add	x15, x23, w13, uxtw #3
	mov	w17, #16388
	add	x15, x15, x17
	add	x13, x21, w13, uxtw #2
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x14, x14, #1
	add	x15, x15, #8
	add	x13, x13, #4
	add	w17, w16, w12
	cmp	w17, w14
	b.le	LBB0_14
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x17, x13
	mov	x0, x15
	mov	x1, x11
	cmp	w19, #1
	b.lt	LBB0_10
LBB0_12:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w12, [x0, #-4]
	str	w12, [x17]
	ldr	w12, [x0]
	str	w12, [x17, #9728]
	add	x0, x0, #512
	add	x17, x17, #256
	subs	x1, x1, #1
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w12, [x8]
	ldr	w16, [x9]
	b	LBB0_10
LBB0_14:
	ldr	w11, [x8, #4]
	cmp	w11, #1
	b.lt	LBB0_20
; %bb.15:
	mov	x12, #0
	sxtw	x13, w19
	add	x14, x21, x13, lsl #8
	sub	w15, w19, #38
	mov	w16, #320
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x12, x12, #1
	add	x14, x14, #4
	cmp	x12, w11, sxtw
	b.ge	LBB0_21
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x17, x15
	mov	x0, x14
	mov	x1, x13
	cmp	w19, #37
	b.gt	LBB0_16
LBB0_18:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x11, [x10]
	add	x11, x1, x11
	madd	x2, x12, x16, x22
	lsl	x11, x11, #3
	ldr	w11, [x2, x11]
	str	w11, [x0]
	ldrsw	x11, [x10]
	add	x11, x1, x11
	add	x11, x2, x11, lsl #3
	ldr	w11, [x11, #4]
	str	w11, [x0, #9728]
	add	x1, x1, #1
	add	x0, x0, #256
	adds	w17, w17, #1
	b.lo	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w11, [x8, #4]
	b	LBB0_16
LBB0_20:
	mov	w12, #0
LBB0_21:
	ldr	w15, [x9, #4]
	add	w10, w15, w11
	cmp	w12, w10
	b.ge	LBB0_28
; %bb.22:
	mov	x10, x19
	sxtw	x16, w10
	mov	w10, w12
	add	x13, x21, x16, lsl #8
	add	x13, x13, w12, uxtw #2
	sub	w14, w19, #32
	add	x16, x20, x16, lsl #9
	add	x12, x16, w12, uxtw #3
	add	x12, x12, #4
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x10, x10, #1
	add	x13, x13, #4
	add	x12, x12, #8
	add	w16, w15, w11
	cmp	w16, w10
	b.le	LBB0_28
LBB0_24:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	cmp	w19, #31
	b.gt	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x11, x12
	mov	x15, x14
	mov	x16, x13
LBB0_26:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w17, [x11, #-4]
	str	w17, [x16]
	ldr	w17, [x11]
	str	w17, [x16, #9728]
	add	x16, x16, #256
	add	x11, x11, #512
	adds	w15, w15, #1
	b.lo	LBB0_26
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w11, [x8, #4]
	ldr	w15, [x9, #4]
	b	LBB0_23
LBB0_28:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENVELOPE_ADJUSTMENT_OFFSET,4,2 ; @ENVELOPE_ADJUSTMENT_OFFSET
	.no_dead_strip	_sbr_x_gen
.subsections_via_symbols
