	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_to_base                ## -- Begin function convert_to_base
	.p2align	4, 0x90
_convert_to_base:                       ## @convert_to_base
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_TREE_TYPE
	movq	%rax, %rdi
	callq	_TYPE_PTR_P
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r13
LBB0_2:
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.4:
	movq	_ba_unique@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_ba_check@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_lookup_base
	movq	_error_mark_node@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	cmpq	%rcx, %rax
	je	LBB0_7
## %bb.8:
	movq	_PLUS_EXPR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_base_path                ## TAILCALL
LBB0_7:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ba_check,4,2                   ## @ba_check
	.comm	_ba_unique,4,2                  ## @ba_unique
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_PLUS_EXPR,4,2                  ## @PLUS_EXPR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_to_base                ; -- Begin function convert_to_base
	.p2align	2
_convert_to_base:                       ; @convert_to_base
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_TREE_TYPE
	bl	_TYPE_PTR_P
	mov	x24, x0
	mov	x0, x20
	bl	_TREE_TYPE
	mov	x23, x0
	cbz	x24, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_TREE_TYPE
	mov	x23, x0
	mov	x0, x21
	bl	_TREE_TYPE
	mov	x21, x0
LBB0_2:
Lloh0:
	adrp	x8, _ba_check@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ba_check@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ba_unique@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ba_unique@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x21
	mov	x3, #0
	bl	_lookup_base
	mov	x2, x0
Lloh4:
	adrp	x8, _error_mark_node@GOTPAGE
Lloh5:
	ldr	x8, [x8, _error_mark_node@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	cmp	x2, #0
	ccmp	x2, x0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	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
LBB0_4:
Lloh7:
	adrp	x8, _PLUS_EXPR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PLUS_EXPR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x3, x19
	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
	b	_build_base_path
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ba_check,4,2                   ; @ba_check
	.comm	_ba_unique,4,2                  ; @ba_unique
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_PLUS_EXPR,4,2                  ; @PLUS_EXPR
.subsections_via_symbols
