	.file	"extr_int3400_thermal.c_int3400_thermal_run_osc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	int3400_thermal_run_osc, @function
int3400_thermal_run_osc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	mov	esi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edx
	sub	rsp, 72
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR int3400_thermal_uuids[rip]
	movaps	XMMWORD PTR 16[rsp], xmm0
	mov	QWORD PTR 32[rsp], 0
	movaps	XMMWORD PTR [rsp], xmm0
	mov	DWORD PTR 16[rsp], 8
	mov	DWORD PTR [rsp], 1
	mov	eax, DWORD PTR [rax+rsi*4]
	mov	rsi, rsp
	mov	DWORD PTR 32[rsp], eax
	mov	rax, QWORD PTR OSC_QUERY_DWORD[rip]
	mov	DWORD PTR 48[rsp+rax*4], 0
	mov	rax, QWORD PTR OSC_SUPPORT_DWORD[rip]
	mov	DWORD PTR 48[rsp+rax*4], edx
	lea	rax, 48[rsp]
	mov	QWORD PTR 24[rsp], rax
	call	acpi_run_osc@PLT
	mov	edi, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L2
	mov	rdi, QWORD PTR 8[rsp]
	xor	r12d, r12d
	cmp	ebx, DWORD PTR 4[rdi]
	je	.L3
	mov	r12d, DWORD PTR EPERM[rip]
	neg	r12d
.L3:
	call	kfree@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR EPERM[rip]
	mov	rdi, QWORD PTR 8[rsp]
	neg	r12d
	jmp	.L3
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	int3400_thermal_run_osc, .-int3400_thermal_run_osc
	.comm	int3400_thermal_uuids,8,8
	.comm	OSC_SUPPORT_DWORD,8,8
	.comm	OSC_QUERY_DWORD,8,8
	.comm	EPERM,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_int3400_thermal.c_int3400_thermal_run_osc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	int3400_thermal_run_osc, %function
int3400_thermal_run_osc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #1
	mov	r3, #8
	push	{r4, r5, lr}
	mov	r4, #0
	mov	r5, r2
	ldr	r2, .L9
	sub	sp, sp, #36
	str	ip, [sp]
	str	r3, [sp, #8]
	ldr	ip, [r2]
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #4]
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [ip, r1, lsl #2]
	add	ip, sp, #32
	add	r2, ip, r2, lsl #2
	add	r3, ip, r3, lsl #2
	ldr	ip, .L9+12
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	add	ip, sp, #20
	str	r1, [sp, #16]
	mov	r1, sp
	str	r4, [r2, #-12]
	str	ip, [sp, #12]
	str	r5, [r3, #-12]
	bl	acpi_run_osc
	bl	ACPI_SUCCESS
	cmp	r0, r4
	beq	.L2
	ldr	r0, [sp, #4]
	ldr	r3, [r0, #4]
	cmp	r5, r3
	ldrne	r3, .L9+16
	ldrne	r4, [r3]
	rsbne	r4, r4, #0
.L3:
	bl	kfree
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r3, .L9+16
	ldr	r0, [sp, #4]
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L3
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	int3400_thermal_uuids
	.word	OSC_SUPPORT_DWORD
	.word	OSC_QUERY_DWORD
	.word	.LC0
	.word	EPERM
	.size	int3400_thermal_run_osc, .-int3400_thermal_run_osc
	.comm	int3400_thermal_uuids,4,4
	.comm	OSC_SUPPORT_DWORD,4,4
	.comm	OSC_QUERY_DWORD,4,4
	.comm	EPERM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
