	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_heap_v
_load_heap_v:                           ## @load_heap_v
	.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
	movq	(%rdi), %rax
	movq	_SEARCH_EXTENSION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_SEARCHX_EXTENSION@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
	je	LBB0_5
## %bb.1:
	movl	4(%rax), %esi
	testl	%esi, %esi
	jne	LBB0_3
## %bb.2:
	movl	(%rax), %esi
LBB0_3:
	movq	_GH_mode@GOTPCREL(%rip), %rcx
	movq	_g_double@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_8
## %bb.4:
	movl	8(%rax), %edi
	jmp	LBB0_13
LBB0_5:
	movq	_TARG_EXTENSION@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.6:
	movl	(%rax), %esi
	movq	_GH_mode@GOTPCREL(%rip), %rcx
	movq	_g_double@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	4(%rax), %edi
	jmp	LBB0_13
LBB0_8:
	movl	%esi, %edi
	jmp	LBB0_13
LBB0_9:
	movq	_HINTS_MERGE_EXTENSION@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.10:
	movl	(%rax), %esi
	xorl	%edi, %edi
	subl	8(%rax), %edi
	jmp	LBB0_13
LBB0_12:
	xorl	%edi, %edi
	callq	_assert
                                        ## implicit-def: $esi
                                        ## implicit-def: $edi
LBB0_13:
	movq	_GH_mode@GOTPCREL(%rip), %rax
	movq	_g_desc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:
	notl	%edi
	notl	%esi
LBB0_15:
	callq	_make_value64
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEARCH_EXTENSION,8,3           ## @SEARCH_EXTENSION
	.comm	_SEARCHX_EXTENSION,8,3          ## @SEARCHX_EXTENSION
	.comm	_GH_mode,4,2                    ## @GH_mode
	.comm	_g_double,4,2                   ## @g_double
	.comm	_TARG_EXTENSION,8,3             ## @TARG_EXTENSION
	.comm	_HINTS_MERGE_EXTENSION,8,3      ## @HINTS_MERGE_EXTENSION
	.comm	_g_desc,4,2                     ## @g_desc
	.no_dead_strip	_load_heap_v
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_heap_v
_load_heap_v:                           ; @load_heap_v
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SEARCH_EXTENSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEARCH_EXTENSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _SEARCHX_EXTENSION@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SEARCHX_EXTENSION@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x20, _GH_mode@GOTPAGE
Lloh7:
	ldr	x20, [x20, _GH_mode@GOTPAGEOFF]
	orr	x9, x9, x10
	cbz	x9, LBB0_5
; %bb.1:
	ldr	w1, [x8, #4]
	cbnz	w1, LBB0_3
; %bb.2:
	ldr	w1, [x8]
LBB0_3:
	ldr	w9, [x20]
Lloh8:
	adrp	x10, _g_double@GOTPAGE
Lloh9:
	ldr	x10, [x10, _g_double@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.4:
	ldr	w0, [x8, #8]
	b	LBB0_12
LBB0_5:
Lloh11:
	adrp	x9, _TARG_EXTENSION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TARG_EXTENSION@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cbz	x9, LBB0_9
; %bb.6:
	ldr	w1, [x8]
	ldr	w9, [x20]
Lloh14:
	adrp	x10, _g_double@GOTPAGE
Lloh15:
	ldr	x10, [x10, _g_double@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x8, #4]
	b	LBB0_12
LBB0_8:
	mov	x0, x1
	b	LBB0_12
LBB0_9:
Lloh17:
	adrp	x9, _HINTS_MERGE_EXTENSION@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HINTS_MERGE_EXTENSION@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cbz	x9, LBB0_11
; %bb.10:
	ldr	w1, [x8]
	ldr	w8, [x8, #8]
	neg	w0, w8
	b	LBB0_12
LBB0_11:
	mov	w0, #0
	bl	_assert
                                        ; implicit-def: $w1
                                        ; implicit-def: $w0
LBB0_12:
	ldr	w8, [x20]
Lloh20:
	adrp	x9, _g_desc@GOTPAGE
Lloh21:
	ldr	x9, [x9, _g_desc@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mvn	w0, w0
	mvn	w1, w1
LBB0_14:
	bl	_make_value64
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SEARCH_EXTENSION,8,3           ; @SEARCH_EXTENSION
	.comm	_SEARCHX_EXTENSION,8,3          ; @SEARCHX_EXTENSION
	.comm	_GH_mode,4,2                    ; @GH_mode
	.comm	_g_double,4,2                   ; @g_double
	.comm	_TARG_EXTENSION,8,3             ; @TARG_EXTENSION
	.comm	_HINTS_MERGE_EXTENSION,8,3      ; @HINTS_MERGE_EXTENSION
	.comm	_g_desc,4,2                     ; @g_desc
	.no_dead_strip	_load_heap_v
.subsections_via_symbols
