	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cb_sscan                       ## -- Begin function cb_sscan
	.p2align	4, 0x90
_cb_sscan:                              ## @cb_sscan
	.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
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.2:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_25
## %bb.3:
	movq	$0, (%r15)
	movb	(%rbx), %al
	xorl	%r14d, %r14d
	testb	%al, %al
	je	LBB0_26
## %bb.4:
	movq	%rdi, %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movb	1(%rbx), %al
	incq	%rbx
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	cmpb	$32, %al
	je	LBB0_5
	.p2align	4, 0x90
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testb	%al, %al
	je	LBB0_25
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, %al
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$32, %al
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movsbl	%al, %edi
	callq	_hex2int
	movsbl	1(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %r13d
	callq	_hex2int
	testl	%r13d, %r13d
	js	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	testl	%eax, %eax
	js	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$32, 2(%rbx)
	jne	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=2
	shll	$4, %r13d
	orl	%r13d, %eax
	movb	%al, (%r12)
	incq	(%r15)
	incq	%r12
	movzbl	3(%rbx), %eax
	addq	$3, %rbx
	testb	%al, %al
	jne	LBB0_8
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %eax
	testb	%al, %al
	je	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	incq	%rbx
	cmpb	$10, %al
	jne	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	1(%rbx), %al
	incq	%rbx
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_26
LBB0_25:
	movl	$-1, %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$8, %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	_cb_sscan                       ; -- Begin function cb_sscan
	.p2align	2
_cb_sscan:                              ; @cb_sscan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	mov	w0, #-1
	cbz	x21, LBB0_19
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_19
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_19
; %bb.3:
	str	xzr, [x20]
	ldrb	w8, [x19]
	cbz	w8, LBB0_17
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	and	w9, w8, #0xff
	cmp	w9, #32
	b.ne	LBB0_6
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19, #1]!
	cmp	w8, #32
	b.eq	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ands	w9, w8, #0xff
	b.eq	LBB0_18
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #10
	b.eq	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w9, #32
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	sxtb	w0, w8
	bl	_hex2int
	mov	x22, x0
	ldrsb	w0, [x19, #1]
	cbz	w0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	bl	_hex2int
	mov	x8, x0
	mov	w0, #-1
	tbnz	w22, #31, LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	tbnz	w8, #31, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	ldrb	w9, [x19, #2]
	cmp	w9, #32
	b.ne	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	orr	w8, w8, w22, lsl #4
	strb	w8, [x21], #1
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	ldrb	w8, [x19, #3]!
	ands	w9, w8, #0xff
	b.ne	LBB0_7
	b	LBB0_18
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	cmp	w8, #10
	b.ne	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	ldrb	w8, [x19, #1]!
	cbnz	w8, LBB0_4
	b	LBB0_19
LBB0_17:
	mov	w0, #0
	b	LBB0_19
LBB0_18:
	mov	w0, #-1
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
