	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_signature                ## -- Begin function parse_signature
	.p2align	4, 0x90
_parse_signature:                       ## @parse_signature
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rdi,%r14), %r13
	movq	%r13, %rdi
	callq	_get_format_by_sig
	testq	%rax, %rax
	cmovneq	%r14, %r12
	movq	%r15, %rbx
	subq	%r14, %rbx
	movq	%r13, %rdi
	movl	$10, %esi
	movq	%rbx, %rdx
	callq	_memchr
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rcx
	subq	%r13, %rcx
	incq	%rcx
	testq	%rax, %rax
	cmoveq	%rbx, %rcx
	addq	%rcx, %r14
	cmpq	%r15, %r14
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_signature                ; -- Begin function parse_signature
	.p2align	2
_parse_signature:                       ; @parse_signature
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x24, #0
	mov	x21, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x20, x24
	mov	x0, x22
	bl	_get_format_by_sig
	cmp	x0, #0
	csel	x21, x21, x24, eq
	sub	x23, x19, x24
	mov	x0, x22
	mov	w1, #10
	mov	x2, x23
	bl	_memchr
	sub	x8, x0, x22
	cmp	x0, #0
	csinc	x8, x23, x8, eq
	add	x24, x8, x24
	cmp	x24, x19
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
