	.file	"595037.c"
	.intel_syntax noprefix
	.text
	.globl	symbolic_to_octal
	.type	symbolic_to_octal, @function
symbolic_to_octal:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -7[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR -6[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 2[rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -7[rbp], 114
	jne	.L2
	mov	DWORD PTR -4[rbp], 4
.L2:
	cmp	BYTE PTR -7[rbp], 119
	jne	.L3
	mov	DWORD PTR -4[rbp], 2
.L3:
	cmp	BYTE PTR -7[rbp], 120
	jne	.L4
	mov	DWORD PTR -4[rbp], 1
.L4:
	cmp	BYTE PTR -7[rbp], 45
	jne	.L5
	mov	DWORD PTR -4[rbp], 0
.L5:
	movsx	eax, BYTE PTR -7[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	symbolic_to_octal, .-symbolic_to_octal
	.section	.rodata
.LC0:
	.string	"rwxr-x-w-"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	symbolic_to_octal
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"595037.c"
	.text
	.align	2
	.global	symbolic_to_octal
	.syntax unified
	.arm
	.fpu softvfp
	.type	symbolic_to_octal, %function
symbolic_to_octal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-11]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #1]
	strb	r3, [fp, #-10]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #2]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L2
	mov	r3, #4
	str	r3, [fp, #-8]
.L2:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L3
	mov	r3, #2
	str	r3, [fp, #-8]
.L3:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L4
	mov	r3, #1
	str	r3, [fp, #-8]
.L4:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L5
	mov	r3, #0
	str	r3, [fp, #-8]
.L5:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	symbolic_to_octal, .-symbolic_to_octal
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rwxr-x-w-\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L9
	bl	symbolic_to_octal
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L9+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
