	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_InitFlats                    ## -- Begin function R_InitFlats
	.p2align	4, 0x90
_R_InitFlats:                           ## @R_InitFlats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_W_GetNumForName
	incl	%eax
	movq	_firstflat@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_W_GetNumForName
                                        ## kill: def $eax killed $eax def $rax
	decl	%eax
	movq	_lastflat@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	subl	(%rbx), %eax
	leal	1(%rax), %ecx
	movq	_numflats@GOTPCREL(%rip), %rbx
	movl	%ecx, (%rbx)
	leal	8(,%rax,4), %edi
	movq	_PU_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_Z_Malloc
	movq	_flattranslation@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpl	$0, (%rbx)
	jle	LBB0_3
## %bb.1:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"F_START"

	.comm	_firstflat,4,2                  ## @firstflat
L_.str.1:                               ## @.str.1
	.asciz	"F_END"

	.comm	_lastflat,4,2                   ## @lastflat
	.comm	_numflats,4,2                   ## @numflats
	.comm	_PU_STATIC,4,2                  ## @PU_STATIC
	.comm	_flattranslation,8,3            ## @flattranslation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_InitFlats                    ; -- Begin function R_InitFlats
	.p2align	2
_R_InitFlats:                           ; @R_InitFlats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_W_GetNumForName
	add	w8, w0, #1
Lloh2:
	adrp	x19, _firstflat@GOTPAGE
Lloh3:
	ldr	x19, [x19, _firstflat@GOTPAGEOFF]
	str	w8, [x19]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_W_GetNumForName
	sub	w8, w0, #1
Lloh6:
	adrp	x9, _lastflat@GOTPAGE
Lloh7:
	ldr	x9, [x9, _lastflat@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ldr	w9, [x19]
	sub	w8, w8, w9
	add	w9, w8, #1
Lloh9:
	adrp	x19, _numflats@GOTPAGE
Lloh10:
	ldr	x19, [x19, _numflats@GOTPAGEOFF]
	str	w9, [x19]
	lsl	w8, w8, #2
	add	w0, w8, #8
Lloh11:
	adrp	x8, _PU_STATIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PU_STATIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_Z_Malloc
Lloh14:
	adrp	x8, _flattranslation@GOTPAGE
Lloh15:
	ldr	x8, [x8, _flattranslation@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x0, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"F_START"

	.comm	_firstflat,4,2                  ; @firstflat
l_.str.1:                               ; @.str.1
	.asciz	"F_END"

	.comm	_lastflat,4,2                   ; @lastflat
	.comm	_numflats,4,2                   ; @numflats
	.comm	_PU_STATIC,4,2                  ; @PU_STATIC
	.comm	_flattranslation,8,3            ; @flattranslation
.subsections_via_symbols
