	.file	"extr_ambient_depth_filter_editor.c_make_dir_baton.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	make_dir_baton, @function
make_dir_baton:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	DWORD PTR 12[rsp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	setne	dil
	test	rcx, rcx
	sete	al
	or	edi, eax
	movzx	edi, dil
	call	SVN_ERR_ASSERT@PLT
	test	rbx, rbx
	je	.L2
	cmp	QWORD PTR 16[rbx], 0
	je	.L2
	mov	QWORD PTR 0[r13], rbx
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	mov	esi, 32
	mov	rdi, rbp
	call	apr_pcalloc@PLT
	mov	r14, rax
	test	r15, r15
	je	.L4
	mov	edi, DWORD PTR 4[r12]
	mov	rdx, rbp
	mov	rsi, r15
	call	svn_dirent_join@PLT
	mov	DWORD PTR 24[r14], eax
.L5:
	mov	rax, QWORD PTR svn_depth_unknown[rip]
	test	rbx, rbx
	je	.L6
	mov	rdx, QWORD PTR [rbx]
	cmp	rdx, rax
	je	.L6
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	je	.L28
	mov	rcx, QWORD PTR svn_wc__db_status_not_present[rip]
	cmp	rdx, QWORD PTR svn_depth_empty[rip]
	mov	QWORD PTR 24[rsp], rcx
	mov	rcx, QWORD PTR svn_node_unknown[rip]
	mov	QWORD PTR 32[rsp], rcx
	je	.L12
	cmp	rdx, QWORD PTR svn_depth_files[rip]
	je	.L12
.L6:
	mov	QWORD PTR [r14], rax
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	mov	QWORD PTR 8[r14], r12
	mov	QWORD PTR 0[r13], r14
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR 4[r12]
	mov	rdi, rbp
	call	apr_pstrdup@PLT
	mov	DWORD PTR 24[r14], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L28:
	mov	ecx, DWORD PTR [r12]
	mov	r8d, DWORD PTR 24[r14]
	xor	edx, edx
	lea	rsi, 32[rsp]
	lea	rdi, 24[rsp]
	mov	r9, rbp
	call	ambient_read_info@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rcx, QWORD PTR [rbx]
	cmp	rcx, QWORD PTR svn_depth_empty[rip]
	mov	rdx, QWORD PTR 32[rsp]
	mov	rax, QWORD PTR svn_node_unknown[rip]
	je	.L8
	cmp	rcx, QWORD PTR svn_depth_files[rip]
	je	.L8
	cmp	rdx, rax
	je	.L25
	mov	rax, QWORD PTR svn_wc__db_status_excluded[rip]
	cmp	QWORD PTR 24[rsp], rax
	jne	.L25
.L12:
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 16[r14], rax
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	mov	QWORD PTR 0[r13], r14
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	rdx, rax
	je	.L12
.L25:
	mov	rax, QWORD PTR svn_depth_unknown[rip]
	jmp	.L6
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	make_dir_baton, .-make_dir_baton
	.comm	svn_wc__db_status_not_present,8,8
	.comm	svn_wc__db_status_excluded,8,8
	.comm	svn_node_unknown,8,8
	.comm	svn_depth_unknown,8,8
	.comm	svn_depth_files,8,8
	.comm	svn_depth_empty,8,8
	.comm	TRUE,8,8
	.comm	SVN_NO_ERROR,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_ambient_depth_filter_editor.c_make_dir_baton.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_dir_baton, %function
make_dir_baton:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	ip, r3
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r3
	cmp	r1, #0
	ldr	r3, .L31
	lsr	ip, ip, #5
	mov	r9, r0
	sub	sp, sp, #28
	moveq	r0, ip
	movne	r0, #1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r1
	ldr	r8, [sp, #60]
	bl	SVN_ERR_ASSERT
	cmp	r4, #0
	beq	.L2
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L31+4
	str	r4, [r9]
	ldr	r0, [r3]
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r1, #16
	mov	r0, r8
	bl	apr_pcalloc
	cmp	r5, #0
	mov	r7, r0
	beq	.L4
	mov	r1, r5
	mov	r2, r8
	ldr	r0, [r6, #4]
	bl	svn_dirent_join
	str	r0, [r7, #12]
.L5:
	ldr	r5, .L31+8
	cmp	r4, #0
	ldr	r3, [r5]
	beq	.L6
	ldr	r2, [r4]
	cmp	r2, r3
	beq	.L6
	ldr	r3, [sp, #56]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L31+12
	ldr	r1, .L31+16
	ldr	r0, [r3]
	ldr	r3, .L31+20
	ldr	r1, [r1]
	ldr	r3, [r3]
	cmp	r2, r0
	str	r1, [sp, #12]
	str	r3, [sp, #16]
	beq	.L12
	ldr	r3, .L31+24
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
.L13:
	ldr	r3, [r5]
.L6:
	ldr	r2, .L31+4
	stm	r7, {r3, r6}
	ldr	r0, [r2]
	str	r7, [r9]
	b	.L1
.L4:
	mov	r0, r8
	ldr	r1, [r6, #4]
	bl	apr_pstrdup
	str	r0, [r7, #12]
	b	.L5
.L30:
	str	r8, [sp, #4]
	ldr	r2, [r7, #12]
	ldr	r3, [r6]
	add	r1, sp, #16
	str	r2, [sp]
	add	r0, sp, #12
	ldr	r2, [sp, #56]
	bl	ambient_read_info
	bl	SVN_ERR
	ldr	r3, .L31+12
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, .L31+20
	cmp	r1, r2
	ldr	r3, [r3]
	ldr	r2, [sp, #16]
	beq	.L27
	ldr	r0, .L31+24
	ldr	r0, [r0]
	cmp	r1, r0
	beq	.L27
	cmp	r2, r3
	beq	.L13
	ldr	r3, .L31+28
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
.L27:
	cmp	r2, r3
	bne	.L13
.L12:
	ldr	r3, .L31+32
	ldr	r2, .L31+4
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r3, [r7, #8]
	str	r7, [r9]
	b	.L1
.L29:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC0
	.word	SVN_NO_ERROR
	.word	svn_depth_unknown
	.word	svn_depth_empty
	.word	svn_wc__db_status_not_present
	.word	svn_node_unknown
	.word	svn_depth_files
	.word	svn_wc__db_status_excluded
	.word	TRUE
	.size	make_dir_baton, .-make_dir_baton
	.comm	svn_wc__db_status_not_present,4,4
	.comm	svn_wc__db_status_excluded,4,4
	.comm	svn_node_unknown,4,4
	.comm	svn_depth_unknown,4,4
	.comm	svn_depth_files,4,4
	.comm	svn_depth_empty,4,4
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
