	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function displaytext_str2tag
_displaytext_str2tag:                   ## @displaytext_str2tag
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, (%rsi)
	callq	_displaytext_get_tag_len
	movq	_V_ASN1_VISIBLESTRING@GOTPCREL(%rip), %r15
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.1:
	movl	%eax, (%r14)
	movl	%eax, %ecx
	addl	$-3, %ecx
	cmpl	$10, %ecx
	ja	LBB0_14
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	jmp	LBB0_7
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
LBB0_4:
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.5:
	movq	_V_ASN1_BMPSTRING@GOTPCREL(%rip), %r15
	jmp	LBB0_15
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
LBB0_7:
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.8:
	movq	_V_ASN1_UTF8STRING@GOTPCREL(%rip), %r15
	jmp	LBB0_15
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$13, %edx
LBB0_13:
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_15
LBB0_14:
	movl	$0, (%r14)
LBB0_15:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_V_ASN1_VISIBLESTRING,4,2       ## @V_ASN1_VISIBLESTRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UTF8"

	.comm	_V_ASN1_UTF8STRING,4,2          ## @V_ASN1_UTF8STRING
L_.str.1:                               ## @.str.1
	.asciz	"UTF8String"

L_.str.2:                               ## @.str.2
	.asciz	"BMP"

	.comm	_V_ASN1_BMPSTRING,4,2           ## @V_ASN1_BMPSTRING
L_.str.3:                               ## @.str.3
	.asciz	"BMPSTRING"

L_.str.4:                               ## @.str.4
	.asciz	"VISIBLE"

L_.str.5:                               ## @.str.5
	.asciz	"VISIBLESTRING"

	.no_dead_strip	_displaytext_str2tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function displaytext_str2tag
_displaytext_str2tag:                   ; @displaytext_str2tag
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [x1]
	bl	_displaytext_get_tag_len
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.1:
	mov	x2, x0
	str	w0, [x19]
	sub	w8, w0, #3
	cmp	w8, #10
	b.hi	LBB0_11
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #3
	bl	_strncmp
	cbnz	x0, LBB0_11
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_11
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strncmp
	cbnz	x0, LBB0_11
	b	LBB0_12
LBB0_6:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strncmp
	cbnz	x0, LBB0_11
LBB0_7:
Lloh10:
	adrp	x8, _V_ASN1_BMPSTRING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V_ASN1_BMPSTRING@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #10
	bl	_strncmp
	cbnz	x0, LBB0_11
LBB0_9:
Lloh14:
	adrp	x8, _V_ASN1_UTF8STRING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V_ASN1_UTF8STRING@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w2, #13
	bl	_strncmp
	cbz	x0, LBB0_12
LBB0_11:
	str	wzr, [x19]
LBB0_12:
Lloh18:
	adrp	x8, _V_ASN1_VISIBLESTRING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V_ASN1_VISIBLESTRING@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_V_ASN1_VISIBLESTRING,4,2       ; @V_ASN1_VISIBLESTRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UTF8"

	.comm	_V_ASN1_UTF8STRING,4,2          ; @V_ASN1_UTF8STRING
l_.str.1:                               ; @.str.1
	.asciz	"UTF8String"

l_.str.2:                               ; @.str.2
	.asciz	"BMP"

	.comm	_V_ASN1_BMPSTRING,4,2           ; @V_ASN1_BMPSTRING
l_.str.3:                               ; @.str.3
	.asciz	"BMPSTRING"

l_.str.4:                               ; @.str.4
	.asciz	"VISIBLE"

l_.str.5:                               ; @.str.5
	.asciz	"VISIBLESTRING"

	.no_dead_strip	_displaytext_str2tag
.subsections_via_symbols
