	.file	"extr_x509.c_purpose_print.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"%s%s : "
.LC2:
	.string	"Yes (WARNING code=%d)\n"
.LC3:
	.string	"No\n"
.LC4:
	.string	"Yes\n"
.LC5:
	.string	" CA"
	.text
	.p2align 4
	.type	purpose_print, @function
purpose_print:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rdx
	call	X509_PURPOSE_get_id@PLT
	mov	rdi, r13
	mov	r14d, eax
	call	X509_PURPOSE_get0_name@PLT
	xor	edx, edx
	mov	esi, r14d
	mov	rdi, r12
	mov	r13, rax
	call	X509_check_purpose@PLT
	lea	rcx, .LC0[rip]
	mov	rdx, r13
	mov	rdi, rbp
	mov	r15d, eax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	cmp	r15d, 1
	je	.L2
	test	r15d, r15d
	je	.L3
	mov	edx, r15d
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	BIO_printf@PLT
.L4:
	mov	rdi, r12
	mov	edx, 1
	mov	esi, r14d
	call	X509_check_purpose@PLT
	lea	rcx, .LC5[rip]
	mov	rdx, r13
	mov	rdi, rbp
	mov	r12d, eax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	cmp	r12d, 1
	je	.L10
	test	r12d, r12d
	jne	.L7
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L3:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	BIO_printf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, r12d
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L2:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	BIO_printf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
	.cfi_endproc
.LFE0:
	.size	purpose_print, .-purpose_print
	.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_x509.c_purpose_print.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%s%s : \000"
	.align	2
.LC2:
	.ascii	"Yes (WARNING code=%d)\012\000"
	.align	2
.LC3:
	.ascii	"No\012\000"
	.align	2
.LC4:
	.ascii	"Yes\012\000"
	.align	2
.LC5:
	.ascii	" CA\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	purpose_print, %function
purpose_print:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r2
	mov	r6, r2
	mov	r5, r1
	bl	X509_PURPOSE_get_id
	mov	r7, r0
	mov	r0, r6
	bl	X509_PURPOSE_get0_name
	mov	r1, r7
	mov	r6, r0
	mov	r2, #0
	mov	r0, r5
	bl	X509_check_purpose
	mov	r8, r0
	mov	r2, r6
	mov	r0, r4
	ldr	r3, .L11
	ldr	r1, .L11+4
	bl	BIO_printf
	cmp	r8, #1
	beq	.L2
	cmp	r8, #0
	beq	.L3
	mov	r2, r8
	mov	r0, r4
	ldr	r1, .L11+8
	bl	BIO_printf
.L4:
	mov	r1, r7
	mov	r0, r5
	mov	r2, #1
	bl	X509_check_purpose
	mov	r5, r0
	mov	r2, r6
	mov	r0, r4
	ldr	r3, .L11+12
	ldr	r1, .L11+4
	bl	BIO_printf
	cmp	r5, #1
	beq	.L10
	cmp	r5, #0
	bne	.L7
	mov	r0, r4
	ldr	r1, .L11+16
	bl	BIO_printf
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r4
	ldr	r1, .L11+16
	bl	BIO_printf
	b	.L4
.L7:
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L11+8
	bl	BIO_printf
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	ldr	r1, .L11+20
	bl	BIO_printf
	b	.L4
.L10:
	mov	r0, r4
	ldr	r1, .L11+20
	bl	BIO_printf
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	purpose_print, .-purpose_print
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
