	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convertHexCSVToHex
_convertHexCSVToHex:                    ## @convertHexCSVToHex
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	incl	%ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	incl	%eax
	sarl	%eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	(%r15), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_CHECK_ENOUGH_MEMORY
	movl	$0, (%r15)
	cmpb	$0, (%rbx)
	je	LBB0_8
## %bb.1:
	leaq	-48(%rbp), %r12
	movq	%r14, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%al, (%r13)
	incl	(%r15)
	incq	%r13
	movq	-48(%rbp), %rbx
	cmpb	$1, (%rbx)
	sbbq	$-1, %rbx
	cmpb	$0, (%rbx)
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_strtoulW
	movq	-48(%rbp), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$255, %eax
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rcx), %ecx
	testb	%cl, %cl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$44, %cl
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_GetMultiByteString
	movq	%rax, %r15
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_getAppName
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
	xorl	%r14d, %r14d
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%S: ERROR converting CSV hex stream. Invalid value at '%s'\n"

	.no_dead_strip	_convertHexCSVToHex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convertHexCSVToHex
_convertHexCSVToHex:                    ; @convertHexCSVToHex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_lstrlenW
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w8, w9, w0, lt
	asr	w8, w8, #1
	str	w8, [x20]
	bl	_GetProcessHeap
	ldr	w2, [x20]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x19, x0
	bl	_CHECK_ENOUGH_MEMORY
	str	wzr, [x20]
	ldrb	w8, [x21]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x22, x19
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w0, [x22], #1
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	x8, [sp, #8]
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #0
	csel	x21, x8, x9, eq
	ldrb	w8, [x21]
	cbz	w8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #16
	bl	_strtoulW
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #255
	b.gt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x8]
	cbz	w8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #44
	b.eq	LBB0_2
LBB0_7:
	mov	x0, x21
	bl	_GetMultiByteString
	mov	x20, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_getAppName
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_fprintf
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%S: ERROR converting CSV hex stream. Invalid value at '%s'\n"

	.no_dead_strip	_convertHexCSVToHex
.subsections_via_symbols
