	.file	"extr_verify_extra_test.c_test_req_sm2_id.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"this is an ID"
	.text
	.p2align 4
	.type	test_req_sm2_id, @function
test_req_sm2_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edi, DWORD PTR req_f[rip]
	lea	rsi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	BIO_new_file@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rax
	call	PEM_read_bio_X509_REQ@PLT
	mov	r12, rax
	test	rax, rax
	je	.L4
	xor	eax, eax
	xor	r13d, r13d
	call	ASN1_OCTET_STRING_new@PLT
	mov	r14, rax
	test	rax, rax
	je	.L3
	mov	edx, 13
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	ASN1_OCTET_STRING_set@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L16
	mov	rsi, r14
	mov	rdi, r12
	call	X509_REQ_set0_sm2_id@PLT
	mov	rdi, r12
	call	X509_REQ_get0_sm2_id@PLT
	mov	rdi, rax
	mov	r15, rax
	call	TEST_ptr@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L3
	mov	rsi, r15
	mov	rdi, r14
	xor	r13d, r13d
	call	ASN1_OCTET_STRING_cmp@PLT
	xor	esi, esi
	mov	edi, eax
	call	TEST_int_eq@PLT
	test	eax, eax
	setne	r13b
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r13d, r13d
	xor	r12d, r12d
.L3:
	mov	rdi, r12
	call	X509_REQ_free@PLT
	mov	rdi, rbp
	call	BIO_free@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, r14
	call	ASN1_OCTET_STRING_free@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	test_req_sm2_id, .-test_req_sm2_id
	.comm	req_f,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_verify_extra_test.c_test_req_sm2_id.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"this is an ID\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_req_sm2_id, %function
test_req_sm2_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L16+4
	ldr	r0, [r3]
	bl	BIO_new_file
	subs	r6, r0, #0
	beq	.L4
	mov	r3, #0
	mov	r2, r3
	mov	r1, r3
	bl	PEM_read_bio_X509_REQ
	subs	r4, r0, #0
	beq	.L4
	bl	ASN1_OCTET_STRING_new
	subs	r7, r0, #0
	moveq	r5, r7
	beq	.L3
	mov	r2, #13
	ldr	r1, .L16+8
	bl	ASN1_OCTET_STRING_set
	subs	r5, r0, #0
	beq	.L15
	mov	r1, r7
	mov	r0, r4
	bl	X509_REQ_set0_sm2_id
	mov	r0, r4
	bl	X509_REQ_get0_sm2_id
	mov	r8, r0
	bl	TEST_ptr
	subs	r5, r0, #0
	beq	.L3
	mov	r1, r8
	mov	r0, r7
	bl	ASN1_OCTET_STRING_cmp
	mov	r1, #0
	bl	TEST_int_eq
	subs	r5, r0, #0
	movne	r5, #1
	b	.L3
.L4:
	mov	r5, #0
	mov	r4, r5
.L3:
	mov	r0, r4
	bl	X509_REQ_free
	mov	r0, r6
	bl	BIO_free
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r0, r7
	bl	ASN1_OCTET_STRING_free
	b	.L3
.L17:
	.align	2
.L16:
	.word	req_f
	.word	.LC0
	.word	.LC1
	.size	test_req_sm2_id, .-test_req_sm2_id
	.comm	req_f,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
