	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_pubkey
_parse_pubkey:                          ## @parse_pubkey
	.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, %r14
	leaq	_parse_pubkey.nullstr(%rip), %rsi
	movq	%r15, %rdi
	callq	_lstrcmpiW
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_lstrlenW
	movq	_CHARS_PER_PUBKEY@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_FUSION_E_INVALID_NAME@GOTPCREL(%rip), %r12
	cmpl	%ecx, %eax
	jl	LBB0_12
## %bb.3:
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_is_hex
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movq	_S_OK@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	jle	LBB0_12
## %bb.9:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%r12,4), %edi
	callq	_hextobyte
	movl	%eax, %ebx
	shll	$4, %ebx
	movl	4(%r15,%r12,4), %edi
	callq	_hextobyte
	addl	%ebx, %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%r12,2)
	addq	$2, %r12
	cmpl	%r12d, (%r13)
	jg	LBB0_10
	jmp	LBB0_11
LBB0_1:
	movq	_FUSION_E_PRIVATE_ASM_DISALLOWED@GOTPCREL(%rip), %r12
	jmp	LBB0_12
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_11:
	movq	_S_OK@GOTPCREL(%rip), %r12
LBB0_12:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_parse_pubkey.nullstr:                  ## @parse_pubkey.nullstr
	.asciz	"null"

	.comm	_FUSION_E_PRIVATE_ASM_DISALLOWED,4,2 ## @FUSION_E_PRIVATE_ASM_DISALLOWED
	.comm	_CHARS_PER_PUBKEY,4,2           ## @CHARS_PER_PUBKEY
	.comm	_FUSION_E_INVALID_NAME,4,2      ## @FUSION_E_INVALID_NAME
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_parse_pubkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_pubkey
_parse_pubkey:                          ; @parse_pubkey
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, _parse_pubkey.nullstr@PAGE
Lloh1:
	add	x1, x1, _parse_pubkey.nullstr@PAGEOFF
	mov	x0, x20
	bl	_lstrcmpiW
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_lstrlenW
Lloh2:
	adrp	x23, _CHARS_PER_PUBKEY@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CHARS_PER_PUBKEY@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.2:
Lloh4:
	adrp	x22, _FUSION_E_INVALID_NAME@GOTPAGE
Lloh5:
	ldr	x22, [x22, _FUSION_E_INVALID_NAME@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
Lloh6:
	adrp	x22, _FUSION_E_PRIVATE_ASM_DISALLOWED@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FUSION_E_PRIVATE_ASM_DISALLOWED@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x21, #0
Lloh8:
	adrp	x22, _FUSION_E_INVALID_NAME@GOTPAGE
Lloh9:
	ldr	x22, [x22, _FUSION_E_INVALID_NAME@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, x21, lsl #2]
	bl	_is_hex
	cbz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23]
	cmp	x21, x8
	b.lt	LBB0_6
; %bb.8:
Lloh10:
	adrp	x9, _TRUE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x24, #0
	mov	x25, #0
Lloh13:
	adrp	x22, _S_OK@GOTPAGE
Lloh14:
	ldr	x22, [x22, _S_OK@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x20, x25, lsl #2
	ldr	w0, [x26]
	bl	_hextobyte
	mov	x21, x0
	ldr	w0, [x26, #4]
	bl	_hextobyte
	add	w8, w0, w21, lsl #4
	ldr	x9, [x19]
	str	w8, [x9, x24]
	add	x25, x25, #2
	ldr	w8, [x23]
	add	x24, x24, #4
	cmp	w8, w25
	b.gt	LBB0_10
	b	LBB0_13
LBB0_11:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_12:
Lloh18:
	adrp	x22, _S_OK@GOTPAGE
Lloh19:
	ldr	x22, [x22, _S_OK@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x22]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_parse_pubkey.nullstr:                  ; @parse_pubkey.nullstr
	.asciz	"null"

	.comm	_FUSION_E_PRIVATE_ASM_DISALLOWED,4,2 ; @FUSION_E_PRIVATE_ASM_DISALLOWED
	.comm	_CHARS_PER_PUBKEY,4,2           ; @CHARS_PER_PUBKEY
	.comm	_FUSION_E_INVALID_NAME,4,2      ; @FUSION_E_INVALID_NAME
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_parse_pubkey
.subsections_via_symbols
