	.file	"extr_i2c-core-acpi.c_i2c_acpi_get_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i2c_acpi_get_info, @function
i2c_acpi_get_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	mov	edx, 24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	mov	rdi, r12
	call	memset@PLT
	mov	rdi, rbp
	mov	QWORD PTR 32[rsp], rbx
	mov	DWORD PTR 16[rsp], -1
	call	acpi_device_enumerated@PLT
	test	rax, rax
	je	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	i2c_acpi_do_lookup@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	test	r13, r13
	je	.L4
	mov	rdi, r13
	call	ACPI_HANDLE@PLT
	cmp	rax, QWORD PTR 24[rsp]
	jne	.L8
.L5:
	mov	rdi, rbp
	call	acpi_fwnode_handle@PLT
	mov	DWORD PTR 4[rbx], eax
	test	r14, r14
	je	.L10
	mov	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR [r14], rax
.L10:
	mov	r13d, DWORD PTR [rbx]
	mov	rdi, rbp
	call	dev_name@PLT
	mov	ecx, 4
	mov	rdi, rbp
	mov	esi, eax
	mov	edx, r13d
	call	acpi_set_modalias@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 24[rsp]
	lea	rsi, 8[rsp]
	call	acpi_bus_get_device@PLT
	test	rax, rax
	je	.L6
.L8:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR 8[rsp]
	call	acpi_bus_get_status@PLT
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L5
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i2c_acpi_get_info, .-i2c_acpi_get_info
	.comm	ENODEV,4,4
	.comm	EINVAL,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_i2c-core-acpi.c_i2c_acpi_get_info.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_acpi_get_info, %function
i2c_acpi_get_info:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	ip, #0
	mvn	r1, #0
	sub	sp, sp, #24
	mov	r7, r3
	ldr	r3, .L18
	str	r5, [sp, #16]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r2
	mov	r8, r0
	str	ip, [sp, #12]
	str	r1, [sp, #8]
	bl	acpi_device_enumerated
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L18+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r8
	add	r1, sp, #8
	bl	i2c_acpi_do_lookup
	subs	r4, r0, #0
	bne	.L1
	cmp	r6, #0
	beq	.L4
	mov	r0, r6
	bl	ACPI_HANDLE
	ldr	r3, [sp, #12]
	cmp	r0, r3
	beq	.L5
.L8:
	ldr	r3, .L18+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L4:
	ldr	r0, [sp, #12]
	add	r1, sp, #4
	bl	acpi_bus_get_device
	cmp	r0, #0
	bne	.L8
	ldr	r0, [sp, #4]
	bl	acpi_bus_get_status
	cmp	r0, #0
	bne	.L8
	ldr	r3, [sp, #4]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L8
.L5:
	mov	r0, r8
	bl	acpi_fwnode_handle
	cmp	r7, #0
	ldrne	r3, [sp, #12]
	str	r0, [r5, #4]
	strne	r3, [r7]
	mov	r0, r8
	bl	dev_name
	mov	r3, #4
	mov	r1, r0
	ldr	r2, [r5]
	mov	r0, r8
	bl	acpi_set_modalias
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	EINVAL
	.word	ENODEV
	.size	i2c_acpi_get_info, .-i2c_acpi_get_info
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
