	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_UNIVERSALSTRING_to_string ## -- Begin function ASN1_UNIVERSALSTRING_to_string
	.p2align	4, 0x90
_ASN1_UNIVERSALSTRING_to_string:        ## @ASN1_UNIVERSALSTRING_to_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	movq	_V_ASN1_UNIVERSALSTRING@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %edx
	testb	$3, %dl
	jne	LBB0_13
## %bb.2:
	movq	16(%rbx), %rcx
	testl	%edx, %edx
	jle	LBB0_12
## %bb.3:
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rcx,%rsi)
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, 1(%rcx,%rsi)
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, 2(%rcx,%rsi)
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rsi
	cmpl	%edx, %esi
	jl	LBB0_4
## %bb.8:
	cmpl	$4, %edx
	jl	LBB0_12
## %bb.9:
	movb	3(%rcx), %al
	movb	%al, (%rcx)
	incq	%rcx
	cmpl	$8, 8(%rbx)
	jl	LBB0_12
## %bb.10:
	movl	$7, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdx
	movzbl	(%rdx,%rax), %edx
	movb	%dl, (%rcx)
	incq	%rcx
	addq	$4, %rax
	movslq	8(%rbx), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_11
LBB0_12:
	movb	$0, (%rcx)
	movl	8(%rbx), %eax
	leal	3(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$2, %esi
	movl	%esi, 8(%rbx)
	movq	16(%rbx), %rdi
	callq	_ASN1_PRINTABLE_type
	movq	%rax, (%rbx)
	movl	$1, %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_UNIVERSALSTRING,8,3     ## @V_ASN1_UNIVERSALSTRING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_UNIVERSALSTRING_to_string ; -- Begin function ASN1_UNIVERSALSTRING_to_string
	.p2align	2
_ASN1_UNIVERSALSTRING_to_string:        ; @ASN1_UNIVERSALSTRING_to_string
	.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, _V_ASN1_UNIVERSALSTRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_ASN1_UNIVERSALSTRING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	tst	w8, #0x3
	b.eq	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x9, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.5:
	mov	x10, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, x10
	ldrb	w12, [x11]
	cbnz	w12, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w12, [x11, #1]
	cbnz	w12, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w11, [x11, #2]
	cbnz	w11, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x10, x10, #4
	cmp	w10, w8
	b.lt	LBB0_6
; %bb.10:
	cmp	w8, #4
	b.lt	LBB0_14
; %bb.11:
	ldrb	w10, [x9, #3]
	add	x8, x9, #1
	strb	w10, [x9]
	ldr	w9, [x19, #8]
	cmp	w9, #8
	b.lt	LBB0_15
; %bb.12:
	mov	w9, #7
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #16]
	ldrb	w10, [x10, x9]
	strb	w10, [x8], #1
	add	x9, x9, #4
	ldrsw	x10, [x19, #8]
	cmp	x9, x10
	b.lt	LBB0_13
	b	LBB0_15
LBB0_14:
	mov	x8, x9
LBB0_15:
	strb	wzr, [x8]
	ldr	w8, [x19, #8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #2
	str	w1, [x19, #8]
	ldr	x0, [x19, #16]
	bl	_ASN1_PRINTABLE_type
	str	x0, [x19]
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_UNIVERSALSTRING,8,3     ; @V_ASN1_UNIVERSALSTRING
.subsections_via_symbols
