	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hexstr2bin
_hexstr2bin:                            ## @hexstr2bin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	testb	$1, %sil
	jne	LBB0_17
## %bb.1:
	testl	%esi, %esi
	jle	LBB0_17
## %bb.2:
	movq	%r8, %r13
	movl	%esi, %r15d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%rcx, %rbx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_error
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rcx
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %ebx
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	cmpq	%r14, %r15
	je	LBB0_17
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r14), %esi
	cmpb	$32, %sil
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-48(%rsi), %edx
	cmpb	$9, %dl
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	andb	$15, %sil
	addb	%r12b, %sil
	movl	%esi, %r12d
	testl	%ebx, %ebx
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rcx), %rdx
	incq	%rdx
	cmpq	%r13, %rdx
	ja	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rcx), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movb	%r12b, (%rdx,%rsi)
	incq	%rax
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rsi), %edx
	cmpb	$25, %dl
	jbe	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-65(%rsi), %edx
	cmpb	$25, %dl
	ja	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	andb	$15, %sil
	addb	%sil, %r12b
	addb	$9, %r12b
	testl	%ebx, %ebx
	jne	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	shlb	$4, %r12b
	jmp	LBB0_15
LBB0_8:
	xorl	%eax, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Buffer too small in hexstr2bin"

	.no_dead_strip	_hexstr2bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hexstr2bin
_hexstr2bin:                            ; @hexstr2bin
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, #0
	tbnz	w1, #0, LBB0_16
; %bb.1:
	cmp	w1, #1
	b.lt	LBB0_16
; %bb.2:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x0
	mov	x19, #0
	mov	w8, #0
	mov	w26, #0
	mov	w25, w1
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_error
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	subs	x25, x25, #1
	b.eq	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x23]
	cmp	w9, #32
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w10, w9, #48
	cmp	w10, #9
	b.hi	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w9, w9, #0xf
	add	w26, w9, w26
	cbz	w8, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x19, x21
	add	x8, x9, #1
	cmp	x8, x20
	b.hi	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
	strb	w26, [x22, x9]
	add	x19, x19, #1
	mov	w26, #0
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w10, w9, #97
	cmp	w10, #25
	b.ls	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w10, w9, #65
	cmp	w10, #25
	b.hi	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w9, w9, #0xf
	add	w9, w26, w9
	add	w26, w9, #9
	cbnz	w8, LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	w26, w26, #4
	b	LBB0_4
LBB0_15:
	mov	x19, #0
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Buffer too small in hexstr2bin"

	.no_dead_strip	_hexstr2bin
.subsections_via_symbols
