	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_LoadName                    ## -- Begin function gl_LoadName
	.p2align	4, 0x90
_gl_LoadName:                           ## @gl_LoadName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	movq	_GL_SELECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_write_hit_record
	movl	8(%rbx), %eax
LBB0_5:
	movq	_MAX_NAME_STACK_DEPTH@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	16(%rbx), %rdx
	cmpl	%ecx, %eax
	jge	LBB0_7
## %bb.6:
	cltq
	movq	%r14, -8(%rdx,%rax,8)
	jmp	LBB0_8
LBB0_7:
	movq	%r14, -8(%rdx,%rcx,8)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glLoadName"

	.comm	_GL_SELECT,8,3                  ## @GL_SELECT
	.comm	_MAX_NAME_STACK_DEPTH,4,2       ## @MAX_NAME_STACK_DEPTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_LoadName                    ; -- Begin function gl_LoadName
	.p2align	2
_gl_LoadName:                           ; @gl_LoadName
	.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, x1
	mov	x20, x0
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gl_error
LBB0_2:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _GL_SELECT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GL_SELECT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_1
; %bb.4:
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_write_hit_record
	ldr	w8, [x20, #8]
LBB0_6:
Lloh8:
	adrp	x9, _MAX_NAME_STACK_DEPTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_NAME_STACK_DEPTH@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x9]
	ldr	x9, [x20, #16]
	cmp	w8, w10
	b.ge	LBB0_8
; %bb.7:
	sub	w8, w8, #1
	b	LBB0_9
LBB0_8:
	sub	w8, w10, #1
LBB0_9:
	str	x19, [x9, w8, sxtw #3]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glLoadName"

	.comm	_GL_SELECT,8,3                  ; @GL_SELECT
	.comm	_MAX_NAME_STACK_DEPTH,4,2       ; @MAX_NAME_STACK_DEPTH
.subsections_via_symbols
