	.file	"extr_i2c-nforce2-s4985.c_nforce2_access_virt0.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nforce2_access_virt0, @function
nforce2_access_virt0:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	and	eax, 252
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	sub	eax, 48
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	and	eax, -36
	je	.L5
	mov	ebp, esi
	cmp	esi, 24
	je	.L5
	mov	r13, rdi
	lea	rdi, nforce2_lock[rip]
	mov	r12d, ecx
	mov	ebx, edx
	mov	r15d, r8d
	mov	r14d, r9d
	call	mutex_lock@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	movsx	ecx, r12b
	movzx	edx, bx
	mov	rax, QWORD PTR nforce2_smbus[rip]
	mov	r9d, r14d
	mov	r8d, r15d
	mov	esi, ebp
	mov	rdi, r13
	mov	rax, QWORD PTR [rax]
	push	QWORD PTR 72[rsp]
	.cfi_def_cfa_offset 80
	call	[QWORD PTR [rax]]
	lea	rdi, nforce2_lock[rip]
	mov	r12d, eax
	call	mutex_unlock@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12d, DWORD PTR ENXIO[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	nforce2_access_virt0, .-nforce2_access_virt0
	.comm	nforce2_smbus,8,8
	.comm	nforce2_lock,4,4
	.comm	ENXIO,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-nforce2-s4985.c_nforce2_access_virt0.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nforce2_access_virt0, %function
nforce2_access_virt0:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	and	ip, r1, #252
	sub	ip, ip, #48
	bic	ip, ip, #35
	cmp	ip, #0
	cmpne	r1, #24
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #20
	bne	.L2
	ldr	r3, .L6
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r4, r1
	mov	r5, r2
	mov	r7, r0
	mov	r6, r3
	ldr	r0, .L6+4
	bl	mutex_lock
	ldr	r2, .L6+8
	mov	r3, r6
	ldr	r1, [r2]
	mov	r0, r7
	ldr	ip, [r1]
	ldr	r1, [sp, #48]
	mov	r2, r5
	str	r1, [sp, #8]
	ldr	r1, [sp, #44]
	str	r1, [sp, #4]
	ldr	r1, [sp, #40]
	str	r1, [sp]
	mov	r1, r4
	ldr	r4, [ip]
	blx	r4
	mov	r4, r0
	ldr	r0, .L6+4
	bl	mutex_unlock
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	.align	2
.L6:
	.word	ENXIO
	.word	nforce2_lock
	.word	nforce2_smbus
	.size	nforce2_access_virt0, .-nforce2_access_virt0
	.comm	nforce2_smbus,4,4
	.comm	nforce2_lock,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
