	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_typedefs                ## -- Begin function remove_typedefs
	.p2align	4, 0x90
_remove_typedefs:                       ## @remove_typedefs
	.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	_types@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movl	%edi, %r14d
	movq	_ECPGt_struct@GOTPCREL(%rip), %r12
	movq	%rax, %r13
	movq	%rax, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rbx)
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rbx
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	%rax, 16(%r13)
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %r13
	movq	%r13, (%r15)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdi
	movq	8(%rdi), %rax
	cmpq	(%r12), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ECPGt_union@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rdi
	callq	_free
	movq	32(%rbx), %rdi
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_free
	movq	24(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	(%r15), %rax
	cmpq	%rax, %r13
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	jne	LBB0_13
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	movq	%r13, %rax
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_types,8,3                      ## @types
	.comm	_ECPGt_struct,8,3               ## @ECPGt_struct
	.comm	_ECPGt_union,8,3                ## @ECPGt_union
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_typedefs                ; -- Begin function remove_typedefs
	.p2align	2
_remove_typedefs:                       ; @remove_typedefs
	.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	x21, _types@GOTPAGE
Lloh1:
	ldr	x21, [x21, _types@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, _ECPGt_struct@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ECPGt_struct@GOTPAGEOFF]
Lloh4:
	adrp	x23, _ECPGt_union@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ECPGt_union@GOTPAGEOFF]
	mov	x24, x8
	mov	x20, x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x24, #16]
	cbz	x20, LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20]
	cmp	w9, w19
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	str	x8, [x24, #16]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x24, [x8, #16]
	str	x24, [x21]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #32]
	ldr	x8, [x0, #8]
	ldr	x9, [x22]
	ldr	x10, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #40]
	bl	_free
	ldr	x0, [x20, #32]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_free
	ldr	x0, [x20, #24]
	bl	_free
	mov	x0, x20
	bl	_free
	ldr	x8, [x21]
	cmp	x24, x8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x24, LBB0_3
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x24
	mov	x8, x24
	cbnz	x20, LBB0_4
LBB0_13:
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_types,8,3                      ; @types
	.comm	_ECPGt_struct,8,3               ; @ECPGt_struct
	.comm	_ECPGt_union,8,3                ; @ECPGt_union
.subsections_via_symbols
