	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_type_number
_read_type_number:                      ## @read_type_number
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpb	$40, (%rax)
	jne	LBB0_3
## %bb.1:
	incq	%rax
	movq	%rax, (%rbx)
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_read_huge_number
	movl	%eax, (%r14)
	movl	$-1, %r15d
	cmpl	$0, -28(%rbp)
	jne	LBB0_6
## %bb.2:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$41, %esi
	callq	_read_huge_number
	movl	%eax, 4(%r14)
	cmpl	$0, -28(%rbp)
	jne	LBB0_6
	jmp	LBB0_5
LBB0_3:
	movl	$0, (%r14)
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_read_huge_number
	movl	%eax, 4(%r14)
	movl	$-1, %r15d
	cmpl	$0, -28(%rbp)
	jne	LBB0_6
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_type_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_type_number
_read_type_number:                      ; @read_type_number
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cmp	w9, #40
	b.ne	LBB0_3
; %bb.1:
	add	x8, x8, #1
	str	x8, [x20]
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #44
	bl	_read_huge_number
	str	w0, [x19]
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_5
; %bb.2:
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #41
	b	LBB0_4
LBB0_3:
	str	wzr, [x19]
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #0
LBB0_4:
	bl	_read_huge_number
	str	w0, [x19, #4]
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_6
LBB0_5:
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_type_number
.subsections_via_symbols
