	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_d2i_ex_primitive
_asn1_d2i_ex_primitive:                 ## @asn1_d2i_ex_primitive
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	$0, -41(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	$0, -96(%rbp)
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	%r9d, %r12d
	movl	%r8d, %r15d
	movq	%rdx, %r11
	movq	%rsi, %r13
	movq	24(%rbp), %r10
	movb	16(%rbp), %bl
	movq	(%rcx), %rax
	movq	_ASN1_ITYPE_MSTRING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.2:
	movl	%r15d, -48(%rbp)
	movq	_V_ASN1_ANY@GOTPCREL(%rip), %rdx
	movl	%r15d, %eax
	cmpl	%r15d, (%rdx)
	movl	$-1, %r15d
	jne	LBB0_16
## %bb.3:
	movl	$-1, %r15d
	jmp	LBB0_8
LBB0_4:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_ILLEGAL_NULL@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_5:
	movl	8(%rcx), %eax
	movl	%eax, -48(%rbp)
	movq	_V_ASN1_ANY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_16
## %bb.6:
	testl	%r15d, %r15d
	js	LBB0_8
## %bb.7:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_ILLEGAL_TAGGED_ANY@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_8:
	testb	%bl, %bl
	je	LBB0_10
## %bb.9:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_ILLEGAL_OPTIONAL_ANY@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_10:
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)
	subq	$8, %rsp
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %r9
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r10
	pushq	$0
	pushq	$0
	pushq	$-1
	movq	%r11, -72(%rbp)                 ## 8-byte Spill
	pushq	%r11
	callq	_asn1_check_tlen
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movb	-64(%rbp), %al
	movq	_V_ASN1_UNIVERSAL@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_14
## %bb.12:
	movl	-48(%rbp), %eax
	jmp	LBB0_15
LBB0_13:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_NESTED_ASN1_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	jmp	LBB0_20
LBB0_14:
	movq	_V_ASN1_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_15:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rbp), %r10
	movq	-72(%rbp), %r11                 ## 8-byte Reload
LBB0_16:
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$-1, %r15d
	movq	_V_ASN1_UNIVERSAL@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	cmovel	%ecx, %r12d
	cmovnel	%r15d, %eax
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rcx
	movq	%rcx, -56(%rbp)
	subq	$8, %rsp
	movsbl	%bl, %ebx
	leaq	-64(%rbp), %rdi
	leaq	-42(%rbp), %rcx
	leaq	-43(%rbp), %r8
	leaq	-56(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r10, %r15
	pushq	%r10
	pushq	%rbx
	pushq	%r12
	pushq	%rax
	pushq	%r11
	callq	_asn1_check_tlen
	addq	$48, %rsp
	movl	%eax, %r14d
	cmpl	$-1, %eax
	je	LBB0_20
## %bb.17:
	testl	%r14d, %r14d
	jne	LBB0_21
## %bb.18:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_NESTED_ASN1_ERROR@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%r14d, %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	-48(%rbp), %eax
	movq	_V_ASN1_SEQUENCE@GOTPCREL(%rip), %rdx
	movq	_V_ASN1_OTHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rdx), %eax
	je	LBB0_33
## %bb.22:
	movq	_V_ASN1_SET@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_33
## %bb.23:
	cmpl	%ecx, %eax
	je	LBB0_33
## %bb.24:
	cmpb	$0, -43(%rbp)
	je	LBB0_39
