	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse
_parse:                                 ## @parse
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_r_str_trim_head
	movq	%r15, %rdi
	movl	$35, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movb	$0, (%rax)
	movq	%r15, %rdi
	callq	_r_str_trim
LBB0_4:
	cmpb	$46, (%r15)
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_strlen
	cltq
	cmpb	$58, -1(%rax,%r15)
	jne	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	jmp	LBB0_28
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_29
LBB0_7:
	movq	%r15, %rdi
	movl	$36, %esi
	xorl	%edx, %edx
	callq	_r_str_replace_char
	movq	%r15, %rdi
	movl	$37, %esi
	xorl	%edx, %edx
	callq	_r_str_replace_char
	movq	%r15, %rdi
	movl	$9, %esi
	movl	$32, %edx
	callq	_r_str_replace_char
	movq	%r15, %rdi
	movl	$40, %esi
	movl	$91, %edx
	callq	_r_str_replace_char
	movq	%r15, %rdi
	movl	$41, %esi
	movl	$93, %edx
	callq	_r_str_replace_char
	movq	%r15, %rdi
	movl	$91, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%rax, %r13
	movb	$0, (%rax)
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_r_str_lchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movl	$44, %esi
	callq	_r_str_lchr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, %r12d
	movb	$91, (%r13)
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_memmove
	movq	%r15, %rdi
	movl	$93, %esi
	callq	_r_str_lchr
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.11:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	incq	%rdi
	callq	_strdup
	movq	%rax, %r13
	testl	%r12d, %r12d
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmovgq	%rax, %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movq	%r13, %rcx
	callq	_sprintf
	movq	%r13, %rdi
	callq	_free
LBB0_14:
	cmpb	$0, (%r15)
	je	LBB0_27
LBB0_15:
	movb	$0, -176(%rbp)
	movb	$0, -144(%rbp)
	movb	$0, -112(%rbp)
	movb	$0, -80(%rbp)
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movl	$9, %esi
	callq	_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_26
LBB0_17:
	movb	$0, (%r12)
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%r12)
	leaq	1(%r12), %r12
	je	LBB0_18
## %bb.19:
	leaq	-80(%rbp), %rdi
	movq	%r15, %rsi
	movl	$31, %edx
	callq	_strncpy
	leaq	-112(%rbp), %rdi
	movq	%r12, %rsi
	movl	$31, %edx
	callq	_strncpy
	movq	%r12, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_26
