	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_define
_do_define:                             ## @do_define
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
                                        ## kill: def $edi killed $edi def $rdi
	movq	_rawsyms@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movslq	%edi, %r15
	xorl	%eax, %eax
	callq	_empty_symbol
	movq	%rax, %rbx
	movl	_do_define.symbol_index(%rip), %eax
	incl	%eax
	movl	%eax, _do_define.symbol_index(%rip)
	movl	%eax, (%rbx)
	movq	%r15, %r14
	shlq	$4, %r14
	movq	8(%r13,%r14), %rax
	movl	4(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_cur_sfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movq	_lofile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	js	LBB0_2
## %bb.1:
	movq	_ofile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	leaq	8(%rax), %rdx
	leaq	40(%rcx), %rsi
	testq	%rcx, %rcx
	cmoveq	%rdx, %rsi
	movq	%rbx, (%rsi)
	movq	%rbx, (%rax)
LBB0_2:
	movq	8(%r12), %rax
	leaq	16(%r12), %rcx
	leaq	32(%rax), %rdx
	testq	%rax, %rax
	cmoveq	%rcx, %rdx
	movq	%rbx, (%rdx)
	movq	%rbx, 8(%r12)
	incl	(%r12)
	movl	%r15d, %edi
	callq	_do_type
	movq	%rax, 8(%rbx)
	movl	%r15d, %edi
	callq	_do_where
	movq	%rax, 16(%rbx)
	movl	%r15d, %edi
	callq	_do_visible
	movl	%eax, 24(%rbx)
	movq	_tindex@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, (%rax,%r15,8)
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx), %rsi
	movq	_coff_where_memory@GOTPCREL(%rip), %rdi
	movq	(%rcx), %rax
	cmpq	(%rdi), %rsi
	jne	LBB0_6
## %bb.3:
	movq	_coff_secdef_type@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_6
## %bb.4:
	movq	_cur_sfile@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi), %rsi
	movq	8(%rdx), %r8
	movslq	(%r8), %rdi
	shlq	$5, %rdi
	cmpl	$0, (%rsi,%rdi)
	jne	LBB0_6
## %bb.5:
	movq	16(%rdx), %rdx
	movq	%rdx, 24(%rsi,%rdi)
	addq	8(%rcx), %rdx
	leaq	(%rsi,%rdi), %rcx
	movq	%rdx, 16(%rsi,%rdi)
	movl	$1, (%rcx)
	movq	%r8, 8(%rsi,%rdi)
LBB0_6:
	movq	_coff_function_type@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_last_function_symbol@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
LBB0_8:
	movl	(%r13,%r14), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %eax
	incl	%eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_do_define.symbol_index,4,2 ## @do_define.symbol_index
	.comm	_rawsyms,8,3                    ## @rawsyms
	.comm	_cur_sfile,8,3                  ## @cur_sfile
	.comm	_lofile,8,3                     ## @lofile
	.comm	_ofile,8,3                      ## @ofile
	.comm	_tindex,8,3                     ## @tindex
	.comm	_coff_where_memory,8,3          ## @coff_where_memory
	.comm	_coff_secdef_type,8,3           ## @coff_secdef_type
	.comm	_coff_function_type,8,3         ## @coff_function_type
	.comm	_last_function_symbol,8,3       ## @last_function_symbol
	.no_dead_strip	_do_define
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_define
_do_define:                             ; @do_define
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _rawsyms@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rawsyms@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	sxtw	x23, w19
	bl	_empty_symbol
	mov	x20, x0
	adrp	x8, _do_define.symbol_index@PAGE
	ldr	w9, [x8, _do_define.symbol_index@PAGEOFF]
	add	w9, w9, #1
	str	w9, [x8, _do_define.symbol_index@PAGEOFF]
	str	w9, [x0]
	add	x8, x22, w19, sxtw #4
	ldr	x8, [x8, #8]
	ldr	w8, [x8, #4]
Lloh3:
	adrp	x24, _cur_sfile@GOTPAGE
Lloh4:
	ldr	x24, [x24, _cur_sfile@GOTPAGEOFF]
	str	w8, [x0, #56]
	ldr	x8, [x24]
	str	x8, [x0, #48]
Lloh5:
	adrp	x8, _lofile@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lofile@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _ofile@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ofile@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x8]
	add	x10, x8, #8
	add	x11, x9, #40
	cmp	x9, #0
	csel	x9, x10, x11, eq
	str	x20, [x9]
	str	x20, [x8]
LBB0_2:
	ldr	x8, [x21, #8]
	add	x9, x21, #16
	add	x10, x8, #32
	cmp	x8, #0
	csel	x8, x9, x10, eq
	str	x20, [x8]
	str	x20, [x21, #8]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x19
	bl	_do_type
	str	x0, [x20, #8]
	mov	x0, x19
	bl	_do_where
	str	x0, [x20, #16]
	mov	x0, x19
	bl	_do_visible
Lloh11:
	adrp	x8, _tindex@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tindex@GOTPAGEOFF]
	str	w0, [x20, #24]
Lloh13:
	ldr	x8, [x8]
	str	x20, [x8, x23, lsl #3]
	ldp	x10, x9, [x20, #8]
	ldr	x11, [x9]
Lloh14:
	adrp	x8, _coff_where_memory@GOTPAGE
Lloh15:
	ldr	x8, [x8, _coff_where_memory@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x8]
	ldr	x8, [x10]
	cmp	x11, x12
	b.ne	LBB0_6
; %bb.3:
Lloh17:
	adrp	x11, _coff_secdef_type@GOTPAGE
Lloh18:
	ldr	x11, [x11, _coff_secdef_type@GOTPAGEOFF]
Lloh19:
	ldr	x11, [x11]
	cmp	x8, x11
	b.ne	LBB0_6
; %bb.4:
	ldr	x11, [x24]
	ldr	x12, [x11]
	ldr	x11, [x9, #8]
	ldrsw	x13, [x11]
	add	x12, x12, x13, lsl #5
	ldr	w13, [x12]
	cbnz	w13, LBB0_6
; %bb.5:
	ldr	x9, [x9, #16]
	str	x9, [x12, #24]
	ldr	x10, [x10, #8]
	add	x9, x10, x9
	mov	w10, #1
	str	w10, [x12]
	stp	x11, x9, [x12, #8]
LBB0_6:
Lloh20:
	adrp	x9, _coff_function_type@GOTPAGE
Lloh21:
	ldr	x9, [x9, _coff_function_type@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _last_function_symbol@GOTPAGE
Lloh24:
	ldr	x8, [x8, _last_function_symbol@GOTPAGEOFF]
Lloh25:
	str	x20, [x8]
LBB0_8:
	lsl	x8, x23, #4
	ldr	w8, [x22, x8]
	add	w8, w19, w8
	add	w0, w8, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_do_define.symbol_index,4,2 ; @do_define.symbol_index
	.comm	_rawsyms,8,3                    ; @rawsyms
	.comm	_cur_sfile,8,3                  ; @cur_sfile
	.comm	_lofile,8,3                     ; @lofile
	.comm	_ofile,8,3                      ; @ofile
	.comm	_tindex,8,3                     ; @tindex
	.comm	_coff_where_memory,8,3          ; @coff_where_memory
	.comm	_coff_secdef_type,8,3           ; @coff_secdef_type
	.comm	_coff_function_type,8,3         ; @coff_function_type
	.comm	_last_function_symbol,8,3       ; @last_function_symbol
	.no_dead_strip	_do_define
.subsections_via_symbols
