	.file	"extr_samsung-laptop.c_set_performance_level.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_performance_level, @function
set_performance_level:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	dev_get_drvdata@PLT
	test	r13, r13
	je	.L9
	mov	r12, QWORD PTR [rax]
	mov	r14, rax
	mov	rbx, QWORD PTR [r12]
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L5
	xor	r15d, r15d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbx, QWORD PTR [r12]
	add	r15, 16
	add	rbx, r15
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L5
.L6:
	call	strlen@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	mov	edx, eax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L4
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 8[r12]
	mov	rdi, r14
	call	sabi_set_commandb@PLT
	mov	rax, QWORD PTR [r12]
	cmp	QWORD PTR [rax+r15], 0
	je	.L5
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
.L5:
	.cfi_restore_state
	mov	r13, QWORD PTR EINVAL[rip]
	neg	r13
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	set_performance_level, .-set_performance_level
	.comm	EINVAL,8,8
	.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_samsung-laptop.c_set_performance_level.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_performance_level, %function
set_performance_level:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r3
	mov	r7, r2
	bl	dev_get_drvdata
	cmp	r8, #0
	beq	.L10
	ldr	r10, [r0]
	mov	r9, r0
	ldr	r6, [r10]
	ldr	r4, [r6]
	cmp	r4, #0
	beq	.L5
	mov	r5, #0
	b	.L6
.L4:
	ldr	r1, [r10]
	add	r5, r5, #8
	ldr	r4, [r1, r5]
	add	r6, r1, r5
	cmp	r4, #0
	beq	.L5
.L6:
	mov	r0, r4
	bl	strlen
	mov	r1, r7
	mov	r2, r0
	mov	r0, r4
	bl	strncasecmp
	cmp	r0, #0
	bne	.L4
	mov	r0, r9
	ldr	r2, [r6, #4]
	ldr	r1, [r10, #4]
	bl	sabi_set_commandb
	ldr	r3, [r10]
	ldr	r3, [r3, r5]
	cmp	r3, #0
	beq	.L5
.L10:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, .L20
	ldr	r8, [r3]
	rsb	r8, r8, #0
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L21:
	.align	2
.L20:
	.word	EINVAL
	.size	set_performance_level, .-set_performance_level
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
