	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_hex_string_data
_prepare_hex_string_data:               ## @prepare_hex_string_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_REG_EXPAND_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_REG_MULTI_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_3:
	leaq	8(%rbx), %rdx
	cmpq	$0, 24(%rbx)
	movq	16(%rbx), %r14
	movl	8(%rbx), %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	cmpq	$0, -8(%r14,%rcx,8)
	je	LBB0_6
## %bb.5:
	movq	$0, (%r14,%rcx,8)
	addl	$8, %eax
	movl	%eax, (%rdx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movslq	%eax, %rcx
	cmpq	$0, -8(%r14,%rcx,8)
	je	LBB0_9
## %bb.8:
	movq	$0, (%r14,%rcx,8)
	incl	%eax
	movl	%eax, (%rdx)
LBB0_9:
	movslq	%eax, %rsi
	movq	%r14, %rdi
	callq	_GetWideStringN
	movq	%rax, 16(%rbx)
	shll	$3, 8(%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_heap_free                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_EXPAND_SZ,8,3              ## @REG_EXPAND_SZ
	.comm	_REG_MULTI_SZ,8,3               ## @REG_MULTI_SZ
	.comm	_REG_SZ,8,3                     ## @REG_SZ
	.no_dead_strip	_prepare_hex_string_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_hex_string_data
_prepare_hex_string_data:               ; @prepare_hex_string_data
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _REG_EXPAND_SZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_EXPAND_SZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _REG_MULTI_SZ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _REG_MULTI_SZ@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _REG_SZ@GOTPAGE
Lloh7:
	ldr	x11, [x11, _REG_SZ@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x2, x0
	ldr	w8, [x2, #8]!
	ldp	x20, x9, [x2, #8]
	cbz	x9, LBB0_5
; %bb.2:
	asr	w9, w8, #3
	add	x9, x20, w9, sxtw #3
	ldur	x9, [x9, #-8]
	cbz	x9, LBB0_4
; %bb.3:
	sbfx	x9, x8, #3, #29
	str	xzr, [x20, x9, lsl #3]
	add	w8, w8, #8
	str	w8, [x2]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	sub	w9, w8, #1
	ldr	x9, [x20, w9, sxtw #3]
	cbz	x9, LBB0_7
; %bb.6:
	mov	x9, x8
	sxtw	x9, w9
	str	xzr, [x20, x9, lsl #3]
	add	w8, w8, #1
	str	w8, [x2]
LBB0_7:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x1, w8
	mov	x0, x20
	bl	_GetWideStringN
	str	x0, [x19, #16]
	ldr	w8, [x19, #8]
	lsl	w8, w8, #3
	str	w8, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_heap_free
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_EXPAND_SZ,8,3              ; @REG_EXPAND_SZ
	.comm	_REG_MULTI_SZ,8,3               ; @REG_MULTI_SZ
	.comm	_REG_SZ,8,3                     ; @REG_SZ
	.no_dead_strip	_prepare_hex_string_data
.subsections_via_symbols
