	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_protoid_string                 ## -- Begin function protoid_string
	.p2align	4, 0x90
_protoid_string:                        ## @protoid_string
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_lookup_protoid
	movq	%rax, %r15
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movl	(%rbx), %edx
	cmpq	$15, %rdx
	ja	LBB0_3
## %bb.2:
	leaq	-47(%rbp), %rax
	movq	_hex@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	jmp	LBB0_4
LBB0_3:
	movl	%edx, %eax
	sarl	$4, %eax
	cltq
	movq	_hex@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movb	(%rdi,%rax,8), %sil
	leaq	-46(%rbp), %rax
	movb	%sil, -47(%rbp)
LBB0_4:
	andl	$15, %edx
	movb	(%rdi,%rdx,8), %dl
	movb	%dl, (%rax)
	movb	$58, 1(%rax)
	movl	4(%rbx), %edx
	cmpq	$16, %rdx
	jae	LBB0_6
## %bb.5:
	addq	$2, %rax
	jmp	LBB0_7
LBB0_6:
	movl	%edx, %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	movb	(%rdi,%rsi,8), %cl
	movb	%cl, 2(%rax)
	addq	$3, %rax
LBB0_7:
	andl	$15, %edx
	movb	(%rdi,%rdx,8), %cl
	movb	%cl, (%rax)
	movb	$58, 1(%rax)
	movl	8(%rbx), %edx
	cmpq	$16, %rdx
	jae	LBB0_9
## %bb.8:
	addq	$2, %rax
	jmp	LBB0_10
LBB0_9:
	movl	%edx, %ecx
	sarl	$4, %ecx
	movslq	%ecx, %rcx
	movq	_hex@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movb	(%rsi,%rcx,8), %cl
	movb	%cl, 2(%rax)
	addq	$3, %rax
LBB0_10:
	movq	_hex@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	andl	$15, %edx
	movb	(%rsi,%rdx,8), %dl
	movb	%dl, (%rax)
	movb	$58, 1(%rax)
	movl	12(%rbx), %edx
	cmpq	$16, %rdx
	jae	LBB0_12
## %bb.11:
	addq	$2, %rax
	jmp	LBB0_13
LBB0_12:
	movl	%edx, %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	movq	(%r8), %rdi
	movb	(%rdi,%rsi,8), %cl
	movb	%cl, 2(%rax)
	addq	$3, %rax
LBB0_13:
	movq	(%r8), %rcx
	andl	$15, %edx
	movb	(%rcx,%rdx,8), %cl
	movb	%cl, (%rax)
	movb	$58, 1(%rax)
	movl	16(%rbx), %edx
	cmpq	$16, %rdx
	jae	LBB0_15
## %bb.14:
	addq	$2, %rax
	jmp	LBB0_16
LBB0_15:
	movl	%edx, %ecx
	sarl	$4, %ecx
	movslq	%ecx, %rcx
	movq	(%r8), %rsi
	movb	(%rsi,%rcx,8), %cl
	movb	%cl, 2(%rax)
	addq	$3, %rax
LBB0_16:
	movq	(%r8), %rcx
	andl	$15, %edx
	movb	(%rcx,%rdx,8), %cl
	movb	%cl, (%rax)
	movb	$0, 1(%rax)
	leaq	-47(%rbp), %rdi
	callq	_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	*(%r14)
	movq	(%r15), %rax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_hex,8,3                        ## @hex
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"protoid_string: strdup(buf)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_protoid_string                 ; -- Begin function protoid_string
	.p2align	2
_protoid_string:                        ; @protoid_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_lookup_protoid
	mov	x20, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_18
; %bb.1:
	ldr	w11, [x21]
Lloh3:
	adrp	x8, _hex@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hex@GOTPAGEOFF]
	cmp	w11, #15
	b.hi	LBB0_3
; %bb.2:
	add	x10, sp, #9
	ldr	x9, [x8]
	b	LBB0_4
LBB0_3:
	asr	w10, w11, #4
	ldr	x9, [x8]
	ldr	x12, [x9, w10, sxtw #3]
	add	x10, sp, #9
	add	x10, x10, #1
	strb	w12, [sp, #9]
LBB0_4:
	and	x11, x11, #0xf
	ldr	x11, [x9, x11, lsl #3]
	strb	w11, [x10]
	mov	w12, #58
	strb	w12, [x10, #1]
	ldr	w13, [x21, #4]
	cmp	w13, #16
	b.hs	LBB0_6
; %bb.5:
	add	x11, x10, #2
	b	LBB0_7
LBB0_6:
	asr	w11, w13, #4
	ldr	x14, [x9, w11, sxtw #3]
	add	x11, x10, #3
	strb	w14, [x10, #2]
LBB0_7:
	and	x10, x13, #0xf
	ldr	x9, [x9, x10, lsl #3]
	strb	w9, [x11]
	strb	w12, [x11, #1]
	ldr	w10, [x21, #8]
	cmp	w10, #16
	b.hs	LBB0_9
; %bb.8:
	add	x9, x11, #2
	b	LBB0_10
LBB0_9:
	asr	w9, w10, #4
	ldr	x12, [x8]
	ldr	x12, [x12, w9, sxtw #3]
	add	x9, x11, #3
	strb	w12, [x11, #2]
LBB0_10:
	ldr	x11, [x8]
	and	x10, x10, #0xf
	ldr	x10, [x11, x10, lsl #3]
	strb	w10, [x9]
	mov	w11, #58
	strb	w11, [x9, #1]
	ldr	w12, [x21, #12]
	cmp	w12, #16
	b.hs	LBB0_12
; %bb.11:
	add	x10, x9, #2
	b	LBB0_13
LBB0_12:
	asr	w10, w12, #4
	ldr	x13, [x8]
	ldr	x13, [x13, w10, sxtw #3]
	add	x10, x9, #3
	strb	w13, [x9, #2]
LBB0_13:
	ldr	x9, [x8]
	and	x12, x12, #0xf
	ldr	x9, [x9, x12, lsl #3]
	strb	w9, [x10]
	strb	w11, [x10, #1]
	ldr	w9, [x21, #16]
	cmp	w9, #16
	b.hs	LBB0_15
; %bb.14:
	add	x11, x10, #2
	b	LBB0_16
LBB0_15:
	asr	w11, w9, #4
	ldr	x12, [x8]
	ldr	x12, [x12, w11, sxtw #3]
	add	x11, x10, #3
	strb	w12, [x10, #2]
LBB0_16:
	ldr	x8, [x8]
	and	x9, x9, #0xf
	ldr	x8, [x8, x9, lsl #3]
	strb	w8, [x11]
	strb	wzr, [x11, #1]
	add	x0, sp, #9
	bl	_strdup
	str	x0, [x20]
	cbnz	x0, LBB0_18
; %bb.17:
	ldr	x8, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	blr	x8
	ldr	x0, [x20]
LBB0_18:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	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
	add	sp, sp, #80
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_hex,8,3                        ; @hex
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"protoid_string: strdup(buf)"

.subsections_via_symbols
