	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_hexadecimal
_parse_hexadecimal:                     ## @parse_hexadecimal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.1:
	cmpb	$48, (%rdi)
	jne	LBB0_21
## %bb.2:
	movb	1(%rdi), %al
	orb	$32, %al
	cmpb	$120, %al
	jne	LBB0_21
## %bb.3:
	movl	$0, (%rsi)
	movsbl	2(%rdi), %edx
	movl	$1, %eax
	testl	%edx, %edx
	je	LBB0_20
## %bb.4:
	leal	-48(%rdx), %r8d
	movl	$-48, %ecx
	cmpb	$10, %r8b
	jb	LBB0_7
## %bb.5:
	leal	-97(%rdx), %r8d
	movl	$-87, %ecx
	cmpb	$6, %r8b
	jb	LBB0_7
## %bb.6:
	leal	-65(%rdx), %r8d
	movl	$-55, %ecx
	cmpb	$5, %r8b
	ja	LBB0_21
LBB0_7:
	addl	%edx, %ecx
	movl	%ecx, (%rsi)
	cmpb	$0, 3(%rdi)
	je	LBB0_20
## %bb.8:
	shll	$4, %ecx
	movl	%ecx, (%rsi)
	movsbl	3(%rdi), %r8d
	leal	-48(%r8), %r9d
	movl	$-48, %edx
	cmpb	$10, %r9b
	jb	LBB0_11
## %bb.9:
	leal	-97(%r8), %r9d
	movl	$-87, %edx
	cmpb	$6, %r9b
	jb	LBB0_11
## %bb.10:
	leal	-65(%r8), %r9d
	movl	$-55, %edx
	cmpb	$5, %r9b
	ja	LBB0_21
LBB0_11:
	addl	%r8d, %edx
	orl	%ecx, %edx
	movl	%edx, (%rsi)
	cmpb	$0, 4(%rdi)
	je	LBB0_20
## %bb.12:
	shll	$4, %edx
	movl	%edx, (%rsi)
	movsbl	4(%rdi), %r8d
	leal	-48(%r8), %r9d
	movl	$-48, %ecx
	cmpb	$10, %r9b
	jb	LBB0_15
## %bb.13:
	leal	-97(%r8), %r9d
	movl	$-87, %ecx
	cmpb	$6, %r9b
	jb	LBB0_15
## %bb.14:
	leal	-65(%r8), %r9d
	movl	$-55, %ecx
	cmpb	$5, %r9b
	ja	LBB0_21
LBB0_15:
	addl	%r8d, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%rsi)
	cmpb	$0, 5(%rdi)
	je	LBB0_20
## %bb.16:
	shll	$4, %ecx
	movl	%ecx, (%rsi)
	movsbl	5(%rdi), %r8d
	leal	-48(%r8), %eax
	movl	$-48, %edx
	cmpb	$10, %al
	jb	LBB0_19
## %bb.17:
	leal	-97(%r8), %eax
	movl	$-87, %edx
	cmpb	$6, %al
	jb	LBB0_19
## %bb.18:
	leal	-65(%r8), %r9d
	movl	$-55, %edx
	movl	$0, %eax
	cmpb	$5, %r9b
	ja	LBB0_20
LBB0_19:
	addl	%r8d, %edx
	orl	%ecx, %edx
	movl	%edx, (%rsi)
	xorl	%eax, %eax
	cmpb	$0, 6(%rdi)
	sete	%al
LBB0_20:
	popq	%rbp
	retq
LBB0_21:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_hexadecimal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_hexadecimal
_parse_hexadecimal:                     ; @parse_hexadecimal
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_33
; %bb.1:
	ldrb	w8, [x0]
	cmp	w8, #48
	b.ne	LBB0_34
; %bb.2:
	ldrb	w8, [x0, #1]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_34
; %bb.3:
	str	wzr, [x1]
	ldrsb	w8, [x0, #2]
	cbz	w8, LBB0_27
; %bb.4:
	sub	w9, w8, #48
	cmp	w9, #10
	b.hs	LBB0_6
; %bb.5:
	mov	w9, #-48
	b	LBB0_10
LBB0_6:
	sub	w9, w8, #97
	cmp	w9, #6
	b.hs	LBB0_8
; %bb.7:
	mov	w9, #-87
	b	LBB0_10
LBB0_8:
	sub	w9, w8, #65
	cmp	w9, #5
	b.hi	LBB0_34
; %bb.9:
	mov	w9, #-55
LBB0_10:
	add	w8, w9, w8
	str	w8, [x1]
	ldrb	w9, [x0, #3]
	cbz	w9, LBB0_27
; %bb.11:
	lsl	w8, w8, #4
	str	w8, [x1]
	ldrsb	w9, [x0, #3]
	sub	w10, w9, #48
	cmp	w10, #10
	b.hs	LBB0_13
; %bb.12:
	mov	w10, #-48
	b	LBB0_17
LBB0_13:
	sub	w10, w9, #97
	cmp	w10, #6
	b.hs	LBB0_15
; %bb.14:
	mov	w10, #-87
	b	LBB0_17
LBB0_15:
	sub	w10, w9, #65
	cmp	w10, #5
	b.hi	LBB0_34
; %bb.16:
	mov	w10, #-55
LBB0_17:
	add	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x1]
	ldrb	w9, [x0, #4]
	cbz	w9, LBB0_27
; %bb.18:
	lsl	w8, w8, #4
	str	w8, [x1]
	ldrsb	w9, [x0, #4]
	sub	w10, w9, #48
	cmp	w10, #10
	b.hs	LBB0_20
; %bb.19:
	mov	w10, #-48
	b	LBB0_24
LBB0_20:
	sub	w10, w9, #97
	cmp	w10, #6
	b.hs	LBB0_22
; %bb.21:
	mov	w10, #-87
	b	LBB0_24
LBB0_22:
	sub	w10, w9, #65
	cmp	w10, #5
	b.hi	LBB0_34
; %bb.23:
	mov	w10, #-55
LBB0_24:
	add	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x1]
	ldrb	w9, [x0, #5]
	cbz	w9, LBB0_27
; %bb.25:
	lsl	w8, w8, #4
	str	w8, [x1]
	ldrsb	w9, [x0, #5]
	sub	w10, w9, #48
	cmp	w10, #10
	b.hs	LBB0_28
; %bb.26:
	mov	w10, #-48
	b	LBB0_32
LBB0_27:
	mov	w0, #1
	ret
LBB0_28:
	sub	w10, w9, #97
	cmp	w10, #6
	b.hs	LBB0_30
; %bb.29:
	mov	w10, #-87
	b	LBB0_32
LBB0_30:
	sub	w10, w9, #65
	cmp	w10, #5
	b.hi	LBB0_34
; %bb.31:
	mov	w10, #-55
LBB0_32:
	add	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x1]
	ldrb	w8, [x0, #6]
	cmp	w8, #0
	cset	w0, eq
LBB0_33:
	ret
LBB0_34:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_hexadecimal
.subsections_via_symbols
