	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ASE_KeyMATERIAL_LIST
_ASE_KeyMATERIAL_LIST:                  ## @ASE_KeyMATERIAL_LIST
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	_ase@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_VERBOSE
	movq	_ASE_KeyMATERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASE_ParseBracedBlock
	movq	(%rbx), %rax
	incq	%rax
	jmp	LBB0_6
LBB0_3:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASE_GetToken
	movq	_s_token@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdi
	callq	_VERBOSE
	movl	(%rbx), %edi
	callq	_atoi
	movq	_MAX_ASE_MATERIALS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	callq	_Error
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	movq	_ase@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*MATERIAL_COUNT"

	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_s_token,4,2                    ## @s_token
	.comm	_MAX_ASE_MATERIALS,8,3          ## @MAX_ASE_MATERIALS
L_.str.2:                               ## @.str.2
	.asciz	"Too many materials!"

	.comm	_ase,8,3                        ## @ase
L_.str.3:                               ## @.str.3
	.asciz	"*MATERIAL"

	.comm	_ASE_KeyMATERIAL,4,2            ## @ASE_KeyMATERIAL
	.no_dead_strip	_ASE_KeyMATERIAL_LIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ASE_KeyMATERIAL_LIST
_ASE_KeyMATERIAL_LIST:                  ; @ASE_KeyMATERIAL_LIST
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x19, _ase@GOTPAGE
Lloh5:
	ldr	x19, [x19, _ase@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_VERBOSE
Lloh6:
	adrp	x8, _ASE_KeyMATERIAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASE_KeyMATERIAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ASE_ParseBracedBlock
	ldr	x8, [x19]
	add	x8, x8, #1
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _qfalse@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_ASE_GetToken
Lloh12:
	adrp	x19, _s_token@GOTPAGE
Lloh13:
	ldr	x19, [x19, _s_token@GOTPAGEOFF]
	ldrsw	x0, [x19]
	bl	_VERBOSE
	ldr	w0, [x19]
	bl	_atoi
Lloh14:
	adrp	x8, _MAX_ASE_MATERIALS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_ASE_MATERIALS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_5
; %bb.4:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Error
LBB0_5:
	mov	x8, #0
LBB0_6:
Lloh19:
	adrp	x9, _ase@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ase@GOTPAGEOFF]
Lloh21:
	str	x8, [x9]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*MATERIAL_COUNT"

	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_s_token,4,2                    ; @s_token
	.comm	_MAX_ASE_MATERIALS,8,3          ; @MAX_ASE_MATERIALS
l_.str.2:                               ; @.str.2
	.asciz	"Too many materials!"

	.comm	_ase,8,3                        ; @ase
l_.str.3:                               ; @.str.3
	.asciz	"*MATERIAL"

	.comm	_ASE_KeyMATERIAL,4,2            ; @ASE_KeyMATERIAL
	.no_dead_strip	_ASE_KeyMATERIAL_LIST
.subsections_via_symbols
