	.file	"extr_tcx.c_tcx_unmap_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcx_unmap_regs, @function
tcx_unmap_regs:
.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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rsi, QWORD PTR 24[rdx]
	mov	rbx, rdx
	test	rsi, rsi
	jne	.L21
	mov	rsi, QWORD PTR 16[rbx]
	test	rsi, rsi
	jne	.L22
.L3:
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	jne	.L23
.L4:
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	jne	.L24
.L5:
	mov	rsi, QWORD PTR 8[rbp]
	test	rsi, rsi
	jne	.L25
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	mov	edx, 4
	lea	rdi, 28[rax]
	call	of_iounmap@PLT
	mov	rsi, QWORD PTR 16[rbx]
	test	rsi, rsi
	je	.L3
.L22:
	mov	rax, QWORD PTR [r12]
	mov	edx, 4
	lea	rdi, 36[rax]
	call	of_iounmap@PLT
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	je	.L4
.L23:
	mov	rax, QWORD PTR [r12]
	mov	edx, 4
	lea	rdi, 32[rax]
	call	of_iounmap@PLT
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	je	.L5
.L24:
	mov	eax, DWORD PTR 0[rbp]
	lea	edx, 0[0+rax*4]
	mov	rax, QWORD PTR [r12]
	lea	rdi, 16[rax]
	call	of_iounmap@PLT
	mov	rsi, QWORD PTR 8[rbp]
	test	rsi, rsi
	je	.L1
.L25:
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [r12]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	of_iounmap@PLT
	.cfi_endproc
.LFE0:
	.size	tcx_unmap_regs, .-tcx_unmap_regs
	.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_tcx.c_tcx_unmap_regs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcx_unmap_regs, %function
tcx_unmap_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r2, #12]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r2
	mov	r6, r0
	mov	r5, r1
	bne	.L21
.L2:
	ldr	r1, [r4, #8]
	cmp	r1, #0
	bne	.L22
.L3:
	ldr	r1, [r4, #4]
	cmp	r1, #0
	bne	.L23
.L4:
	ldr	r1, [r4]
	cmp	r1, #0
	bne	.L24
.L5:
	ldr	r1, [r5, #4]
	cmp	r1, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, [r5]
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	of_iounmap
.L24:
	ldr	r2, [r5]
	ldr	r0, [r6]
	lsl	r2, r2, #2
	add	r0, r0, #16
	bl	of_iounmap
	b	.L5
.L23:
	ldr	r0, [r6]
	mov	r2, #4
	add	r0, r0, #32
	bl	of_iounmap
	b	.L4
.L22:
	ldr	r0, [r6]
	mov	r2, #4
	add	r0, r0, #36
	bl	of_iounmap
	b	.L3
.L21:
	ldr	r0, [r0]
	mov	r1, r3
	mov	r2, #4
	add	r0, r0, #28
	bl	of_iounmap
	b	.L2
	.size	tcx_unmap_regs, .-tcx_unmap_regs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
