	.file	"extr_stram.c_atari_stram_free.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"atari_stram_free: trying to free nonexistent region at %p\n"
	.align 8
.LC1:
	.string	"atari_stram_free: free %lu bytes at %p\n"
	.text
	.p2align 4
	.globl	atari_stram_free
	.type	atari_stram_free, @function
atari_stram_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	atari_stram_to_phys@PLT
	lea	rdi, stram_pool[rip]
	mov	rsi, rax
	call	lookup_resource@PLT
	test	rax, rax
	je	.L5
	mov	rdi, rax
	mov	rbp, rax
	call	resource_size@PLT
	mov	rdx, r12
	lea	rdi, .LC1[rip]
	mov	rsi, rax
	call	pr_debug@PLT
	mov	rdi, rbp
	call	release_resource@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	pr_err@PLT
	.cfi_endproc
.LFE0:
	.size	atari_stram_free, .-atari_stram_free
	.comm	stram_pool,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_stram.c_atari_stram_free.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"atari_stram_free: trying to free nonexistent region"
	.ascii	" at %p\012\000"
	.align	2
.LC1:
	.ascii	"atari_stram_free: free %lu bytes at %p\012\000"
	.text
	.align	2
	.global	atari_stram_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	atari_stram_free, %function
atari_stram_free:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	atari_stram_to_phys
	mov	r1, r0
	ldr	r0, .L6
	bl	lookup_resource
	subs	r4, r0, #0
	beq	.L5
	bl	resource_size
	mov	r2, r5
	mov	r1, r0
	ldr	r0, .L6+4
	bl	pr_debug
	mov	r0, r4
	bl	release_resource
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	kfree
.L5:
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	ldr	r0, .L6+8
	b	pr_err
.L7:
	.align	2
.L6:
	.word	stram_pool
	.word	.LC1
	.word	.LC0
	.size	atari_stram_free, .-atari_stram_free
	.comm	stram_pool,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
