	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeview_add_variable
_codeview_add_variable:                 ## @codeview_add_variable
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.1:
	movq	%rdx, %rbx
	cmpb	$0, (%rdx)
	je	LBB0_10
## %bb.2:
	movl	%r9d, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	24(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.4:
	movq	_loc_absolute@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_loc_tlsrel@GOTPCREL(%rip), %rax
LBB0_5:
	movq	32(%rbp), %r13
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movl	%ecx, %esi
	movl	%r8d, %edx
	callq	_codeview_get_address
	movq	24(%rbp), %rdx
	movl	%eax, %r8d
LBB0_7:
	movl	%r8d, -64(%rbp)
	orq	%rdx, %r13
	jne	LBB0_9
## %bb.8:
	movl	(%r12), %edi
	movl	%r8d, %esi
	callq	_symt_find_nearest
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movq	16(%rbp), %r13
	movl	(%r12), %r12d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_codeview_get_type
	movq	-48(%rbp), %rcx
	movq	%rcx, 16(%rsp)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_symt_new_global_variable
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_loc_tlsrel,4,2                 ## @loc_tlsrel
	.comm	_loc_absolute,4,2               ## @loc_absolute
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_codeview_add_variable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeview_add_variable
_codeview_add_variable:                 ; @codeview_add_variable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x2, LBB0_7
; %bb.1:
	mov	x20, x2
	ldrb	w8, [x2]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x25, x7
	mov	x19, x6
	mov	x23, x5
	mov	x22, x4
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _loc_tlsrel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _loc_tlsrel@GOTPAGEOFF]
	ldr	x27, [x29, #16]
Lloh2:
	adrp	x9, _loc_absolute@GOTPAGE
Lloh3:
	ldr	x9, [x9, _loc_absolute@GOTPAGEOFF]
	cmp	x7, #0
	csel	x8, x9, x8, eq
	ldr	w26, [x8]
	cbz	x7, LBB0_4
; %bb.3:
	orr	x8, x27, x25
	cbnz	x8, LBB0_6
	b	LBB0_5
LBB0_4:
	mov	x0, x24
	mov	x1, x3
	mov	x2, x22
	bl	_codeview_get_address
	mov	x22, x0
	orr	x8, x27, x25
	cbnz	x8, LBB0_6
LBB0_5:
	ldr	w0, [x24]
	mov	x1, x22
	bl	_symt_find_nearest
	cbnz	w0, LBB0_7
LBB0_6:
	ldr	w24, [x24]
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_codeview_get_type
	mov	x6, x0
	str	w22, [sp, #8]
	str	xzr, [sp, #16]
	str	w26, [sp, #24]
	add	x4, sp, #8
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w5, #0
	bl	_symt_new_global_variable
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_loc_tlsrel,4,2                 ; @loc_tlsrel
	.comm	_loc_absolute,4,2               ; @loc_absolute
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_codeview_add_variable
.subsections_via_symbols
