	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Util_sscanhex                  ## -- Begin function Util_sscanhex
	.p2align	4, 0x90
_Util_sscanhex:                         ## @Util_sscanhex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %dl
	testb	%dl, %dl
	je	LBB0_1
## %bb.2:
	incq	%rdi
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%dl, %edx
	shll	$4, %ecx
	addl	%eax, %ecx
	addl	%edx, %ecx
	movzbl	(%rdi), %edx
	incq	%rdi
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-48(%rdx), %esi
	movl	$-48, %eax
	cmpb	$10, %sil
	jb	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%rdx), %esi
	movl	$-55, %eax
	cmpb	$6, %sil
	jb	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rdx), %esi
	movl	$-87, %eax
	cmpb	$6, %sil
	jb	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	negb	%dl
	sbbl	%eax, %eax
	orl	%ecx, %eax
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	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	_Util_sscanhex                  ; -- Begin function Util_sscanhex
	.p2align	2
_Util_sscanhex:                         ; @Util_sscanhex
	.cfi_startproc
; %bb.0:
	ldrb	w11, [x0]
	cbz	w11, LBB0_10
; %bb.1:
	mov	w8, #0
	add	x9, x0, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #-48
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w11, w8, lsl #4
	add	w8, w8, w10
	ldrb	w11, [x9], #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w10, w11
	sub	w11, w11, #48
	and	w11, w11, #0xff
	cmp	w11, #10
	b.lo	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w11, w10, #65
	cmp	w11, #6
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #-55
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w11, w10, #97
	cmp	w11, #6
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #-87
	b	LBB0_3
LBB0_9:
	cmp	w10, #0
	csinv	w0, w8, wzr, eq
	ret
LBB0_10:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
