	.file	"extr_debugfs.c_mmio_diff_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmio_diff_handler, @function
mmio_diff_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR [rdi]
	mov	rdi, rsi
	call	_MMIO@PLT
	mov	esi, eax
	mov	rdi, r12
	call	intel_uncore_read_notrace@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	rsi, rbp
	mov	r13, rax
	call	vgpu_vreg@PLT
	cmp	r13, rax
	jne	.L7
.L2:
	add	DWORD PTR [rbx], 1
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 32
	mov	r12, rax
	call	kmalloc@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	rdi, rdi
	je	.L1
	mov	QWORD PTR 24[rdi], rbp
	lea	rsi, 8[rbx]
	mov	QWORD PTR 16[rdi], r13
	mov	QWORD PTR 8[rdi], r12
	call	list_add@PLT
	add	DWORD PTR 4[rbx], 1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	mmio_diff_handler, .-mmio_diff_handler
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_debugfs.c_mmio_diff_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmio_diff_handler, %function
mmio_diff_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0]
	mov	r0, r1
	mov	r4, r2
	mov	r5, r1
	bl	_MMIO
	mov	r1, r0
	mov	r0, r6
	bl	intel_uncore_read_notrace
	mov	r1, r5
	mov	r7, r0
	ldr	r0, [r4, #12]
	bl	vgpu_vreg
	cmp	r7, r0
	bne	.L7
.L2:
	ldr	r3, [r4]
	mov	r0, #0
	add	r3, r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9
	mov	r6, r0
	ldr	r1, [r3]
	mov	r0, #16
	bl	kmalloc
	subs	r3, r0, #0
	beq	.L8
	stmib	r3, {r6, r7}
	str	r5, [r3, #12]
	add	r1, r4, #8
	bl	list_add
	ldr	r3, [r4, #4]
	add	r3, r3, #1
	str	r3, [r4, #4]
	b	.L2
.L8:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	mmio_diff_handler, .-mmio_diff_handler
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
