	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fill_lut
LCPI0_0:
	.long	425984                          ## 0x68000
	.long	0                               ## 0x0
	.long	425984                          ## 0x68000
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fill_lut:                              ## @fill_lut
	.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	%rdi, %r13
	movq	_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.1:
	movl	$1, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rbx
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%r14), %rax
	movslq	(%rax,%rbx,4), %r15
	movq	%rbx, %rdi
	shrq	%rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TB
	movl	%eax, %edx
	shll	$16, %edx
	movq	(%r14), %rdi
	orl	-4(%rdi,%rbx,4), %edx
	shll	$2, %eax
	movl	$12, %r12d
	subl	%eax, %r12d
	testl	%r12d, %r12d
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	movl	%r12d, %ecx
	shll	%cl, %r14d
	cmpl	$2, %r14d
	movl	$1, %eax
	cmovll	%eax, %r14d
	addl	%r15d, %r15d
	xorl	%ebx, %ebx
	movl	%edx, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movslq	%r15d, %r15
	movl	%eax, (%r13,%r15,4)
	leal	1(%r15), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%r13,%rdx,4)
	incq	%rbx
	addl	$2, %r15d
	movl	%eax, %edx
	cmpq	%rbx, %r14
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$-1, -44(%rbp)
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movl	%eax, -48(%rbp)
	andl	$65280, %edx                    ## imm = 0xFF00
	movl	$-1, %ecx
	cmpl	$32768, %edx                    ## imm = 0x8000
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %edi
	movl	%r12d, %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_fill_elements
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, (%r13,%r15,8)
	addq	%r15, %r15
	orl	$1, %r15d
	movslq	%r15d, %rax
	movl	$0, (%r13,%rax,4)
	jmp	LBB0_8
LBB0_9:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [425984,0,425984,0]
	movups	%xmm0, (%r13)
	movups	%xmm0, 16(%r13)
	movups	%xmm0, 32(%r13)
	movups	%xmm0, 48(%r13)
	movups	%xmm0, 64(%r13)
	movups	%xmm0, 80(%r13)
	movups	%xmm0, 96(%r13)
	movups	%xmm0, 112(%r13)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_table,8,3                      ## @table
	.no_dead_strip	_fill_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function fill_lut
lCPI0_0:
	.long	425984                          ; 0x68000
	.long	0                               ; 0x0
	.long	425984                          ; 0x68000
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fill_lut:                              ; @fill_lut
	.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, x0
Lloh0:
	adrp	x22, _table@GOTPAGE
Lloh1:
	ldr	x22, [x22, _table@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #2
	b.lt	LBB0_11
; %bb.1:
	mov	w23, #1
	mov	w24, #12
	mov	w25, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #2
	bl	_FF_ARRAY_ELEMS
	cmp	x25, w0, sxtw
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x22]
	lsl	x20, x25, #2
	ldrsw	x27, [x8, x20]
	lsr	x0, x25, #1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_TB
	mov	x8, x0
	ldr	x0, [x22]
	add	x9, x20, x0
	ldur	w9, [x9, #-4]
	orr	w9, w9, w8, lsl #16
	sub	w20, w24, w8, lsl #2
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	lsl	w8, w23, w20
	cmp	w8, #1
	csinc	w26, w8, wzr, gt
	lsl	w27, w27, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_fill_elements
	ldp	w8, w9, [sp, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	str	w9, [x19, w27, sxtw #2]
	add	w10, w27, #1
	str	w8, [x19, w10, sxtw #2]
	add	x21, x21, #1
	add	w27, w27, #2
	cmp	x26, x21
	b.eq	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w8, #-1
	and	w10, w9, #0xffffff
	stp	w8, w10, [sp, #8]
	and	w9, w9, #0xff00
	cmp	w9, #8, lsl #12                 ; =32768
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x9, x10
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x27, #3
	str	w9, [x19, x8]
	mov	w8, #1
	bfi	w8, w27, #1, #31
	str	wzr, [x19, w8, sxtw #2]
	b	LBB0_3
LBB0_11:
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stp	q0, q0, [x19]
	stp	q0, q0, [x19, #32]
	stp	q0, q0, [x19, #64]
	stp	q0, q0, [x19, #96]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_table,8,3                      ; @table
	.no_dead_strip	_fill_lut
.subsections_via_symbols
