	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multihexstr2buf
_multihexstr2buf:                       ## @multihexstr2buf
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	callq	_strlen
	movq	%rax, %rbx
	testb	$1, %bl
	jne	LBB0_27
## %bb.1:
	movq	8(%r13), %rdi
	callq	_strlen
	movq	%rax, %r15
	addq	%rbx, %r15
	testb	$1, %r15b
	jne	LBB0_27
## %bb.2:
	movq	16(%r13), %rdi
	callq	_strlen
	movq	%rax, %rbx
	addq	%r15, %rbx
	testb	$1, %bl
	jne	LBB0_27
## %bb.3:
	shrq	%rbx
	movq	%rbx, %rdi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_27
## %bb.4:
	movq	%rax, %r15
	movq	(%r13), %rax
	movb	(%rax), %al
	testb	%al, %al
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.5:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_OPENSSL_hexchar2int
	movl	%eax, %ebx
	movq	(%r13), %rax
	movsbl	1(%rax,%r12,2), %edi
	callq	_OPENSSL_hexchar2int
	testl	%ebx, %ebx
	js	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	js	LBB0_26
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	shll	$4, %ebx
	orl	%ebx, %eax
	leaq	1(%r12), %r14
	movb	%al, (%r15,%r12)
	movq	(%r13), %rax
	movzbl	2(%rax,%r12,2), %eax
	movq	%r14, %r12
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_14
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movq	8(%r13), %rax
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_20
## %bb.15:
	leaq	(%r15,%r14), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_OPENSSL_hexchar2int
	movl	%eax, %ebx
	movq	8(%r13), %rax
	movsbl	1(%rax,%r12,2), %edi
	callq	_OPENSSL_hexchar2int
	testl	%ebx, %ebx
	js	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	js	LBB0_26
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	shll	$4, %ebx
	orl	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%r12)
	movq	8(%r13), %rax
	movzbl	2(%rax,%r12,2), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_16
## %bb.19:
	addq	%r12, %r14
LBB0_20:
	movq	16(%r13), %rax
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_25
## %bb.21:
	movq	%r15, %r12
	addq	%r14, %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_OPENSSL_hexchar2int
	movl	%eax, %ebx
	movq	16(%r13), %rax
	movsbl	1(%rax,%r14,2), %edi
	callq	_OPENSSL_hexchar2int
	testl	%ebx, %ebx
	js	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	testl	%eax, %eax
	js	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	shll	$4, %ebx
	orl	%ebx, %eax
	movb	%al, (%r12,%r14)
	movq	16(%r13), %rax
	movzbl	2(%rax,%r14,2), %eax
	incq	%r14
	testb	%al, %al
	jne	LBB0_22
LBB0_25:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_28
LBB0_26:
	movq	%r15, %rdi
	callq	_OPENSSL_free
LBB0_27:
	xorl	%r15d, %r15d
LBB0_28:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_multihexstr2buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multihexstr2buf
_multihexstr2buf:                       ; @multihexstr2buf
	.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, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_strlen
	mov	x21, x0
	tbnz	w21, #0, LBB0_23
; %bb.1:
	ldr	x0, [x20, #8]
	bl	_strlen
	add	x21, x0, x21
	tbnz	w21, #0, LBB0_23
; %bb.2:
	ldr	x0, [x20, #16]
	bl	_strlen
	add	x8, x0, x21
	tbnz	w8, #0, LBB0_23
; %bb.3:
	lsr	x22, x8, #1
	mov	x0, x22
	bl	_OPENSSL_malloc
	mov	x21, x0
	cbz	x0, LBB0_24
; %bb.4:
	ldr	x8, [x20]
	ldrb	w8, [x8]
	cbz	w8, LBB0_9
; %bb.5:
	mov	x25, #0
	mov	x26, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_OPENSSL_hexchar2int
	mov	x23, x0
	ldr	x8, [x20]
	add	x8, x8, x25
	ldrsb	w0, [x8, #1]
	bl	_OPENSSL_hexchar2int
	tbnz	w23, #31, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	tbnz	w0, #31, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	orr	w8, w0, w23, lsl #4
	add	x24, x26, #1
	strb	w8, [x21, x26]
	ldr	x8, [x20]
	add	x8, x8, x25
	add	x25, x25, #2
	ldrb	w8, [x8, #2]
	mov	x26, x24
	cbnz	w8, LBB0_6
	b	LBB0_10
LBB0_9:
	mov	x24, #0
LBB0_10:
	ldr	x8, [x20, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_15
; %bb.11:
	mov	x25, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w9
	bl	_OPENSSL_hexchar2int
	mov	x23, x0
	ldr	x8, [x20, #8]
	add	x8, x8, x25
	ldrsb	w0, [x8, #1]
	bl	_OPENSSL_hexchar2int
	tbnz	w23, #31, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	tbnz	w0, #31, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	orr	w9, w0, w23, lsl #4
	add	x8, x24, #1
	strb	w9, [x21, x24]
	ldr	x9, [x20, #8]
	add	x9, x9, x25
	add	x25, x25, #2
	ldrb	w9, [x9, #2]
	mov	x24, x8
	cbnz	w9, LBB0_12
	b	LBB0_16
LBB0_15:
	mov	x8, x24
LBB0_16:
	ldr	x9, [x20, #16]
	ldrb	w9, [x9]
	cbz	w9, LBB0_21
; %bb.17:
	mov	x25, #0
	add	x24, x21, x8
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w9
	bl	_OPENSSL_hexchar2int
	mov	x23, x0
	ldr	x8, [x20, #16]
	add	x8, x8, x25
	ldrsb	w0, [x8, #1]
	bl	_OPENSSL_hexchar2int
	tbnz	w23, #31, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	tbnz	w0, #31, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	orr	w8, w0, w23, lsl #4
	strb	w8, [x24], #1
	ldr	x8, [x20, #16]
	add	x8, x8, x25
	add	x25, x25, #2
	ldrb	w9, [x8, #2]
	cbnz	w9, LBB0_18
LBB0_21:
	str	x22, [x19]
	b	LBB0_24
LBB0_22:
	mov	x0, x21
	bl	_OPENSSL_free
LBB0_23:
	mov	x21, #0
LBB0_24:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_multihexstr2buf
.subsections_via_symbols