## %bb.25:
	movq	_V_ASN1_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.26:
	movq	_V_ASN1_BOOLEAN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.27:
	movq	_V_ASN1_OBJECT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.28:
	movq	_V_ASN1_INTEGER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.29:
	movq	_V_ASN1_ENUMERATED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.30:
	movb	$1, -41(%rbp)
	movq	-64(%rbp), %rdx
	movsbl	-42(%rbp), %ecx
	movq	_V_ASN1_UNIVERSAL@GOTPCREL(%rip), %rax
	movzbl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-128(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	$-1, %r8d
	pushq	$0
	callq	_asn1_collect
	addq	$16, %rsp
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_49
## %bb.31:
	movq	-128(%rbp), %rbx
	leaq	1(%rbx), %rsi
	leaq	-128(%rbp), %rdi
	callq	_BUF_MEM_grow_clean
	testl	%eax, %eax
	je	LBB0_48
## %bb.32:
	movq	-120(%rbp), %r14
	movq	$0, (%r14,%rbx,8)
	jmp	LBB0_43
LBB0_33:
	cmpl	%ecx, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_35
## %bb.34:
	movq	%r15, %rdi
	callq	_asn1_tlc_clear
	jmp	LBB0_36
LBB0_35:
	cmpb	$0, -43(%rbp)
	je	LBB0_46
LBB0_36:
	movq	(%rbx), %r14
	movb	-42(%rbp), %al
	testb	%al, %al
	je	LBB0_41
## %bb.37:
	movq	-64(%rbp), %rsi
	movsbl	%al, %edx
	leaq	-56(%rbp), %rdi
	callq	_asn1_find_end
	testl	%eax, %eax
	je	LBB0_47
## %bb.38:
	movq	-56(%rbp), %rbx
	subq	%r14, %rbx
	jmp	LBB0_43
LBB0_39:
	movq	-56(%rbp), %r14
	movq	-64(%rbp), %rbx
	leaq	(%r14,%rbx), %rax
	jmp	LBB0_42
LBB0_40:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TYPE_NOT_PRIMITIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_41:
	movq	-56(%rbp), %rax
	movq	%rax, %rbx
	subq	%r14, %rbx
	movq	-64(%rbp), %rcx
	addq	%rcx, %rbx
	addq	%rcx, %rax
LBB0_42:
	movq	%rax, -56(%rbp)
LBB0_43:
	movl	-48(%rbp), %ecx
	leaq	-41(%rbp), %r8
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_asn1_ex_c2i
	testl	%eax, %eax
	je	LBB0_47
## %bb.44:
	movq	-56(%rbp), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %r14d
	cmpb	$0, -41(%rbp)
	jne	LBB0_50
	jmp	LBB0_20
LBB0_47:
	xorl	%r14d, %r14d
LBB0_49:
	cmpb	$0, -41(%rbp)
	je	LBB0_20
LBB0_50:
	movq	-120(%rbp), %rdi
	callq	_OPENSSL_free
	jmp	LBB0_20
LBB0_46:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TYPE_NOT_CONSTRUCTED@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_48:
	movq	_ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	cmpb	$0, -41(%rbp)
	jne	LBB0_50
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_ASN1_D2I_EX_PRIMITIVE,4,2 ## @ASN1_F_ASN1_D2I_EX_PRIMITIVE
	.comm	_ASN1_R_ILLEGAL_NULL,4,2        ## @ASN1_R_ILLEGAL_NULL
	.comm	_ASN1_ITYPE_MSTRING,8,3         ## @ASN1_ITYPE_MSTRING
	.comm	_V_ASN1_ANY,4,2                 ## @V_ASN1_ANY
	.comm	_ASN1_R_ILLEGAL_TAGGED_ANY,4,2  ## @ASN1_R_ILLEGAL_TAGGED_ANY
	.comm	_ASN1_R_ILLEGAL_OPTIONAL_ANY,4,2 ## @ASN1_R_ILLEGAL_OPTIONAL_ANY
	.comm	_ERR_R_NESTED_ASN1_ERROR,4,2    ## @ERR_R_NESTED_ASN1_ERROR
	.comm	_V_ASN1_UNIVERSAL,1,0           ## @V_ASN1_UNIVERSAL
	.comm	_V_ASN1_OTHER,4,2               ## @V_ASN1_OTHER
	.comm	_V_ASN1_SEQUENCE,4,2            ## @V_ASN1_SEQUENCE
	.comm	_V_ASN1_SET,4,2                 ## @V_ASN1_SET
	.comm	_ASN1_R_TYPE_NOT_CONSTRUCTED,4,2 ## @ASN1_R_TYPE_NOT_CONSTRUCTED
	.comm	_V_ASN1_NULL,4,2                ## @V_ASN1_NULL
	.comm	_V_ASN1_BOOLEAN,4,2             ## @V_ASN1_BOOLEAN
	.comm	_V_ASN1_OBJECT,4,2              ## @V_ASN1_OBJECT
	.comm	_V_ASN1_INTEGER,4,2             ## @V_ASN1_INTEGER
	.comm	_V_ASN1_ENUMERATED,4,2          ## @V_ASN1_ENUMERATED
	.comm	_ASN1_R_TYPE_NOT_PRIMITIVE,4,2  ## @ASN1_R_TYPE_NOT_PRIMITIVE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_asn1_d2i_ex_primitive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_d2i_ex_primitive
_asn1_d2i_ex_primitive:                 ; @asn1_d2i_ex_primitive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	strb	wzr, [sp, #77]
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x7
	mov	x24, x6
	mov	x25, x5
	mov	x26, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x3]
Lloh0:
	adrp	x9, _ASN1_ITYPE_MSTRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASN1_ITYPE_MSTRING@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x9, _V_ASN1_ANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V_ASN1_ANY@GOTPAGEOFF]
	cmp	x8, x10
	b.ne	LBB0_5
