	.file	"extr_cert.c_find_cert_by_name_str_w.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s\n"
	.text
	.p2align 4
	.type	find_cert_by_name_str_w, @function
find_cert_by_name_str_w:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], edi
	mov	rdi, rcx
	call	debugstr_w@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	TRACE@PLT
	test	rbx, rbx
	je	.L2
	mov	rdi, rbx
	call	strlenW@PLT
	lea	edi, 4[0+rax*4]
	call	CryptMemAlloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	rdi, QWORD PTR [rbx]
	mov	r12, rax
	test	rdi, rdi
	je	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	call	tolowerW@PLT
	add	rbx, 8
	add	r12, 8
	mov	QWORD PTR -8[r12], rax
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L5
.L4:
	mov	edi, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR compare_cert_by_name_str[rip]
	mov	r9, rbp
	mov	r8d, r14d
	mov	QWORD PTR [r12], 0
	mov	ecx, r13d
	mov	rsi, r15
	call	cert_compare_certs_in_store@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	CryptMemFree@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
	mov	edi, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	r8, r15
	mov	edx, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	esi, r13d
	pop	rbp
	.cfi_def_cfa_offset 40
	xor	ecx, ecx
	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
	jmp	find_cert_any@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	find_cert_by_name_str_w, .-find_cert_by_name_str_w
	.comm	compare_cert_by_name_str,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_cert.c_find_cert_by_name_str_w.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_cert_by_name_str_w, %function
find_cert_by_name_str_w:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	sub	sp, sp, #8
	mov	r0, r3
	mov	r5, r3
	mov	r8, r1
	mov	r9, r2
	ldr	r10, [sp, #40]
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L11
	bl	TRACE
	cmp	r5, #0
	beq	.L2
	mov	r0, r5
	bl	strlenW
	add	r0, r0, #1
	lsl	r0, r0, #2
	bl	CryptMemAlloc
	subs	r6, r0, #0
	beq	.L1
	ldr	r0, [r5]
	mov	r4, r6
	cmp	r0, #0
	beq	.L4
.L5:
	bl	tolowerW
	str	r0, [r4], #4
	ldr	r0, [r5, #4]!
	cmp	r0, #0
	bne	.L5
.L4:
	mov	ip, #0
	ldr	r2, .L11+4
	str	ip, [r4]
	ldr	r2, [r2]
	mov	r3, r8
	str	r6, [sp, #4]
	mov	r1, r10
	mov	r0, r7
	str	r9, [sp]
	bl	cert_compare_certs_in_store
	mov	r3, r0
	mov	r0, r6
	mov	r6, r3
	bl	CryptMemFree
.L1:
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r3, r5
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	str	r10, [sp, #40]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	find_cert_any
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	compare_cert_by_name_str
	.size	find_cert_by_name_str_w, .-find_cert_by_name_str_w
	.comm	compare_cert_by_name_str,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
