	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_tpi_stream               ## -- Begin function parse_tpi_stream
	.p2align	4, 0x90
_parse_tpi_stream:                      ## @parse_tpi_stream
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_r_list_new
	movl	%eax, (%r15)
	movq	_p_types_list@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	4(%r15), %rdx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_stream_file_read
	movl	4(%r15), %r13d
	movq	_base_idx@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	cmpl	8(%r15), %r13d
	jge	LBB0_6
## %bb.1:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movl	%r13d, (%rax)
	movq	%rax, %rdi
	addq	$8, %rdi
	movq	$0, 16(%rax)
	movq	_eLF_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	callq	_init_stype_info
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_parse_tpi_stypes
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_r_list_append
	incl	%r13d
	cmpl	8(%r15), %r13d
	jl	LBB0_2
LBB0_6:
	movl	$1, %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_p_types_list,4,2               ## @p_types_list
	.comm	_base_idx,4,2                   ## @base_idx
	.comm	_eLF_MAX,4,2                    ## @eLF_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_tpi_stream               ; -- Begin function parse_tpi_stream
	.p2align	2
_parse_tpi_stream:                      ; @parse_tpi_stream
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_r_list_new
	str	w0, [x20]
Lloh0:
	adrp	x8, _p_types_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _p_types_list@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	add	x2, x20, #4
	mov	x0, x19
	mov	w1, #4
	bl	_stream_file_read
Lloh3:
	adrp	x8, _base_idx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _base_idx@GOTPAGEOFF]
	ldp	w22, w9, [x20, #4]
Lloh5:
	str	w22, [x8]
	cmp	w22, w9
	b.ge	LBB0_5
; %bb.1:
Lloh6:
	adrp	x23, _eLF_MAX@GOTPAGE
Lloh7:
	ldr	x23, [x23, _eLF_MAX@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	str	w22, [x0]
	str	xzr, [x0, #16]
	ldr	w8, [x23]
	str	w8, [x0, #8]!
	bl	_init_stype_info
	mov	x0, x19
	mov	x1, x21
	bl	_parse_tpi_stypes
	cbz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_r_list_append
	add	w22, w22, #1
	ldr	w8, [x20, #8]
	cmp	w22, w8
	b.lt	LBB0_2
LBB0_5:
	mov	w0, #1
LBB0_6:
	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
LBB0_7:
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_p_types_list,4,2               ; @p_types_list
	.comm	_base_idx,4,2                   ; @base_idx
	.comm	_eLF_MAX,4,2                    ; @eLF_MAX
.subsections_via_symbols
