	.file	"extr_rpmh.c_cache_rpm_request.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cache_rpm_request, @function
cache_rpm_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 4[rdi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	xor	esi, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	mov	rbx, rdi
	mov	rdi, r15
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock_irqsave@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, rbx
	call	__find_req@PLT
	mov	r12, rax
	test	rax, rax
	je	.L12
.L2:
	endbr64
	cmp	r14d, 129
	je	.L5
.L14:
	cmp	r14d, 130
	je	.L6
	cmp	r14d, 128
	je	.L7
.L8:
	mov	DWORD PTR [rbx], 1
.L4:
	mov	rdi, r15
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR UINT_MAX[rip]
	cmp	DWORD PTR [r12], eax
	je	.L8
.L7:
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 4[r12], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 16
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L13
	mov	eax, DWORD PTR 4[rbp]
	lea	r13, 8[r12]
	mov	rdi, r13
	mov	DWORD PTR 12[r12], eax
	mov	eax, DWORD PTR UINT_MAX[rip]
	mov	DWORD PTR 4[r12], eax
	mov	DWORD PTR [r12], eax
	call	INIT_LIST_HEAD@PLT
	lea	rsi, 8[rbx]
	mov	rdi, r13
	call	list_add_tail@PLT
	cmp	r14d, 129
	jne	.L14
.L5:
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR [r12], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	cache_rpm_request, .-cache_rpm_request
	.comm	UINT_MAX,4,4
	.comm	GFP_ATOMIC,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_rpmh.c_cache_rpm_request.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cache_rpm_request, %function
cache_rpm_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r2
	mov	r6, r0
	add	r9, r0, #4
	mov	r7, r1
	mov	r0, r9
	mov	r1, #0
	bl	spin_lock_irqsave
	mov	r0, r6
	ldr	r1, [r8, #4]
	bl	__find_req
	subs	r4, r0, #0
	beq	.L11
.L2:
	cmp	r7, #129
	beq	.L5
.L13:
	cmp	r7, #130
	beq	.L6
	cmp	r7, #128
	beq	.L7
.L8:
	mov	r3, #1
	str	r3, [r6]
.L4:
	mov	r0, r9
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, .L14
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
.L7:
	ldr	r3, [r8]
	str	r3, [r4, #4]
	b	.L8
.L11:
	ldr	r3, .L14+4
	mov	r0, #16
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L12
	mov	r5, r4
	ldr	r3, .L14
	ldr	r2, [r8, #4]
	ldr	r3, [r3]
	str	r2, [r4, #12]
	str	r3, [r4, #4]
	str	r3, [r5], #8
	mov	r0, r5
	bl	INIT_LIST_HEAD
	mov	r0, r5
	add	r1, r6, #8
	bl	list_add_tail
	cmp	r7, #129
	bne	.L13
.L5:
	ldr	r3, [r8]
	str	r3, [r4]
	b	.L8
.L12:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L4
.L15:
	.align	2
.L14:
	.word	UINT_MAX
	.word	GFP_ATOMIC
	.word	ENOMEM
	.size	cache_rpm_request, .-cache_rpm_request
	.comm	UINT_MAX,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
