	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbr_lf_gen
_sbr_lf_gen:                            ## @sbr_lf_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_memset
	movq	(%r12), %r8
	cmpl	$0, 4(%r8)
	jle	LBB0_5
## %bb.1:
	movslq	%r15d, %rax
	leaq	76(%rbx), %rcx
	shlq	$13, %rax
	leaq	(%r14,%rax), %r9
	addq	$260, %r9                       ## imm = 0x104
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r9, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-260(%rdi), %edx
	movl	%edx, -12(%rcx,%rax,8)
	movl	-256(%rdi), %edx
	movl	%edx, -8(%rcx,%rax,8)
	movl	-4(%rdi), %edx
	movl	%edx, -4(%rcx,%rax,8)
	movl	(%rdi), %edx
	movl	%edx, (%rcx,%rax,8)
	addq	$2, %rax
	addq	$512, %rdi                      ## imm = 0x200
	cmpq	$32, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movslq	4(%r8), %rax
	addq	$320, %rcx                      ## imm = 0x140
	addq	$8, %r9
	cmpq	%rax, %rsi
	jl	LBB0_2
LBB0_5:
	cmpl	$0, (%r8)
	jle	LBB0_8
## %bb.6:
	movl	$1, %eax
	subl	%r15d, %eax
	cltq
	shlq	$13, %rax
	leaq	(%r14,%rax), %rcx
	addq	$7940, %rcx                     ## imm = 0x1F04
	addq	$60, %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-1796(%rcx,%rdx,8), %eax
	movl	%eax, -60(%rbx)
	movl	-1792(%rcx,%rdx,8), %eax
	movl	%eax, -56(%rbx)
	movl	-1540(%rcx,%rdx,8), %eax
	movl	%eax, -52(%rbx)
	movl	-1536(%rcx,%rdx,8), %eax
	movl	%eax, -48(%rbx)
	movl	-1284(%rcx,%rdx,8), %eax
	movl	%eax, -44(%rbx)
	movl	-1280(%rcx,%rdx,8), %eax
	movl	%eax, -40(%rbx)
	movl	-1028(%rcx,%rdx,8), %eax
	movl	%eax, -36(%rbx)
	movl	-1024(%rcx,%rdx,8), %eax
	movl	%eax, -32(%rbx)
	movl	-772(%rcx,%rdx,8), %eax
	movl	%eax, -28(%rbx)
	movl	-768(%rcx,%rdx,8), %eax
	movl	%eax, -24(%rbx)
	movl	-516(%rcx,%rdx,8), %eax
	movl	%eax, -20(%rbx)
	movl	-512(%rcx,%rdx,8), %eax
	movl	%eax, -16(%rbx)
	movl	-260(%rcx,%rdx,8), %eax
	movl	%eax, -12(%rbx)
	movl	-256(%rcx,%rdx,8), %eax
	movl	%eax, -8(%rbx)
	movl	-4(%rcx,%rdx,8), %eax
	movl	%eax, -4(%rbx)
	movl	(%rcx,%rdx,8), %eax
	movl	%eax, (%rbx)
	incq	%rdx
	movslq	(%r8), %rax
	addq	$320, %rbx                      ## imm = 0x140
	cmpq	%rax, %rdx
	jl	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sbr_lf_gen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbr_lf_gen
_sbr_lf_gen:                            ; @sbr_lf_gen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x0, x2
	mov	w1, #0
	mov	w2, #10240
	bl	_memset
	ldr	x8, [x22]
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
	sxtw	x10, w20
	add	x10, x19, x10, lsl #13
	add	x10, x10, #4
	add	x11, x21, #64
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x12, #0
	mov	x13, x10
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w14, [x13, #-4]
	add	x15, x11, x12
	str	w14, [x15]
	ldr	w14, [x13]
	str	w14, [x15, #4]
	add	x12, x12, #8
	add	x13, x13, #256
	cmp	x12, #256
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	ldrsw	x12, [x8, #4]
	add	x10, x10, #8
	add	x11, x11, #320
	cmp	x9, x12
	b.lt	LBB0_2
LBB0_5:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x9, #0
	mov	w10, #1
	sub	x11, x10, w20, sxtw
	add	x10, x21, #32
	add	x11, x19, x11, lsl #13
	mov	w12, #6144
	add	x11, x11, x12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	stur	w12, [x10, #-32]
	ldr	w12, [x11, #4]
	stur	w12, [x10, #-28]
	ldr	w12, [x11, #256]
	stur	w12, [x10, #-24]
	ldr	w12, [x11, #260]
	stur	w12, [x10, #-20]
	ldr	w12, [x11, #512]
	stur	w12, [x10, #-16]
	ldr	w12, [x11, #516]
	stur	w12, [x10, #-12]
	ldr	w12, [x11, #768]
	stur	w12, [x10, #-8]
	ldr	w12, [x11, #772]
	stur	w12, [x10, #-4]
	ldr	w12, [x11, #1024]
	str	w12, [x10]
	ldr	w12, [x11, #1028]
	str	w12, [x10, #4]
	ldr	w12, [x11, #1280]
	str	w12, [x10, #8]
	ldr	w12, [x11, #1284]
	str	w12, [x10, #12]
	ldr	w12, [x11, #1536]
	str	w12, [x10, #16]
	ldr	w12, [x11, #1540]
	str	w12, [x10, #20]
	ldr	w12, [x11, #1792]
	str	w12, [x10, #24]
	ldr	w12, [x11, #1796]
	str	w12, [x10, #28]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	add	x10, x10, #320
	add	x11, x11, #8
	cmp	x9, x12
	b.lt	LBB0_7
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sbr_lf_gen
.subsections_via_symbols
