	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hextobin
_hextobin:                              ## @hextobin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rsi), %dl
	xorl	%r9d, %r9d
	testb	%dl, %dl
	je	LBB0_1
## %bb.2:
	incq	%rsi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%dl, %edx
	addl	%r10d, %edx
	testl	%r9d, %r9d
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %ecx
	shll	$4, %ecx
	addl	%ecx, %edx
	movb	%dl, (%rdi)
	incq	%rdi
	incq	%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	testl	%r9d, %r9d
	sete	%cl
	movl	%ecx, %r9d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rsi), %edx
	incq	%rsi
	testb	%dl, %dl
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-48(%rdx), %ecx
	movl	$-48, %r10d
	cmpb	$10, %cl
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%rdx), %ecx
	movl	$-55, %r10d
	cmpb	$6, %cl
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rdx), %ecx
	movl	$-87, %r10d
	cmpb	$5, %cl
	jbe	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %r8d
	jmp	LBB0_9
LBB0_11:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hextobin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hextobin
_hextobin:                              ; @hextobin
	.cfi_startproc
; %bb.0:
	ldrb	w12, [x1]
	cbz	w12, LBB0_13
; %bb.1:
	mov	w9, #0
	mov	w11, #0
	mov	x8, #0
	add	x10, x1, #1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w12, w12, w11, lsl #4
	strb	w12, [x0], #1
	add	x8, x8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #0
	cset	w9, eq
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w12, [x10], #1
	cbz	w12, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w13, w12, #48
	cmp	w13, #10
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w13, #-48
	add	w12, w13, w12
	cbnz	w9, LBB0_2
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w13, w12, #65
	cmp	w13, #6
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w13, #-55
	add	w12, w13, w12
	cbnz	w9, LBB0_2
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w13, w12, #97
	cmp	w13, #5
	b.hi	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w13, #-87
	add	w12, w13, w12
	cbnz	w9, LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x11, x12
	b	LBB0_3
LBB0_12:
	mov	x0, x8
	ret
LBB0_13:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hextobin
.subsections_via_symbols
