	.file	"extr_memory.c_offset_ptr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"access to NULL ptr: page = %d\n"
	.text
	.p2align 4
	.type	offset_ptr, @function
offset_ptr:
.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
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	edi, 1
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	esi, esi
	js	.L2
	xor	edi, edi
	cmp	DWORD PTR [rbx], esi
	setle	dil
.L2:
	call	snd_BUG_ON@PLT
	test	rax, rax
	jne	.L6
	mov	rdx, QWORD PTR 8[rbx]
	movsx	rax, r12d
	mov	r13, QWORD PTR [rdx+rax*8]
	test	r13, r13
	je	.L10
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	lea	edx, -1[rax]
	and	edx, ebp
	movsx	rdx, edx
	add	r13, rdx
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	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
.L6:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	r13d, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	rax, r13
	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
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [rax]
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	offset_ptr, .-offset_ptr
	.comm	PAGE_SIZE,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_memory.c_offset_ptr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"access to NULL ptr: page = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	offset_ptr, %function
offset_ptr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r1, #0
	mov	r5, r0
	mov	r7, r2
	movlt	r0, #1
	blt	.L2
	ldr	r0, [r5]
	cmp	r0, r4
	movgt	r0, #0
	movle	r0, #1
.L2:
	bl	snd_BUG_ON
	cmp	r0, #0
	movne	r6, #0
	bne	.L1
	ldr	r3, [r5, #4]
	ldr	r6, [r3, r4, lsl #2]
	cmp	r6, #0
	beq	.L9
	ldr	r3, .L10
	ldr	r3, [r3]
	sub	r3, r3, #1
	and	r2, r3, r7
	add	r6, r6, r2
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, [r5, #8]
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L10+4
	bl	dev_err
	b	.L1
.L11:
	.align	2
.L10:
	.word	PAGE_SIZE
	.word	.LC0
	.size	offset_ptr, .-offset_ptr
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
