	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gb_parse_cb2
_gb_parse_cb2:                          ## @gb_parse_cb2
	.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
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_strlen
	xorl	%r12d, %r12d
	cmpl	%r14d, %eax
	jl	LBB0_13
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$1, %r8d
	callq	_r_str_replace_in
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$1, %r8d
	callq	_r_str_replace_in
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.5(%rip), %rcx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$1, %r8d
	callq	_r_str_replace_in
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r13
	movb	$0, (%rax)
	cmpb	$0, 1(%rbx)
	je	LBB0_5
## %bb.4:
	cmpb	$0, 1(%r13)
	je	LBB0_5
## %bb.6:
	incq	%rbx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_r_num_get
                                        ## kill: def $eax killed $eax def $rax
	movb	$44, (%r13)
	cmpl	$7, %eax
	jg	LBB0_13
## %bb.7:
	incq	%r13
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax,8), %eax
	movl	%eax, (%r15)
	movsbl	(%r13), %edi
	callq	_gb_reg_idx
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.8:
	orl	%eax, (%r15)
LBB0_12:
	movl	$1, %r12d
	jmp	LBB0_13
LBB0_5:
	movb	$44, (%r13)
LBB0_13:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r13, %rdi
	callq	_strlen
	cmpl	$4, %eax
	jl	LBB0_13
## %bb.10:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	orb	$6, (%r15)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[ "

L_.str.1:                               ## @.str.1
	.asciz	"["

L_.str.2:                               ## @.str.2
	.asciz	" ]"

L_.str.3:                               ## @.str.3
	.asciz	"]"

L_.str.4:                               ## @.str.4
	.asciz	", "

L_.str.5:                               ## @.str.5
	.asciz	","

L_.str.6:                               ## @.str.6
	.asciz	"[hl]"

	.no_dead_strip	_gb_parse_cb2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gb_parse_cb2
_gb_parse_cb2:                          ; @gb_parse_cb2
	.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	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x2
	bl	_strlen
	cmp	w0, w23
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_11
LBB0_2:
	mov	x22, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	w4, #1
	bl	_r_str_replace_in
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	w4, #1
	bl	_r_str_replace_in
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh10:
	adrp	x3, l_.str.5@PAGE
Lloh11:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	w4, #1
	bl	_r_str_replace_in
	mov	x0, x21
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.3:
	mov	x22, x0
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.4:
	mov	x23, x0
	strb	wzr, [x0]
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_10
; %bb.5:
	mov	x21, x23
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_10
; %bb.6:
	mov	x0, #0
	mov	x1, x22
	bl	_r_num_get
	mov	w8, #44
	strb	w8, [x23]
	cmp	w0, #7
	b.gt	LBB0_1
; %bb.7:
	add	w8, w20, w0, lsl #3
	str	w8, [x19]
	ldrsb	w0, [x21]
	bl	_gb_reg_idx
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.8:
	ldr	w8, [x19]
	orr	w8, w8, w0
LBB0_9:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	mov	w0, #0
	mov	w8, #44
	strb	w8, [x23]
LBB0_11:
	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_12:
	mov	x0, x21
	bl	_strlen
	cmp	w0, #4
	b.lt	LBB0_1
; %bb.13:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbnz	w0, LBB0_1
; %bb.14:
	ldr	w8, [x19]
	orr	w8, w8, #0x6
	b	LBB0_9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[ "

l_.str.1:                               ; @.str.1
	.asciz	"["

l_.str.2:                               ; @.str.2
	.asciz	" ]"

l_.str.3:                               ; @.str.3
	.asciz	"]"

l_.str.4:                               ; @.str.4
	.asciz	", "

l_.str.5:                               ; @.str.5
	.asciz	","

l_.str.6:                               ; @.str.6
	.asciz	"[hl]"

	.no_dead_strip	_gb_parse_cb2
.subsections_via_symbols
