	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdb_process_types
_pdb_process_types:                     ## @pdb_process_types
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movl	$2, %esi
	callq	_pdb_read_file
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r14
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	callq	_pdb_convert_types_header
	movl	-48(%rbp), %esi
	cmpl	$19961030, %esi                 ## imm = 0x13094C6
	jle	LBB0_2
## %bb.4:
	cmpl	$19961031, %esi                 ## imm = 0x13094C7
	je	LBB0_8
## %bb.5:
	cmpl	$19990903, %esi                 ## imm = 0x1310977
	je	LBB0_8
## %bb.6:
	cmpl	$20040203, %esi                 ## imm = 0x131CA0B
	je	LBB0_8
	jmp	LBB0_7
LBB0_2:
	cmpl	$19950410, %esi                 ## imm = 0x1306B4A
	je	LBB0_8
## %bb.3:
	cmpl	$19951122, %esi                 ## imm = 0x1306E12
	je	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
LBB0_8:
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)
	movl	-44(%rbp), %ebx
	subl	-40(%rbp), %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	4(,%rbx,4), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r15
	movslq	-36(%rbp), %rax
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -64(%rbp)
	movl	$0, -80(%rbp)
	cmpl	$0, -32(%rbp)
	jle	LBB0_13
## %bb.9:
	testl	%ebx, %ebx
	js	LBB0_13
## %bb.10:
	xorl	%edx, %edx
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rsi
	subq	%rax, %rsi
	shrq	$2, %rsi
	leal	1(%rdx), %edi
	movl	%edi, -80(%rbp)
	movslq	%edx, %rdx
	movl	%esi, (%r15,%rdx,4)
	movq	(%rcx), %rdx
	leaq	(%rcx,%rdx,4), %rcx
	addq	$8, %rcx
	movslq	-32(%rbp), %rdx
	leaq	(%rax,%rdx,4), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-80(%rbp), %edx
	cmpl	%ebx, %edx
	jle	LBB0_11
LBB0_13:
	movq	%r15, -72(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_codeview_parse_type_table
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
	movq	%r14, %rdi
	callq	_pdb_free
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-Unknown type info version %d\n"

	.no_dead_strip	_pdb_process_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdb_process_types
_pdb_process_types:                     ; @pdb_process_types
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x0, x1
	mov	w1, #2
	bl	_pdb_read_file
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	add	x0, sp, #40
	mov	x1, x19
	bl	_pdb_convert_types_header
	ldr	w1, [sp, #40]
	mov	w8, #38086
	movk	w8, #304, lsl #16
	cmp	w1, w8
	b.le	LBB0_9
; %bb.2:
	mov	w8, #38087
	movk	w8, #304, lsl #16
	cmp	w1, w8
	mov	w8, #2423
	movk	w8, #305, lsl #16
	ccmp	w1, w8, #4, ne
	mov	w8, #51723
	movk	w8, #305, lsl #16
	ccmp	w1, w8, #4, ne
	b.ne	LBB0_10
LBB0_3:
	ldr	w8, [x20]
	str	w8, [sp, #32]
	ldp	w8, w9, [sp, #44]
	sub	w21, w8, w9
	bl	_GetProcessHeap
	lsl	w8, w21, #2
	add	w2, w8, #4
	mov	w1, #0
	bl	_HeapAlloc
	mov	x20, x0
	ldp	w8, w9, [sp, #52]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x8, x19, x8, lsl #2
	str	x8, [sp, #24]
	str	wzr, [sp, #8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.4:
	tbnz	w21, #31, LBB0_7
; %bb.5:
	mov	w10, #0
	mov	x9, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x11, x9, x8
	lsr	x11, x11, #2
	add	w12, w10, #1
	str	w12, [sp, #8]
	str	w11, [x20, w10, sxtw #2]
	ldr	x10, [x9]
	add	x9, x9, x10, lsl #2
	add	x9, x9, #8
	ldrsw	x10, [sp, #56]
	add	x11, x8, x10, lsl #2
	ldr	w10, [sp, #8]
	cmp	x9, x11
	ccmp	w10, w21, #0, lo
	b.le	LBB0_6
LBB0_7:
	str	x20, [sp, #16]
	add	x0, sp, #8
	bl	_codeview_parse_type_table
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
	mov	x0, x19
	bl	_pdb_free
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	mov	w8, #27466
	movk	w8, #304, lsl #16
	cmp	w1, w8
	mov	w8, #28178
	movk	w8, #304, lsl #16
	ccmp	w1, w8, #4, ne
	b.eq	LBB0_3
LBB0_10:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-Unknown type info version %d\n"

	.no_dead_strip	_pdb_process_types
.subsections_via_symbols
