	.file	"extr_hid-steam.c_steam_client_ll_close.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	steam_client_ll_close, @function
steam_client_ll_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	rsi, r13
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	lea	r12, 12[rbp]
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	rdi, r12
	mov	rsi, r13
	mov	ebx, DWORD PTR 0[rbp]
	call	spin_unlock_irqrestore@PLT
	lea	r12, 8[rbp]
	mov	rdi, r12
	call	mutex_lock@PLT
	mov	DWORD PTR 4[rbp], 0
	test	ebx, ebx
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR lizard_mode[rip]
	mov	rdi, rbp
	call	steam_set_lizard_mode@PLT
	mov	rdi, r12
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	steam_input_register@PLT
	.cfi_endproc
.LFE0:
	.size	steam_client_ll_close, .-steam_client_ll_close
	.comm	lizard_mode,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_hid-steam.c_steam_client_ll_close.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	steam_client_ll_close, %function
steam_client_ll_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	mov	r6, #0
	mov	r4, r5
	add	r7, r5, #12
	mov	r1, r6
	mov	r0, r7
	bl	spin_lock_irqsave
	mov	r1, r6
	ldr	r6, [r4], #8
	mov	r0, r7
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	mutex_lock
	mov	r3, #0
	cmp	r6, r3
	str	r3, [r5, #4]
	bne	.L5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	mutex_unlock
.L5:
	ldr	r3, .L6
	mov	r0, r5
	ldr	r1, [r3]
	bl	steam_set_lizard_mode
	mov	r0, r4
	bl	mutex_unlock
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	steam_input_register
.L7:
	.align	2
.L6:
	.word	lizard_mode
	.size	steam_client_ll_close, .-steam_client_ll_close
	.comm	lizard_mode,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