## %bb.20:
	movq	%rax, %rbx
	movb	$0, (%rax)
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_21
## %bb.22:
	leaq	-112(%rbp), %rdi
	movq	%r12, %rsi
	movl	$31, %edx
	callq	_strncpy
	leaq	-144(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$31, %edx
	callq	_strncpy
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:
	movq	%rax, %rbx
	movb	$0, (%rax)
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_24
## %bb.25:
	leaq	-144(%rbp), %rdi
	movq	%r12, %rsi
	movl	$31, %edx
	callq	_strncpy
	leaq	-176(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$31, %edx
	callq	_strncpy
LBB0_26:
	leaq	-80(%rbp), %rax
	movq	%rax, -208(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -200(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, -192(%rbp)
	leaq	-176(%rbp), %rax
	movdqa	-80(%rbp), %xmm0
	pinsrb	$1, -112(%rbp), %xmm0
	pinsrb	$2, -144(%rbp), %xmm0
	movq	%rax, -184(%rbp)
	pinsrb	$3, -176(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	pcmpeqb	%xmm0, %xmm1
	pcmpeqd	%xmm0, %xmm0
	pxor	%xmm1, %xmm0
	pmovsxbd	%xmm0, %xmm0
	movmskps	%xmm0, %eax
	movl	%eax, %ecx
	shrb	%cl
	andb	$5, %cl
	subb	%cl, %al
	movl	%eax, %ecx
	andb	$51, %cl
	shrb	$2, %al
	andb	$51, %al
	addb	%cl, %al
	movl	%eax, %ecx
	shrb	$4, %cl
	addb	%al, %cl
	andb	$15, %cl
	movzbl	%cl, %edi
	leaq	-208(%rbp), %rsi
	movq	%r14, %rdx
	callq	_replace
LBB0_27:
	movq	%r15, %rdi
	callq	_free
LBB0_28:
	movl	$1, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movb	$91, (%r13)
	cmpb	$0, (%r15)
	jne	LBB0_15
	jmp	LBB0_27
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+%d]%s"

L_.str.1:                               ## @.str.1
	.asciz	"%d]%s"

	.no_dead_strip	_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse
_parse:                                 ; @parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	x0, x1
	bl	_strdup
	cbz	x0, LBB0_27
; %bb.1:
	mov	x20, x0
	bl	_r_str_trim_head
	mov	x0, x20
	mov	w1, #35
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.2:
	strb	wzr, [x0]
	mov	x0, x20
	bl	_r_str_trim
LBB0_3:
	ldrb	w8, [x20]
	cmp	w8, #46
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_strlen
	add	x8, x20, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #58
	b.ne	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	mov	x1, x21
	bl	_strcpy
	b	LBB0_26
LBB0_6:
	mov	x0, x20
	mov	w1, #36
	mov	w2, #0
	bl	_r_str_replace_char
	mov	x0, x20
	mov	w1, #37
	mov	w2, #0
	bl	_r_str_replace_char
	mov	x0, x20
	mov	w1, #9
	mov	w2, #32
	bl	_r_str_replace_char
	mov	x0, x20
	mov	w1, #40
	mov	w2, #91
	bl	_r_str_replace_char
	mov	x0, x20
	mov	w1, #41
	mov	w2, #93
	bl	_r_str_replace_char
	mov	x0, x20
	mov	w1, #91
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.7:
	mov	x21, x0
	strb	wzr, [x0]
	mov	x0, x20
	mov	w1, #32
	bl	_r_str_lchr
	cbnz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	w1, #44
	bl	_r_str_lchr
	cbz	x0, LBB0_29
LBB0_9:
	add	x23, x0, #1
	mov	x0, x23
	bl	_atoi
	mov	x22, x0
	mov	w8, #91
	strb	w8, [x21]
	mov	x0, x21
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x23
	mov	x1, x21
	bl	_memmove
	mov	x0, x20
	mov	w1, #93
	bl	_r_str_lchr
	cbz	w22, LBB0_12
; %bb.10:
	mov	x21, x0
	cbz	x0, LBB0_12
; %bb.11:
	add	x0, x21, #1
	bl	_strdup
	mov	x23, x0
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w22, #0
	csel	x1, x9, x8, gt
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	bl	_sprintf
	mov	x0, x23
	bl	_free
LBB0_12:
	ldrb	w8, [x20]
	cbz	w8, LBB0_25
LBB0_13:
	strb	wzr, [sp, #40]
	strb	wzr, [sp, #72]
	strb	wzr, [sp, #104]
	sturb	wzr, [x29, #-88]
	mov	x0, x20
	mov	w1, #32
	bl	_strchr
	mov	x21, x0
	cbnz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	w1, #9
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_24
LBB0_15:
	strb	wzr, [x21]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21, #1]!
	cmp	w8, #32
	b.eq	LBB0_16
; %bb.17:
	sub	x0, x29, #88
	mov	x1, x20
	mov	w2, #31
	bl	_strncpy
	add	x0, sp, #104
	mov	x1, x21
	mov	w2, #31
	bl	_strncpy
	mov	x0, x21
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_24
; %bb.18:
	mov	x22, x0
	strb	wzr, [x0]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22, #1]!
	cmp	w8, #32
	b.eq	LBB0_19
; %bb.20:
	add	x0, sp, #104
	mov	x1, x21
	mov	w2, #31
	bl	_strncpy
	add	x0, sp, #72
	mov	x1, x22
	mov	w2, #31
	bl	_strncpy
	mov	x0, x22
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_24
; %bb.21:
	mov	x22, x0
	strb	wzr, [x0]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22, #1]!
	cmp	w8, #32
	b.eq	LBB0_22
; %bb.23:
	add	x0, sp, #72
	mov	x1, x21
	mov	w2, #31
	bl	_strncpy
	add	x0, sp, #40
	mov	x1, x22
	mov	w2, #31
	bl	_strncpy
LBB0_24:
	sub	x8, x29, #88
	add	x9, sp, #104
	stp	x8, x9, [sp, #8]
	add	x8, sp, #72
	add	x9, sp, #40
	stp	x8, x9, [sp, #24]
	ldurb	w8, [x29, #-88]
	ldrb	w9, [sp, #104]
	cmp	w9, #0
	cset	w9, ne
	cmp	w8, #0
	cinc	w8, w9, ne
	ldrb	w9, [sp, #72]
	cmp	w9, #0
	cinc	w8, w8, ne
	ldrb	w9, [sp, #40]
	cmp	w9, #0
	cinc	w0, w8, ne
	add	x1, sp, #8
	mov	x2, x19
	bl	_replace
LBB0_25:
	mov	x0, x20
	bl	_free
LBB0_26:
	mov	w0, #1
LBB0_27:
	ldur	x8, [x29, #-56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.28:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_29:
	mov	w8, #91
	strb	w8, [x21]
	ldrb	w8, [x20]
	cbnz	w8, LBB0_13
	b	LBB0_25
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+%d]%s"

l_.str.1:                               ; @.str.1
	.asciz	"%d]%s"

	.no_dead_strip	_parse
.subsections_via_symbols
