	.file	"extr_cmds.c_cd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"remote-directory"
.LC1:
	.string	"usage: %s remote-directory\n"
.LC2:
	.string	"CWD %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"CWD command not recognized, trying XCWD"
	.section	.rodata.str1.1
.LC4:
	.string	"XCWD %s"
	.text
	.p2align 4
	.globl	cd
	.type	cd, @function
cd:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	DWORD PTR 12[rsp], edi
	mov	QWORD PTR [rsp], rsi
	cmp	edi, 1
	jle	.L7
.L2:
	mov	rax, QWORD PTR [rsp]
	lea	rdi, .LC2[rip]
	mov	rsi, QWORD PTR 8[rax]
	call	command@PLT
	cmp	rax, QWORD PTR ERROR[rip]
	je	.L8
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rsi, rsp
	lea	rdi, 12[rsp]
	lea	rdx, .LC0[rip]
	call	another@PLT
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR [rsp]
	lea	rdi, .LC1[rip]
	mov	rsi, QWORD PTR [rax]
	xor	eax, eax
	call	printf@PLT
	mov	DWORD PTR code[rip], -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	DWORD PTR code[rip], 500
	jne	.L1
	cmp	QWORD PTR verbose[rip], 0
	jne	.L9
.L4:
	mov	rax, QWORD PTR [rsp]
	lea	rdi, .LC4[rip]
	mov	rsi, QWORD PTR 8[rax]
	call	command@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	cd, .-cd
	.comm	verbose,8,8
	.comm	code,4,4
	.comm	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_cmds.c_cd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"remote-directory\000"
	.align	2
.LC1:
	.ascii	"usage: %s remote-directory\012\000"
	.align	2
.LC2:
	.ascii	"CWD %s\000"
	.align	2
.LC3:
	.ascii	"CWD command not recognized, trying XCWD\000"
	.align	2
.LC4:
	.ascii	"XCWD %s\000"
	.text
	.align	2
	.global	cd
	.syntax unified
	.arm
	.fpu softvfp
	.type	cd, %function
cd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	cmp	r0, #1
	sub	sp, sp, #12
	str	r0, [sp, #4]
	str	r1, [sp]
	ble	.L10
.L2:
	ldr	r3, [sp]
	ldr	r0, .L13
	ldr	r1, [r3, #4]
	bl	command
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L11
.L1:
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L10:
	mov	r1, sp
	ldr	r2, .L13+8
	add	r0, sp, #4
	bl	another
	cmp	r0, #0
	bne	.L2
	ldr	r3, [sp]
	ldr	r0, .L13+12
	ldr	r1, [r3]
	bl	printf
	mvn	r2, #0
	ldr	r3, .L13+16
	str	r2, [r3]
	b	.L1
.L11:
	ldr	r3, .L13+16
	ldr	r3, [r3]
	cmp	r3, #500
	bne	.L1
	ldr	r3, .L13+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
.L4:
	ldr	r3, [sp]
	ldr	r0, .L13+24
	ldr	r1, [r3, #4]
	bl	command
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L12:
	ldr	r0, .L13+28
	bl	puts
	b	.L4
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	ERROR
	.word	.LC0
	.word	.LC1
	.word	code
	.word	verbose
	.word	.LC4
	.word	.LC3
	.size	cd, .-cd
	.comm	verbose,4,4
	.comm	code,4,4
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
