	.file	"extr_xwin.c_sw_restack_window.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sw_restack_window, @function
sw_restack_window:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR 8[rsi]
	mov	rcx, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rcx, QWORD PTR 16[rcx]
	test	rcx, rcx
	je	.L8
.L5:
	cmp	QWORD PTR [rcx], rdi
	jne	.L14
	mov	r8, QWORD PTR [rsi]
	mov	QWORD PTR [rcx], r8
	cmp	QWORD PTR [rax], rdx
	je	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L3
.L8:
	cmp	QWORD PTR [rax], rdx
	jne	.L15
.L7:
	mov	QWORD PTR [rax], rdi
.L3:
	mov	QWORD PTR [rsi], rdx
	ret
	.cfi_endproc
.LFE0:
	.size	sw_restack_window, .-sw_restack_window
	.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_xwin.c_sw_restack_window.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sw_restack_window, %function
sw_restack_window:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L14
	str	lr, [sp, #-4]!
	mov	r0, r3
	ldr	lr, [r1, #4]
	b	.L5
.L18:
	ldr	r0, [r0, #8]
	cmp	r0, #0
	beq	.L8
.L5:
	ldr	ip, [r0]
	cmp	ip, lr
	bne	.L18
	ldr	ip, [r1]
	str	ip, [r0]
	ldr	r0, [r3]
	cmp	r0, r2
	beq	.L7
.L19:
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L3
.L8:
	ldr	r0, [r3]
	cmp	r0, r2
	bne	.L19
.L7:
	str	lr, [r3]
.L3:
	str	r2, [r1]
	ldr	pc, [sp], #4
.L14:
	str	r2, [r1]
	bx	lr
	.size	sw_restack_window, .-sw_restack_window
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
