	.file	"extr_reg.c_parse_registry_key.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	parse_registry_key
	.type	parse_registry_key, @function
parse_registry_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sane_path@PLT
	test	eax, eax
	jne	.L2
.L12:
	mov	eax, DWORD PTR FALSE[rip]
	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
.L2:
	.cfi_restore_state
	mov	esi, 92
	mov	rdi, rbp
	call	strchrW@PLT
	mov	rdi, rbp
	lea	rdx, 8[rax]
	test	rax, rax
	mov	eax, 0
	cmovne	rax, rdx
	mov	QWORD PTR [rbx], rax
	call	path_get_rootkey@PLT
	mov	DWORD PTR [r12], eax
	mov	edi, eax
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L7
	mov	QWORD PTR -8[rax], 0
.L7:
	mov	edi, DWORD PTR STRING_INVALID_SYSTEM_KEY[rip]
	mov	rsi, rbp
	call	output_message@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR [rbx]
	call	get_long_key@PLT
	mov	QWORD PTR 0[r13], rax
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	parse_registry_key, .-parse_registry_key
	.comm	TRUE,4,4
	.comm	STRING_INVALID_SYSTEM_KEY,4,4
	.comm	FALSE,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_reg.c_parse_registry_key.c"
	.text
	.align	2
	.global	parse_registry_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_registry_key, %function
parse_registry_key:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r5, r2
	mov	r7, r3
	mov	r4, r0
	bl	sane_path
	cmp	r0, #0
	bne	.L2
.L13:
	ldr	r3, .L15
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, #92
	mov	r0, r4
	bl	strchrW
	cmp	r0, #0
	addne	r0, r0, #4
	str	r0, [r5]
	mov	r0, r4
	bl	path_get_rootkey
	cmp	r0, #0
	str	r0, [r6]
	bne	.L6
	ldr	r2, [r5]
	ldr	r3, .L15+4
	cmp	r2, #0
	strne	r0, [r2, #-4]
	mov	r1, r4
	ldr	r0, [r3]
	bl	output_message
	b	.L13
.L6:
	ldr	r1, [r5]
	bl	get_long_key
	ldr	r3, .L15+8
	str	r0, [r7]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	FALSE
	.word	STRING_INVALID_SYSTEM_KEY
	.word	TRUE
	.size	parse_registry_key, .-parse_registry_key
	.comm	TRUE,4,4
	.comm	STRING_INVALID_SYSTEM_KEY,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
