	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unhex4
_unhex4:                                ## @unhex4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movsbl	(%rdi), %r8d
	leal	-48(%r8), %eax
	movl	$-48, %edx
	movl	$-48, %r11d
	cmpb	$10, %al
	jb	LBB0_3
## %bb.1:
	leal	-97(%r8), %eax
	movl	$-87, %r11d
	cmpb	$6, %al
	jb	LBB0_3
## %bb.2:
	leal	-65(%r8), %ecx
	movl	$-1, %eax
	movl	$-55, %r11d
	cmpb	$5, %cl
	ja	LBB0_13
LBB0_3:
	movsbl	1(%rdi), %r9d
	leal	-48(%r9), %eax
	cmpb	$10, %al
	jb	LBB0_6
## %bb.4:
	leal	-97(%r9), %eax
	movl	$-87, %edx
	cmpb	$6, %al
	jb	LBB0_6
## %bb.5:
	leal	-65(%r9), %ecx
	movl	$-1, %eax
	movl	$-55, %edx
	cmpb	$5, %cl
	ja	LBB0_13
LBB0_6:
	movsbl	2(%rdi), %r10d
	leal	-48(%r10), %eax
	movl	$-48, %ecx
	movl	$-48, %esi
	cmpb	$10, %al
	jb	LBB0_9
## %bb.7:
	leal	-97(%r10), %eax
	movl	$-87, %esi
	cmpb	$6, %al
	jb	LBB0_9
## %bb.8:
	leal	-65(%r10), %ebx
	movl	$-1, %eax
	movl	$-55, %esi
	cmpb	$5, %bl
	ja	LBB0_13
LBB0_9:
	movsbl	3(%rdi), %edi
	leal	-48(%rdi), %eax
	cmpb	$10, %al
	jb	LBB0_12
## %bb.10:
	leal	-97(%rdi), %eax
	movl	$-87, %ecx
	cmpb	$6, %al
	jb	LBB0_12
## %bb.11:
	leal	-65(%rdi), %ebx
	movl	$-1, %eax
	movl	$-55, %ecx
	cmpb	$5, %bl
	ja	LBB0_13
LBB0_12:
	addl	%r8d, %r11d
	addl	%r9d, %edx
	addl	%r10d, %esi
	shll	$8, %r11d
	shll	$4, %edx
	orl	%r11d, %edx
	orl	%esi, %edx
	addl	%edi, %ecx
	shll	$4, %edx
	orl	%ecx, %edx
	movl	%edx, %eax
LBB0_13:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unhex4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unhex4
_unhex4:                                ; @unhex4
	.cfi_startproc
; %bb.0:
	ldrsb	w8, [x0]
	sub	w9, w8, #48
	cmp	w9, #10
	b.hs	LBB0_2
; %bb.1:
	mov	w9, #-48
	b	LBB0_6
LBB0_2:
	sub	w9, w8, #97
	cmp	w9, #6
	b.hs	LBB0_4
; %bb.3:
	mov	w9, #-87
	b	LBB0_6
LBB0_4:
	sub	w9, w8, #65
	cmp	w9, #5
	b.hi	LBB0_25
; %bb.5:
	mov	w9, #-55
LBB0_6:
	ldrsb	w10, [x0, #1]
	sub	w11, w10, #48
	cmp	w11, #10
	b.hs	LBB0_8
; %bb.7:
	mov	w11, #-48
	b	LBB0_12
LBB0_8:
	sub	w11, w10, #97
	cmp	w11, #6
	b.hs	LBB0_10
; %bb.9:
	mov	w11, #-87
	b	LBB0_12
LBB0_10:
	sub	w11, w10, #65
	cmp	w11, #5
	b.hi	LBB0_25
; %bb.11:
	mov	w11, #-55
LBB0_12:
	ldrsb	w12, [x0, #2]
	sub	w13, w12, #48
	cmp	w13, #10
	b.hs	LBB0_14
; %bb.13:
	mov	w13, #-48
	b	LBB0_18
LBB0_14:
	sub	w13, w12, #97
	cmp	w13, #6
	b.hs	LBB0_16
; %bb.15:
	mov	w13, #-87
	b	LBB0_18
LBB0_16:
	sub	w13, w12, #65
	cmp	w13, #5
	b.hi	LBB0_25
; %bb.17:
	mov	w13, #-55
LBB0_18:
	ldrsb	w14, [x0, #3]
	sub	w15, w14, #48
	cmp	w15, #10
	b.hs	LBB0_20
; %bb.19:
	mov	w15, #-48
	b	LBB0_24
LBB0_20:
	sub	w15, w14, #97
	cmp	w15, #6
	b.hs	LBB0_22
; %bb.21:
	mov	w15, #-87
	b	LBB0_24
LBB0_22:
	sub	w15, w14, #65
	cmp	w15, #5
	b.hi	LBB0_25
; %bb.23:
	mov	w15, #-55
LBB0_24:
	add	w8, w9, w8
	add	w9, w11, w10
	lsl	w8, w8, #8
	orr	w8, w8, w9, lsl #4
	add	w9, w13, w12
	orr	w8, w9, w8
	add	w9, w15, w14
	orr	w0, w9, w8, lsl #4
	ret
LBB0_25:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unhex4
.subsections_via_symbols