; %bb.2:
	stur	w26, [x29, #-84]
	ldr	w8, [x9]
	cmp	w8, w26
	b.ne	LBB0_12
; %bb.3:
	mov	w26, #-1
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ASN1_R_ILLEGAL_NULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ASN1_R_ILLEGAL_NULL@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	ldr	w8, [x20, #8]
	stur	w8, [x29, #-84]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.6:
	tbnz	w26, #31, LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _ASN1_R_ILLEGAL_TAGGED_ANY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ASN1_R_ILLEGAL_TAGGED_ANY@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	cbz	w24, LBB0_28
; %bb.9:
Lloh15:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _ASN1_R_ILLEGAL_OPTIONAL_ANY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ASN1_R_ILLEGAL_OPTIONAL_ANY@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w23, #0
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_12:
	mov	x8, x26
	mov	w26, #-1
LBB0_13:
Lloh20:
	adrp	x27, _V_ASN1_UNIVERSAL@GOTPAGE
Lloh21:
	ldr	x27, [x27, _V_ASN1_UNIVERSAL@GOTPAGEOFF]
	ldrb	w9, [x27]
	cmn	w26, #1
	csel	w9, w9, w25, eq
	csel	w7, w8, w26, eq
	ldr	x8, [x19]
	str	x8, [sp, #64]
	str	x22, [sp, #8]
	strb	w24, [sp, #4]
	add	x0, sp, #80
	add	x3, sp, #78
	add	x4, sp, #79
	add	x5, sp, #64
	str	w9, [sp]
	mov	x1, #0
	mov	x2, #0
	mov	x6, x23
	bl	_asn1_check_tlen
	mov	x23, x0
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.14:
	cbnz	w23, LBB0_16
; %bb.15:
Lloh22:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _ERR_R_NESTED_ASN1_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_R_NESTED_ASN1_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_ASN1err
	b	LBB0_11
LBB0_16:
Lloh28:
	adrp	x9, _V_ASN1_SEQUENCE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _V_ASN1_SEQUENCE@GOTPAGEOFF]
	ldur	w8, [x29, #-84]
Lloh30:
	ldr	w10, [x9]
Lloh31:
	adrp	x9, _V_ASN1_OTHER@GOTPAGE
Lloh32:
	ldr	x9, [x9, _V_ASN1_OTHER@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w10
	b.eq	LBB0_31
; %bb.17:
Lloh34:
	adrp	x10, _V_ASN1_SET@GOTPAGE
Lloh35:
	ldr	x10, [x10, _V_ASN1_SET@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	cmp	w8, w10
	b.eq	LBB0_31
; %bb.18:
	cmp	w8, w9
	b.eq	LBB0_31
; %bb.19:
	ldrb	w9, [sp, #79]
	cbz	w9, LBB0_39
; %bb.20:
Lloh37:
	adrp	x9, _V_ASN1_NULL@GOTPAGE
Lloh38:
	ldr	x9, [x9, _V_ASN1_NULL@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.21:
Lloh40:
	adrp	x9, _V_ASN1_BOOLEAN@GOTPAGE
Lloh41:
	ldr	x9, [x9, _V_ASN1_BOOLEAN@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.22:
Lloh43:
	adrp	x9, _V_ASN1_OBJECT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _V_ASN1_OBJECT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.23:
Lloh46:
	adrp	x9, _V_ASN1_INTEGER@GOTPAGE
Lloh47:
	ldr	x9, [x9, _V_ASN1_INTEGER@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.24:
Lloh49:
	adrp	x9, _V_ASN1_ENUMERATED@GOTPAGE
Lloh50:
	ldr	x9, [x9, _V_ASN1_ENUMERATED@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.25:
	mov	w8, #1
	strb	w8, [sp, #77]
	ldr	x2, [sp, #80]
	ldrsb	w3, [sp, #78]
	ldrb	w5, [x27]
	add	x0, sp, #16
	add	x1, sp, #64
	mov	w4, #-1
	mov	w6, #0
	bl	_asn1_collect
	cbz	w0, LBB0_47
; %bb.26:
	ldr	x23, [sp, #16]
	add	x1, x23, #1
	add	x0, sp, #16
	bl	_BUF_MEM_grow_clean
	cbz	w0, LBB0_46
; %bb.27:
	ldr	x22, [sp, #24]
	str	xzr, [x22, x23, lsl #3]
	b	LBB0_43
LBB0_28:
	ldr	x8, [x19]
	str	x8, [sp, #64]
	str	x22, [sp, #8]
	strb	wzr, [sp, #4]
	sub	x1, x29, #84
	add	x2, sp, #80
	add	x5, sp, #64
	str	wzr, [sp]
	mov	x0, #0
	mov	x3, #0
	mov	x4, #0
	mov	x6, x23
	mov	w7, #-1
	bl	_asn1_check_tlen
	cbz	w0, LBB0_33
; %bb.29:
	ldrb	w8, [sp, #80]
Lloh52:
	adrp	x9, _V_ASN1_UNIVERSAL@GOTPAGE
Lloh53:
	ldr	x9, [x9, _V_ASN1_UNIVERSAL@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_38
; %bb.30:
	ldur	w8, [x29, #-84]
	b	LBB0_13
LBB0_31:
	cmp	w8, w9
	b.ne	LBB0_34
; %bb.32:
	mov	x0, x22
	bl	_asn1_tlc_clear
	b	LBB0_35
LBB0_33:
Lloh54:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x8, _ERR_R_NESTED_ASN1_ERROR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ERR_R_NESTED_ASN1_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_34:
	ldrb	w8, [sp, #79]
	cbz	w8, LBB0_45
LBB0_35:
	ldr	x22, [x19]
	ldrb	w8, [sp, #78]
	cbz	w8, LBB0_41
; %bb.36:
	ldr	x1, [sp, #80]
	sxtb	w2, w8
	add	x0, sp, #64
	bl	_asn1_find_end
	cbz	w0, LBB0_47
; %bb.37:
	ldr	x8, [sp, #64]
	sub	x23, x8, x22
	b	LBB0_43
LBB0_38:
Lloh59:
	adrp	x8, _V_ASN1_OTHER@GOTPAGE
Lloh60:
	ldr	x8, [x8, _V_ASN1_OTHER@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	stur	w8, [x29, #-84]
	b	LBB0_13
LBB0_39:
	ldr	x22, [sp, #64]
	ldr	x23, [sp, #80]
	add	x8, x22, x23
	b	LBB0_42
LBB0_40:
Lloh62:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
Lloh65:
	adrp	x8, _ASN1_R_TYPE_NOT_PRIMITIVE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ASN1_R_TYPE_NOT_PRIMITIVE@GOTPAGEOFF]
	b	LBB0_10
LBB0_41:
	ldr	x8, [sp, #64]
	ldr	x9, [sp, #80]
	sub	x10, x8, x22
	add	x23, x10, x9
	add	x8, x8, x9
LBB0_42:
	str	x8, [sp, #64]
LBB0_43:
	ldur	w3, [x29, #-84]
	add	x4, sp, #77
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x5, x20
	bl	_asn1_ex_c2i
	cbz	w0, LBB0_47
; %bb.44:
	ldr	x8, [sp, #64]
	str	x8, [x19]
	mov	w23, #1
	b	LBB0_48
LBB0_45:
Lloh67:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
Lloh70:
	adrp	x8, _ASN1_R_TYPE_NOT_CONSTRUCTED@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ASN1_R_TYPE_NOT_CONSTRUCTED@GOTPAGEOFF]
	b	LBB0_10
LBB0_46:
Lloh72:
	adrp	x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ASN1_F_ASN1_D2I_EX_PRIMITIVE@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
Lloh75:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	bl	_ASN1err
LBB0_47:
	mov	w23, #0
LBB0_48:
	ldrb	w8, [sp, #77]
	cbz	w8, LBB0_11
; %bb.49:
	ldr	x0, [sp, #24]
	bl	_OPENSSL_free
	b	LBB0_11
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_ASN1_D2I_EX_PRIMITIVE,4,2 ; @ASN1_F_ASN1_D2I_EX_PRIMITIVE
	.comm	_ASN1_R_ILLEGAL_NULL,4,2        ; @ASN1_R_ILLEGAL_NULL
	.comm	_ASN1_ITYPE_MSTRING,8,3         ; @ASN1_ITYPE_MSTRING
	.comm	_V_ASN1_ANY,4,2                 ; @V_ASN1_ANY
	.comm	_ASN1_R_ILLEGAL_TAGGED_ANY,4,2  ; @ASN1_R_ILLEGAL_TAGGED_ANY
	.comm	_ASN1_R_ILLEGAL_OPTIONAL_ANY,4,2 ; @ASN1_R_ILLEGAL_OPTIONAL_ANY
	.comm	_ERR_R_NESTED_ASN1_ERROR,4,2    ; @ERR_R_NESTED_ASN1_ERROR
	.comm	_V_ASN1_UNIVERSAL,1,0           ; @V_ASN1_UNIVERSAL
	.comm	_V_ASN1_OTHER,4,2               ; @V_ASN1_OTHER
	.comm	_V_ASN1_SEQUENCE,4,2            ; @V_ASN1_SEQUENCE
	.comm	_V_ASN1_SET,4,2                 ; @V_ASN1_SET
	.comm	_ASN1_R_TYPE_NOT_CONSTRUCTED,4,2 ; @ASN1_R_TYPE_NOT_CONSTRUCTED
	.comm	_V_ASN1_NULL,4,2                ; @V_ASN1_NULL
	.comm	_V_ASN1_BOOLEAN,4,2             ; @V_ASN1_BOOLEAN
	.comm	_V_ASN1_OBJECT,4,2              ; @V_ASN1_OBJECT
	.comm	_V_ASN1_INTEGER,4,2             ; @V_ASN1_INTEGER
	.comm	_V_ASN1_ENUMERATED,4,2          ; @V_ASN1_ENUMERATED
	.comm	_ASN1_R_TYPE_NOT_PRIMITIVE,4,2  ; @ASN1_R_TYPE_NOT_PRIMITIVE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_asn1_d2i_ex_primitive
.subsections_via_symbols
