	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_base_for
_get_base_for:                          ## @get_base_for
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_is_gimple_min_invariant
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_chain_of_csts_start
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_loop_preheader_edge
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_PHI_ARG_DEF_FROM_EDGE
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_loop_latch_edge
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_PHI_ARG_DEF_FROM_EDGE
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_is_gimple_min_invariant
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_chain_of_csts_start
	cmpq	%rbx, %rax
	je	LBB0_6
LBB0_5:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.no_dead_strip	_get_base_for
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_base_for
_get_base_for:                          ; @get_base_for
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_is_gimple_min_invariant
	cbnz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_chain_of_csts_start
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_loop_preheader_edge
	mov	x1, x0
	mov	x0, x20
	bl	_PHI_ARG_DEF_FROM_EDGE
	mov	x21, x0
	mov	x0, x19
	bl	_loop_latch_edge
	mov	x1, x0
	mov	x0, x20
	bl	_PHI_ARG_DEF_FROM_EDGE
	mov	x22, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _SSA_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSA_NAME@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_is_gimple_min_invariant
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	bl	_chain_of_csts_start
Lloh3:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x20
	csel	x20, x20, x8, eq
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.no_dead_strip	_get_base_for
.subsections_via_symbols
