	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hexchar
_hexchar:                               ## @hexchar
	.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
	leal	-48(%rdx), %ecx
	cmpb	$10, %cl
	jb	LBB0_6
## %bb.1:
	leal	-97(%rdx), %eax
	cmpb	$5, %al
	ja	LBB0_3
## %bb.2:
	addb	$-87, %dl
	jmp	LBB0_5
LBB0_3:
	leal	-65(%rdx), %ecx
	movl	$-1, %eax
	cmpb	$5, %cl
	ja	LBB0_13
## %bb.4:
	addb	$-55, %dl
LBB0_5:
	movl	%edx, %ecx
LBB0_6:
	movb	1(%rdi), %dl
	leal	-48(%rdx), %eax
	cmpb	$10, %al
	jb	LBB0_12
## %bb.7:
	leal	-97(%rdx), %eax
	cmpb	$6, %al
	jae	LBB0_8
## %bb.10:
	addb	$-87, %dl
	jmp	LBB0_11
LBB0_8:
	leal	-65(%rdx), %esi
	movl	$-1, %eax
	cmpb	$5, %sil
	ja	LBB0_13
## %bb.9:
	addb	$-55, %dl
LBB0_11:
	movl	%edx, %eax
LBB0_12:
	movzbl	%cl, %ecx
	shll	$4, %ecx
	movzbl	%al, %eax
	orl	%ecx, %eax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hexchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hexchar
_hexchar:                               ; @hexchar
	.cfi_startproc
; %bb.0:
	ldrb	w9, [x0]
	sub	w8, w9, #48
	cmp	w8, #10
	b.lo	LBB0_5
; %bb.1:
	sub	w8, w9, #97
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.2:
	sub	w8, w9, #87
	b	LBB0_5
LBB0_3:
	sub	w8, w9, #65
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.4:
	sub	w8, w9, #55
LBB0_5:
	ldrb	w9, [x0, #1]
	sub	w10, w9, #48
	cmp	w10, #10
	b.lo	LBB0_10
; %bb.6:
	sub	w10, w9, #97
	cmp	w10, #6
	b.hs	LBB0_8
; %bb.7:
	sub	w10, w9, #87
	b	LBB0_10
LBB0_8:
	sub	w10, w9, #65
	cmp	w10, #5
	b.hi	LBB0_11
; %bb.9:
	sub	w10, w9, #55
LBB0_10:
	and	w8, w8, #0xff
	and	w9, w10, #0xff
	orr	w0, w9, w8, lsl #4
	ret
LBB0_11:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hexchar
.subsections_via_symbols
