	.file	"extr_tasn_new.c_asn1_primitive_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	asn1_primitive_new, @function
asn1_primitive_new:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L23
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 16[rsi]
	test	rax, rax
	je	.L3
	test	edx, edx
	je	.L4
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L5
	call	rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR ASN1_ITYPE_MSTRING[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L24
	mov	r12d, DWORD PTR 8[rsi]
	cmp	r12d, 130
	je	.L8
	jg	.L9
	cmp	r12d, 128
	je	.L10
	cmp	r12d, 129
	jne	.L7
.L11:
	mov	QWORD PTR 0[r13], 1
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR ASN1_ITYPE_MSTRING[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L76
	mov	r12d, DWORD PTR 8[rsi]
	cmp	r12d, 130
	je	.L8
	jg	.L22
	cmp	r12d, 128
	je	.L10
	cmp	r12d, 129
	je	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, r12d
	call	ASN1_STRING_type_new@PLT
	mov	rcx, QWORD PTR ASN1_ITYPE_MSTRING[rip]
	test	rax, rax
	mov	QWORD PTR 0[r13], rax
	mov	rbx, rax
	setne	al
	cmp	QWORD PTR 0[rbp], rcx
	sete	dl
	and	dl, al
	je	.L14
	mov	ecx, DWORD PTR 4[rbx]
	mov	eax, edx
.L17:
	or	ecx, DWORD PTR ASN1_STRING_FLAG_MSTRING[rip]
	mov	DWORD PTR 4[rbx], ecx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR ASN1_ITYPE_MSTRING[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L77
	mov	r12d, DWORD PTR 8[rsi]
	cmp	r12d, 130
	je	.L8
	jg	.L21
	cmp	r12d, 128
	je	.L10
	cmp	r12d, 129
	je	.L11
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r12d, -1
.L7:
	test	edx, edx
	je	.L15
.L18:
	mov	rbx, QWORD PTR 0[r13]
	mov	edx, 8
	xor	esi, esi
	mov	rdi, rbx
	call	memset@PLT
	mov	ecx, DWORD PTR ASN1_STRING_FLAG_EMBED[rip]
	mov	DWORD PTR [rbx], r12d
	mov	rax, QWORD PTR ASN1_ITYPE_MSTRING[rip]
	mov	DWORD PTR 4[rbx], ecx
	cmp	QWORD PTR 0[rbp], rax
	je	.L16
	cmp	QWORD PTR 0[r13], 0
	setne	al
.L14:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	movzx	eax, al
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	cmp	r12d, 131
	jne	.L7
.L12:
	mov	edi, 16
	call	OPENSSL_malloc@PLT
	test	rax, rax
	je	.L78
	mov	QWORD PTR 8[rax], 0
	mov	DWORD PTR [rax], -1
	mov	QWORD PTR 0[r13], rax
	mov	eax, 1
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	r12d, 131
	je	.L12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L21:
	cmp	r12d, 131
	je	.L12
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR 12[rbp]
	mov	DWORD PTR 0[r13], eax
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR NID_undef[rip]
	call	OBJ_nid2obj@PLT
	mov	QWORD PTR 0[r13], rax
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L77:
	mov	r12d, -1
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L76:
	mov	r12d, -1
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	QWORD PTR 0[r13], 0
	setne	al
	jmp	.L17
.L78:
	mov	esi, DWORD PTR ERR_R_MALLOC_FAILURE[rip]
	mov	edi, DWORD PTR ASN1_F_ASN1_PRIMITIVE_NEW[rip]
	call	ASN1err@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	asn1_primitive_new, .-asn1_primitive_new
	.comm	NID_undef,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	ASN1_STRING_FLAG_MSTRING,4,4
	.comm	ASN1_STRING_FLAG_EMBED,4,4
	.comm	ASN1_ITYPE_MSTRING,8,8
	.comm	ASN1_F_ASN1_PRIMITIVE_NEW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tasn_new.c_asn1_primitive_new.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asn1_primitive_new, %function
asn1_primitive_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	beq	.L25
	ldr	r3, [r4, #12]
	mov	r5, r0
	cmp	r3, #0
	beq	.L3
	cmp	r2, #0
	beq	.L4
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L5
	blx	r3
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	pop	{r4, r5, r6, lr}
	bx	r3
.L3:
	ldr	r6, .L35
	ldr	r1, [r4]
	ldr	r3, [r6]
	cmp	r1, r3
	beq	.L7
	ldr	r0, [r4, #4]
	sub	r3, r0, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L6:
	ldr	r6, .L35
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L26
	ldr	r0, [r4, #4]
	sub	r3, r0, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L17
.L22:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L5:
	ldr	r3, .L35
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L24
	ldr	r0, [r4, #4]
	sub	r3, r0, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L16
.L21:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L7:
	cmp	r2, #0
	bne	.L24
.L26:
	mvn	r0, #0
.L17:
	bl	ASN1_STRING_type_new
	mov	r3, r0
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r2, [r4]
	ldr	r1, [r6]
	str	r3, [r5]
	cmp	r2, r1
	movne	r2, #0
	andeq	r2, r0, #1
	cmp	r2, #0
	popeq	{r4, r5, r6, pc}
	ldr	r1, [r3, #4]
.L23:
	ldr	r2, .L35+4
	mov	r0, #1
	ldr	r2, [r2]
	orr	r2, r2, r1
	str	r2, [r3, #4]
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, #8
	bl	OPENSSL_malloc
	subs	r4, r0, #0
	beq	.L34
	mvn	r2, #0
	mov	r3, #0
	mov	r0, #1
	stm	r4, {r2, r3}
	str	r4, [r5]
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, [r4, #8]
	mov	r0, #1
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L12:
	mov	r4, #1
	mov	r0, r4
	str	r4, [r5]
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, .L35+8
	ldr	r0, [r3]
	bl	OBJ_nid2obj
	mov	r3, r0
	mov	r0, #1
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L25:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L24:
	mvn	r2, #0
	ldr	r1, .L35+12
	ldr	r3, [r5]
	ldr	r1, [r1]
	str	r2, [r3]
	str	r1, [r3, #4]
	b	.L23
.L34:
	ldr	r2, .L35+16
	ldr	r3, .L35+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	ASN1err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	cmp	r2, #0
	beq	.L17
.L16:
	ldr	r2, .L35+12
	ldr	r3, [r5]
	ldr	r2, [r2]
	stm	r3, {r0, r2}
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L36:
	.align	2
.L35:
	.word	ASN1_ITYPE_MSTRING
	.word	ASN1_STRING_FLAG_MSTRING
	.word	NID_undef
	.word	ASN1_STRING_FLAG_EMBED
	.word	ERR_R_MALLOC_FAILURE
	.word	ASN1_F_ASN1_PRIMITIVE_NEW
	.size	asn1_primitive_new, .-asn1_primitive_new
	.comm	NID_undef,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	ASN1_STRING_FLAG_MSTRING,4,4
	.comm	ASN1_STRING_FLAG_EMBED,4,4
	.comm	ASN1_ITYPE_MSTRING,4,4
	.comm	ASN1_F_ASN1_PRIMITIVE_NEW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
