	.file	"extr_acpi_hpet.c_hpet_find.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_UID"
	.text
	.p2align 4
	.type	hpet_find, @function
hpet_find:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR hpet_ids[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	je	.L5
	mov	ebp, edi
	mov	r12, rdx
	mov	r13, rcx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, QWORD PTR 8[rbx]
	add	rbx, 8
	test	rsi, rsi
	je	.L5
.L4:
	mov	edi, ebp
	call	acpi_MatchHid@PLT
	test	rax, rax
	je	.L16
	cmp	QWORD PTR [rbx], 0
	je	.L5
	mov	edi, ebp
	mov	rdx, rsp
	lea	rsi, .LC0[rip]
	call	acpi_GetInteger@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L6
	cmp	r12, QWORD PTR [rsp]
	je	.L6
.L5:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR AE_OK[rip]
	jne	.L17
	add	rsp, 24
	.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	edi, ebp
	call	acpi_get_device@PLT
	mov	QWORD PTR 0[r13], rax
	jmp	.L5
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hpet_find, .-hpet_find
	.comm	hpet_ids,8,8
	.comm	AE_OK,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_acpi_hpet.c_hpet_find.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"_UID\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpet_find, %function
hpet_find:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	ldr	r1, .L21
	push	{r4, r5, r6, r7, lr}
	ldr	r4, [r1]
	mov	r6, r3
	ldr	r1, [r4]
	ldr	r3, .L21+4
	sub	sp, sp, #12
	cmp	r1, ip
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	ip, [sp]
	beq	.L5
	mov	r5, r0
	mov	r7, r2
	b	.L4
.L19:
	ldr	r1, [r4, #4]!
	cmp	r1, #0
	beq	.L5
.L4:
	mov	r0, r5
	bl	acpi_MatchHid
	cmp	r0, #0
	beq	.L19
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L5
	mov	r2, sp
	ldr	r1, .L21+8
	mov	r0, r5
	bl	acpi_GetInteger
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L6
	ldr	r3, [sp]
	cmp	r7, r3
	beq	.L6
.L5:
	ldr	r3, .L21+12
	ldr	r0, [r3]
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r0, r5
	bl	acpi_get_device
	str	r0, [r6]
	b	.L5
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	hpet_ids
	.word	.LC1
	.word	.LC0
	.word	AE_OK
	.size	hpet_find, .-hpet_find
	.comm	hpet_ids,4,4
	.comm	AE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
