	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rest_of_handle_global_alloc
_rest_of_handle_global_alloc:           ## @rest_of_handle_global_alloc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_optimize@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_global_alloc
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_get_insns
	movl	%eax, %edi
	callq	_build_insn_chain
	xorl	%eax, %eax
	callq	_get_insns
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_reload
LBB0_3:
	movl	%eax, %r15d
	movq	_pass_global_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dump_enabled_p
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_TV_DUMP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_timevar_push
	movq	_dump_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dump_global_regs
	movl	(%r14), %edi
	callq	_timevar_pop
LBB0_5:
	movq	_reload_completed@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	sete	%bl
	xorl	%edi, %edi
	orl	(%r14), %r15d
	setne	%dil
	callq	_gcc_assert
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_optimize,8,3                   ## @optimize
	.comm	_pass_global_alloc,4,2          ## @pass_global_alloc
	.comm	_TV_DUMP,4,2                    ## @TV_DUMP
	.comm	_dump_file,4,2                  ## @dump_file
	.comm	_reload_completed,4,2           ## @reload_completed
	.no_dead_strip	_rest_of_handle_global_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rest_of_handle_global_alloc
_rest_of_handle_global_alloc:           ; @rest_of_handle_global_alloc
	.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
Lloh0:
	adrp	x8, _optimize@GOTPAGE
Lloh1:
	ldr	x8, [x8, _optimize@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_global_alloc
	b	LBB0_3
LBB0_2:
	bl	_get_insns
	bl	_build_insn_chain
	bl	_get_insns
	mov	w1, #0
	bl	_reload
LBB0_3:
	mov	x19, x0
Lloh3:
	adrp	x8, _pass_global_alloc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pass_global_alloc@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_dump_enabled_p
	cbz	x0, LBB0_5
; %bb.4:
Lloh6:
	adrp	x20, _TV_DUMP@GOTPAGE
Lloh7:
	ldr	x20, [x20, _TV_DUMP@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_timevar_push
Lloh8:
	adrp	x8, _dump_file@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dump_file@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_dump_global_regs
	ldr	w0, [x20]
	bl	_timevar_pop
LBB0_5:
Lloh11:
	adrp	x20, _reload_completed@GOTPAGE
Lloh12:
	ldr	x20, [x20, _reload_completed@GOTPAGEOFF]
	ldr	w8, [x20]
	orr	w8, w8, w19
	cmp	w19, #0
	cset	w19, eq
	cmp	w8, #0
	cset	w0, ne
	bl	_gcc_assert
	str	w19, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_optimize,8,3                   ; @optimize
	.comm	_pass_global_alloc,4,2          ; @pass_global_alloc
	.comm	_TV_DUMP,4,2                    ; @TV_DUMP
	.comm	_dump_file,4,2                  ; @dump_file
	.comm	_reload_completed,4,2           ; @reload_completed
	.no_dead_strip	_rest_of_handle_global_alloc
.subsections_via_symbols
