	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_duplicate_type           ## -- Begin function build_duplicate_type
	.p2align	4, 0x90
_build_duplicate_type:                  ## @build_duplicate_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_current_function_decl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	%rax, -32(%rbp)
	movq	_cfun@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_splay_tree_compare_pointers@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_splay_tree_new
	movl	%eax, -40(%rbp)
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_remap_type_1
	movl	%eax, %ebx
	movl	-40(%rbp), %edi
	callq	_splay_tree_delete
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_function_decl,8,3      ## @current_function_decl
	.comm	_cfun,4,2                       ## @cfun
	.comm	_splay_tree_compare_pointers,4,2 ## @splay_tree_compare_pointers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_duplicate_type           ; -- Begin function build_duplicate_type
	.p2align	2
_build_duplicate_type:                  ; @build_duplicate_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _current_function_decl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_function_decl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _cfun@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cfun@GOTPAGEOFF]
	stp	x8, x8, [sp, #16]
Lloh5:
	ldr	w8, [x9]
	str	w8, [sp, #12]
Lloh6:
	adrp	x8, _splay_tree_compare_pointers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _splay_tree_compare_pointers@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_splay_tree_new
	str	w0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_remap_type_1
	mov	x19, x0
	ldr	w0, [sp, #8]
	bl	_splay_tree_delete
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current_function_decl,8,3      ; @current_function_decl
	.comm	_cfun,4,2                       ; @cfun
	.comm	_splay_tree_compare_pointers,4,2 ; @splay_tree_compare_pointers
.subsections_via_symbols
