	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_type_promotes_to               ## -- Begin function type_promotes_to
	.p2align	4, 0x90
_type_promotes_to:                      ## @type_promotes_to
	.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	%rdi, %rbx
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_TYPE_MAIN_VARIANT
	movq	%rax, %r14
	movq	_boolean_type_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_5
LBB0_2:
	movq	_integer_type_node@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rbx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	callq	_TREE_CODE
	movq	_ENUMERAL_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.6:
	movq	_wchar_type_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_11
## %bb.7:
	movq	%r14, %rdi
	callq	_c_promoting_integer_type_p
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%r14, %rdi
	callq	_TYPE_UNSIGNED
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	movq	%r14, %rdi
	callq	_TYPE_PRECISION
	movq	%rax, %rbx
	movq	_integer_type_node@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TYPE_PRECISION
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.10:
	movq	_unsigned_type_node@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	%r14, %rdi
	callq	_TYPE_PRECISION
	movq	%rax, %rbx
	movq	_integer_type_node@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TYPE_PRECISION
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_MAX
	movl	%eax, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_c_common_type_for_size
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_TYPE_UNSIGNED
	testq	%rax, %rax
	je	LBB0_4
## %bb.12:
	movq	%r14, %rdi
	callq	_TYPE_MAX_VALUE
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_int_fits_type_p
	testl	%eax, %eax
	jne	LBB0_4
## %bb.13:
	movl	%r15d, %edi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_c_common_type_for_size         ## TAILCALL
LBB0_14:
	movq	_float_type_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_16
## %bb.15:
	movq	_double_type_node@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_16:
	movq	%r14, %rbx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_boolean_type_node,8,3          ## @boolean_type_node
	.comm	_integer_type_node,8,3          ## @integer_type_node
	.comm	_ENUMERAL_TYPE,8,3              ## @ENUMERAL_TYPE
	.comm	_wchar_type_node,8,3            ## @wchar_type_node
	.comm	_unsigned_type_node,8,3         ## @unsigned_type_node
	.comm	_float_type_node,8,3            ## @float_type_node
	.comm	_double_type_node,8,3           ## @double_type_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_type_promotes_to               ; -- Begin function type_promotes_to
	.p2align	2
_type_promotes_to:                      ; @type_promotes_to
	.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, x0
Lloh0:
	adrp	x8, _error_mark_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _error_mark_node@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_TYPE_MAIN_VARIANT
Lloh3:
	adrp	x8, _boolean_type_node@GOTPAGE
Lloh4:
	ldr	x8, [x8, _boolean_type_node@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _integer_type_node@GOTPAGE
Lloh7:
	ldr	x8, [x8, _integer_type_node@GOTPAGEOFF]
LBB0_3:
	ldr	x20, [x8]
LBB0_4:
	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
LBB0_5:
	mov	x19, x0
	bl	_TREE_CODE
Lloh8:
	adrp	x8, _ENUMERAL_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENUMERAL_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _wchar_type_node@GOTPAGE
Lloh12:
	ldr	x9, [x9, _wchar_type_node@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x0, x8
	mov	x0, x19
	ccmp	x19, x9, #4, ne
	b.ne	LBB0_9
; %bb.6:
	bl	_TYPE_PRECISION
	mov	x20, x0
Lloh14:
	adrp	x8, _integer_type_node@GOTPAGE
Lloh15:
	ldr	x8, [x8, _integer_type_node@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	bl	_TYPE_PRECISION
	mov	x1, x0
	mov	x0, x20
	bl	_MAX
	mov	x21, x0
	mov	w1, #0
	bl	_c_common_type_for_size
	mov	x20, x0
	mov	x0, x19
	bl	_TYPE_UNSIGNED
	cbz	x0, LBB0_4
; %bb.7:
	mov	x0, x19
	bl	_TYPE_MAX_VALUE
	mov	x1, x20
	bl	_int_fits_type_p
	cbnz	w0, LBB0_4
; %bb.8:
	mov	x0, x21
	mov	w1, #1
	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
	b	_c_common_type_for_size
LBB0_9:
	bl	_c_promoting_integer_type_p
	cbz	x0, LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_TYPE_UNSIGNED
Lloh17:
	adrp	x20, _integer_type_node@GOTPAGE
Lloh18:
	ldr	x20, [x20, _integer_type_node@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.11:
	mov	x0, x19
	bl	_TYPE_PRECISION
	mov	x19, x0
	ldr	x0, [x20]
	bl	_TYPE_PRECISION
	cmp	x19, x0
	b.ne	LBB0_13
; %bb.12:
Lloh19:
	adrp	x8, _unsigned_type_node@GOTPAGE
Lloh20:
	ldr	x8, [x8, _unsigned_type_node@GOTPAGEOFF]
	b	LBB0_3
LBB0_13:
	ldr	x20, [x20]
	b	LBB0_4
LBB0_14:
Lloh21:
	adrp	x8, _float_type_node@GOTPAGE
Lloh22:
	ldr	x8, [x8, _float_type_node@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _double_type_node@GOTPAGE
Lloh25:
	ldr	x9, [x9, _double_type_node@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x19, x8
	csel	x20, x9, x19, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_boolean_type_node,8,3          ; @boolean_type_node
	.comm	_integer_type_node,8,3          ; @integer_type_node
	.comm	_ENUMERAL_TYPE,8,3              ; @ENUMERAL_TYPE
	.comm	_wchar_type_node,8,3            ; @wchar_type_node
	.comm	_unsigned_type_node,8,3         ; @unsigned_type_node
	.comm	_float_type_node,8,3            ; @float_type_node
	.comm	_double_type_node,8,3           ; @double_type_node
.subsections_via_symbols
