	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmtypes                        ## -- Begin function rmtypes
	.p2align	4, 0x90
_rmtypes:                               ## @rmtypes
	.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	_maxlevel@GOTPCREL(%rip), %r14
	cmpl	%edi, (%r14)
	jl	LBB0_15
## %bb.1:
	movl	%edi, %r12d
	movl	$0, (%r14)
	movq	_typetable@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_NELEMS
	testl	%eax, %eax
	jle	LBB0_15
## %bb.2:
	xorl	%ebx, %ebx
	movq	_FUNCTION@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rdi
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_NELEMS
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r15), %rdi
	movq	(%rdi,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rdi,%rbx,8), %rdx
	movq	(%r13), %rax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rcx), %rsi
	movq	%rcx, %rdx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	%rsi, %rcx
	testq	%rsi, %rsi
	je	LBB0_13
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rax, 8(%rcx)
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rsi), %esi
	cmpl	%r12d, %esi
	jge	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	(%r14), %esi
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=2
	movl	%esi, (%r14)
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rcx), %rsi
	movq	%rsi, (%rdx)
	jmp	LBB0_12
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_maxlevel,4,2                   ## @maxlevel
	.comm	_typetable,8,3                  ## @typetable
	.comm	_FUNCTION,8,3                   ## @FUNCTION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmtypes                        ; -- Begin function rmtypes
	.p2align	2
_rmtypes:                               ; @rmtypes
	.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
Lloh0:
	adrp	x20, _maxlevel@GOTPAGE
Lloh1:
	ldr	x20, [x20, _maxlevel@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, w0
	b.lt	LBB0_14
; %bb.1:
	mov	x19, x0
	str	wzr, [x20]
Lloh2:
	adrp	x21, _typetable@GOTPAGE
Lloh3:
	ldr	x21, [x21, _typetable@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_NELEMS
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x22, #0
Lloh4:
	adrp	x23, _FUNCTION@GOTPAGE
Lloh5:
	ldr	x23, [x23, _FUNCTION@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	bl	_NELEMS
	cmp	x22, w0, sxtw
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x0, [x21]
	add	x10, x0, x22, lsl #3
	ldr	x9, [x10]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x11, [x9]
	mov	x10, x9
	mov	x9, x11
	cbz	x11, LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9, #8]
	cmp	x11, x8
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x11, [x9, #16]
	cbz	x11, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w11, [x11]
	cmp	w11, w19
	b.ge	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w10, [x20]
	cmp	w11, w10
	b.le	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	str	w11, [x20]
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x11, [x9]
	str	x11, [x10]
	mov	x9, x11
	cbnz	x11, LBB0_8
	b	LBB0_3
LBB0_14:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_maxlevel,4,2                   ; @maxlevel
	.comm	_typetable,8,3                  ; @typetable
	.comm	_FUNCTION,8,3                   ; @FUNCTION
.subsections_via_symbols
