	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsubst_function_type
_tsubst_function_type:                  ## @tsubst_function_type
	.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
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_TYPE_CONTEXT
	movq	_NULL_TREE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_TREE_TYPE
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_tsubst
	movq	%rax, %rbx
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_ARRAY_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_FUNCTION_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_3:
	movq	_tf_error@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_ARRAY_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_5:
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	_TYPE_ARG_TYPES
	movl	%eax, %edi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_tsubst_arg_types
	movq	%rax, %r12
	movq	_error_mark_node@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_9
## %bb.8:
	movq	%r12, %rbx
	jmp	LBB0_6
LBB0_9:
	movq	%r15, %rdi
	callq	_TREE_CODE
	movq	_FUNCTION_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_build_function_type
	jmp	LBB0_15
LBB0_11:
	movq	%r12, %rdi
	callq	_TREE_VALUE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_AGGR_TYPE
	testl	%eax, %eax
	je	LBB0_12
## %bb.14:
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_build_method_type_directly
LBB0_15:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_TYPE_QUALS
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_cp_build_qualified_type_real
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_TYPE_ATTRIBUTES
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cp_build_type_attribute_variant ## TAILCALL
LBB0_12:
	movq	_tf_error@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_error_mark_node,8,3            ## @error_mark_node
	.comm	_ARRAY_TYPE,8,3                 ## @ARRAY_TYPE
	.comm	_FUNCTION_TYPE,8,3              ## @FUNCTION_TYPE
	.comm	_tf_error,4,2                   ## @tf_error
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function returning an array"

L_.str.1:                               ## @.str.1
	.asciz	"function returning a function"

L_.str.2:                               ## @.str.2
	.asciz	"creating pointer to member function of non-class type %qT"

	.no_dead_strip	_tsubst_function_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsubst_function_type
_tsubst_function_type:                  ; @tsubst_function_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	bl	_TYPE_CONTEXT
Lloh0:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x20
	bl	_TREE_TYPE
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	bl	_tsubst
	mov	x21, x0
Lloh3:
	adrp	x24, _error_mark_node@GOTPAGE
Lloh4:
	ldr	x24, [x24, _error_mark_node@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.1:
	mov	x0, x21
	bl	_TREE_CODE
Lloh5:
	adrp	x26, _ARRAY_TYPE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ARRAY_TYPE@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_TREE_CODE
Lloh7:
	adrp	x25, _FUNCTION_TYPE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _FUNCTION_TYPE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_8
LBB0_3:
Lloh9:
	adrp	x8, _tf_error@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tf_error@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_TREE_CODE
	ldr	x8, [x26]
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh14:
	adrp	x10, l_.str@PAGE
Lloh15:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x0, x8
	csel	x0, x10, x9, eq
LBB0_5:
	bl	_error
LBB0_6:
	ldr	x21, [x24]
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	mov	x0, x20
	bl	_TYPE_ARG_TYPES
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	bl	_tsubst_arg_types
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x21, x22
	b	LBB0_7
LBB0_10:
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x22
	bl	_build_function_type
	b	LBB0_14
LBB0_12:
	mov	x0, x22
	bl	_TREE_VALUE
	bl	_TREE_TYPE
	mov	x23, x0
	bl	_IS_AGGR_TYPE
	cbz	w0, LBB0_15
; %bb.13:
	mov	x0, x22
	bl	_TREE_CHAIN
	mov	x2, x0
	mov	x0, x23
	mov	x1, x21
	bl	_build_method_type_directly
LBB0_14:
	mov	x21, x0
	mov	x0, x20
	bl	_TYPE_QUALS
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_cp_build_qualified_type_real
	mov	x19, x0
	mov	x0, x20
	bl	_TYPE_ATTRIBUTES
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_cp_build_type_attribute_variant
LBB0_15:
Lloh16:
	adrp	x8, _tf_error@GOTPAGE
Lloh17:
	ldr	x8, [x8, _tf_error@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.16:
	str	x23, [sp]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_error_mark_node,8,3            ; @error_mark_node
	.comm	_ARRAY_TYPE,8,3                 ; @ARRAY_TYPE
	.comm	_FUNCTION_TYPE,8,3              ; @FUNCTION_TYPE
	.comm	_tf_error,4,2                   ; @tf_error
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"function returning an array"

l_.str.1:                               ; @.str.1
	.asciz	"function returning a function"

l_.str.2:                               ; @.str.2
	.asciz	"creating pointer to member function of non-class type %qT"

	.no_dead_strip	_tsubst_function_type
.subsections_via_symbols
