	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_protos
_parse_protos:                          ## @parse_protos
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_init_protos
	leaq	L_.str(%rip), %r15
	leaq	-40(%rbp), %rbx
	movq	_protos@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_get_proto_type
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rcx
	movl	%r14d, %edx
	incl	%r14d
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_3
LBB0_7:
	movq	_numprotos@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	jmp	LBB0_8
LBB0_1:
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

	.comm	_protos,8,3                     ## @protos
	.comm	_numprotos,4,2                  ## @numprotos
	.no_dead_strip	_parse_protos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_protos
_parse_protos:                          ; @parse_protos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.1:
	mov	w0, #0
	bl	_init_protos
	mov	w19, #0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, _protos@GOTPAGE
Lloh3:
	ldr	x21, [x21, _protos@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x20
	bl	_strsep
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_get_proto_type
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	str	w0, [x8, w19, uxtw #2]
	add	w19, w19, #1
	b	LBB0_2
LBB0_6:
Lloh4:
	adrp	x8, _numprotos@GOTPAGE
Lloh5:
	ldr	x8, [x8, _numprotos@GOTPAGEOFF]
Lloh6:
	str	w19, [x8]
	b	LBB0_8
LBB0_7:
	mov	w19, #-1
LBB0_8:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

	.comm	_protos,8,3                     ; @protos
	.comm	_numprotos,4,2                  ; @numprotos
	.no_dead_strip	_parse_protos
.subsections_via_symbols
