	.file	"extr_diff-simple.c_diff_trees_recursive.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	diff_trees_recursive, @function
diff_trees_recursive:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edi
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	QWORD PTR 40[rsp], rdx
	lea	rbp, 64[rsp]
	mov	QWORD PTR 48[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	test	edi, edi
	jle	.L5
.L2:
	mov	rdx, QWORD PTR [rsi+rax*8]
	test	rdx, rdx
	je	.L4
	mov	rdx, QWORD PTR [rdx]
.L4:
	mov	QWORD PTR 0[rbp+rax*8], rdx
	add	rax, 1
	cmp	ebx, eax
	jg	.L2
.L5:
	lea	eax, 0[0+rbx*8]
	xor	r12d, r12d
	lea	r13, 96[rsp]
	mov	DWORD PTR 60[rsp], eax
	lea	eax, -1[rbx]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 72[rsp+rax*8]
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR 60[rsp]
	xor	esi, esi
	mov	rdi, r13
	call	memset@PLT
	mov	r14, QWORD PTR TRUE[rip]
	test	ebx, ebx
	jle	.L6
	mov	rdx, rbp
	xor	r15d, r15d
.L9:
	mov	rax, QWORD PTR [rdx]
	test	rax, rax
	je	.L7
	mov	r14, QWORD PTR FALSE[rip]
	mov	rcx, QWORD PTR 8[rax]
	test	r15, r15
	je	.L53
	mov	rdi, QWORD PTR [rcx]
	mov	rsi, r15
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 32[rsp], rcx
	call	strcmp@PLT
	mov	rdx, QWORD PTR 24[rsp]
	test	rax, rax
	jle	.L7
	mov	rcx, QWORD PTR 32[rsp]
.L53:
	mov	r15, QWORD PTR [rcx]
.L7:
	add	rdx, 8
	cmp	rdx, QWORD PTR 8[rsp]
	jne	.L9
	test	r14, r14
	jne	.L1
	mov	rcx, QWORD PTR 0[rbp+r14*8]
	test	rcx, rcx
	je	.L12
.L57:
	mov	r9, QWORD PTR 8[rcx]
	mov	rdi, r15
	mov	QWORD PTR 32[rsp], rcx
	mov	rsi, QWORD PTR [r9]
	mov	QWORD PTR 24[rsp], r9
	call	strcmp@PLT
	test	rax, rax
	jne	.L12
	mov	rcx, QWORD PTR 32[rsp]
	mov	r9, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR 0[r13+r14*8], r9
	mov	QWORD PTR 0[rbp+r14*8], rax
.L12:
	lea	rax, 1[r14]
	cmp	r14, QWORD PTR 16[rsp]
	je	.L56
.L23:
	mov	r14, rax
	mov	rcx, QWORD PTR 0[rbp+r14*8]
	test	rcx, rcx
	jne	.L57
	lea	rax, 1[r14]
	cmp	r14, QWORD PTR 16[rsp]
	jne	.L23
.L56:
	cmp	ebx, 2
	je	.L58
	cmp	ebx, 3
	jne	.L18
	mov	rdi, QWORD PTR 96[rsp]
	test	rdi, rdi
	je	.L18
	mov	rsi, QWORD PTR 104[rsp]
	test	rsi, rsi
	je	.L18
	cmp	QWORD PTR 112[rsp], 0
	je	.L18
	call	dirent_same@PLT
	test	rax, rax
	jne	.L59
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rcx, QWORD PTR 48[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	mov	rsi, r13
	mov	edi, ebx
	call	diff_files@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rcx, QWORD PTR 48[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	mov	rsi, r13
	mov	edi, ebx
	call	diff_directories@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L3
.L1:
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L60
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L58:
	.cfi_restore_state
	mov	rdi, QWORD PTR 96[rsp]
	test	rdi, rdi
	je	.L18
	mov	rsi, QWORD PTR 104[rsp]
	test	rsi, rsi
	je	.L18
.L52:
	call	dirent_same@PLT
	test	rax, rax
	je	.L18
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	test	r14, r14
	je	.L18
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L59:
	mov	rsi, QWORD PTR 112[rsp]
	mov	rdi, QWORD PTR 96[rsp]
	jmp	.L52
.L60:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	diff_trees_recursive, .-diff_trees_recursive
	.comm	TRUE,8,8
	.comm	FALSE,8,8
	.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_diff-simple.c_diff_trees_recursive.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	diff_trees_recursive, %function
diff_trees_recursive:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r3
	ldr	r3, .L64
	sub	sp, sp, #52
	subs	r6, r0, #0
	mov	r10, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ble	.L59
	add	r3, sp, #20
	mov	r2, r3
	str	r3, [sp, #4]
	lsl	r3, r6, #2
	add	r0, r1, r6, lsl #2
	str	r3, [sp, #8]
.L5:
	ldr	r3, [r1], #4
	cmp	r3, #0
	ldrne	r3, [r3]
	cmp	r1, r0
	str	r3, [r2], #4
	bne	.L5
.L6:
	ldmib	sp, {r2, r3}
	add	r3, r3, r2
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp]
.L3:
	mov	r1, #0
	ldr	r2, [sp, #8]
	add	r0, sp, #32
	bl	memset
	ldr	r3, .L64+4
	cmp	r6, #0
	ldr	r4, [r3]
	ble	.L7
	mov	r5, #0
	mov	r2, r4
	ldr	r3, .L64+8
	ldr	r9, [sp, #4]
	ldr	r8, [r3]
	ldr	r7, [sp, #12]
.L10:
	ldr	r3, [r9], #4
	cmp	r3, #0
	beq	.L8
	cmp	r5, #0
	ldr	r3, [r3, #4]
	beq	.L60
	ldr	r4, [r3]
	mov	r1, r5
	mov	r0, r4
	bl	strcmp
	cmp	r0, #0
	mov	r2, r8
	movgt	r5, r4
.L8:
	cmp	r9, r7
	bne	.L10
	cmp	r2, #0
	mov	r4, r2
	bne	.L1
	ldr	r9, [sp, #4]
.L13:
	ldr	r7, [r9], #4
	cmp	r7, #0
	beq	.L12
	ldr	r8, [r7, #4]
	mov	r0, r5
	ldr	r1, [r8]
	bl	strcmp
	cmp	r0, #0
	ldreq	r3, [r7]
	addeq	r2, sp, #32
	streq	r8, [r2, r4, lsl #2]
	streq	r3, [r9, #-4]
.L12:
	add	r4, r4, #1
	cmp	r6, r4
	bne	.L13
	cmp	r6, #2
	beq	.L61
	cmp	r6, #3
	bne	.L17
	ldr	r0, [sp, #32]
	cmp	r0, #0
	beq	.L17
	ldr	r1, [sp, #36]
	cmp	r1, #0
	beq	.L17
	ldr	r3, [sp, #40]
	cmp	r3, #0
	beq	.L17
	bl	dirent_same
	cmp	r0, #0
	bne	.L62
.L17:
	mov	r3, fp
	mov	r2, r10
	mov	r0, r6
	add	r1, sp, #32
	bl	diff_files
	subs	r3, r0, #0
	str	r3, [sp]
	blt	.L1
	mov	r3, fp
	mov	r2, r10
	mov	r0, r6
	add	r1, sp, #32
	bl	diff_directories
	subs	r3, r0, #0
	str	r3, [sp]
	bge	.L3
.L1:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L63
	ldr	r0, [sp]
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L60:
	mov	r2, r8
	ldr	r5, [r3]
	b	.L8
.L61:
	ldr	r0, [sp, #32]
	cmp	r0, #0
	beq	.L17
	ldr	r1, [sp, #36]
	cmp	r1, #0
	beq	.L17
.L57:
	bl	dirent_same
	cmp	r0, #0
	beq	.L17
	b	.L3
.L7:
	cmp	r4, #0
	beq	.L17
	b	.L1
.L62:
	ldr	r1, [sp, #40]
	ldr	r0, [sp, #32]
	b	.L57
.L59:
	lsl	r3, r6, #2
	str	r3, [sp, #8]
	add	r3, sp, #20
	str	r3, [sp, #4]
	b	.L6
.L63:
	bl	__stack_chk_fail
.L65:
	.align	2
.L64:
	.word	.LC0
	.word	TRUE
	.word	FALSE
	.size	diff_trees_recursive, .-diff_trees_recursive
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
