	.file	"704006.c"
	.intel_syntax noprefix
	.text
	.globl	colors
	.section	.rodata
.LC0:
	.string	"black"
.LC1:
	.string	"red"
.LC2:
	.string	"green"
.LC3:
	.string	"yellow"
.LC4:
	.string	"blue"
.LC5:
	.string	"magenta"
.LC6:
	.string	"cyan"
.LC7:
	.string	"white"
	.section	.data.rel.local,"aw"
	.align 32
	.type	colors, @object
	.size	colors, 64
colors:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.section	.rodata
.LC8:
	.string	"Original box setting:"
.LC9:
	.string	"\n Modified box setting:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	movzx	eax, BYTE PTR -12[rbp]
	or	eax, 1
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	and	eax, -15
	or	eax, 6
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -11[rbp]
	or	eax, 1
	mov	BYTE PTR -11[rbp], al
	movzx	eax, BYTE PTR -11[rbp]
	and	eax, -15
	or	eax, 4
	mov	BYTE PTR -11[rbp], al
	movzx	eax, BYTE PTR -11[rbp]
	and	eax, -49
	or	eax, 32
	mov	BYTE PTR -11[rbp], al
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	show_setting
	movzx	eax, BYTE PTR -12[rbp]
	and	eax, -2
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	or	eax, 14
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -11[rbp]
	and	eax, -15
	or	eax, 10
	mov	BYTE PTR -11[rbp], al
	movzx	eax, BYTE PTR -11[rbp]
	and	eax, -49
	mov	BYTE PTR -11[rbp], al
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	show_setting
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC10:
	.string	"opaque"
.LC11:
	.string	"transparent"
.LC12:
	.string	"Box is %s.\n"
.LC13:
	.string	"The fill color is %s.\n"
.LC14:
	.string	"shown"
.LC15:
	.string	"not shown"
.LC16:
	.string	"Border %s.\n"
.LC17:
	.string	"The border color is %s.\n"
.LC18:
	.string	"The border style is "
.LC19:
	.string	"sold."
.LC20:
	.string	"doted."
.LC21:
	.string	"dashed."
.LC22:
	.string	"unknown type."
	.text
	.globl	show_setting
	.type	show_setting, @function
show_setting:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	and	eax, 1
	test	al, al
	je	.L5
	lea	rax, .LC10[rip]
	jmp	.L6
.L5:
	lea	rax, .LC11[rip]
.L6:
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al
	and	eax, 7
	movzx	eax, al
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	and	eax, 1
	test	al, al
	je	.L7
	lea	rax, .LC14[rip]
	jmp	.L8
.L7:
	lea	rax, .LC15[rip]
.L8:
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	shr	al
	and	eax, 7
	movzx	eax, al
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	shr	al, 4
	and	eax, 3
	movzx	eax, al
	cmp	eax, 2
	je	.L9
	cmp	eax, 2
	jg	.L10
	test	eax, eax
	je	.L11
	cmp	eax, 1
	je	.L12
	jmp	.L10
.L11:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L13
.L12:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L13
.L9:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L13
.L10:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	nop
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	show_setting, .-show_setting
	.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	"704006.c"
	.text
	.global	colors
	.section	.rodata
	.align	2
.LC0:
	.ascii	"black\000"
	.align	2
.LC1:
	.ascii	"red\000"
	.align	2
.LC2:
	.ascii	"green\000"
	.align	2
.LC3:
	.ascii	"yellow\000"
	.align	2
.LC4:
	.ascii	"blue\000"
	.align	2
.LC5:
	.ascii	"magenta\000"
	.align	2
.LC6:
	.ascii	"cyan\000"
	.align	2
.LC7:
	.ascii	"white\000"
	.data
	.align	2
	.type	colors, %object
	.size	colors, 32
colors:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Original box setting:\000"
	.align	2
.LC9:
	.ascii	"\012 Modified box setting:\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-12]
	orr	r3, r3, #1
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-12]
	bic	r3, r3, #8
	orr	r3, r3, #6
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-11]
	orr	r3, r3, #1
	strb	r3, [fp, #-11]
	ldrb	r3, [fp, #-11]
	bic	r3, r3, #10
	orr	r3, r3, #4
	strb	r3, [fp, #-11]
	ldrb	r3, [fp, #-11]
	bic	r3, r3, #16
	orr	r3, r3, #32
	strb	r3, [fp, #-11]
	ldr	r0, .L4+4
	bl	puts
	sub	r3, fp, #12
	mov	r0, r3
	bl	show_setting
	ldrb	r3, [fp, #-12]
	bic	r3, r3, #1
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-12]
	orr	r3, r3, #14
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-11]
	bic	r3, r3, #4
	orr	r3, r3, #10
	strb	r3, [fp, #-11]
	ldrb	r3, [fp, #-11]
	bic	r3, r3, #48
	strb	r3, [fp, #-11]
	ldr	r0, .L4+8
	bl	puts
	sub	r3, fp, #12
	mov	r0, r3
	bl	show_setting
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC10
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC11:
	.ascii	"opaque\000"
	.align	2
.LC12:
	.ascii	"transparent\000"
	.align	2
.LC13:
	.ascii	"Box is %s.\012\000"
	.align	2
.LC14:
	.ascii	"The fill color is %s.\012\000"
	.align	2
.LC15:
	.ascii	"shown\000"
	.align	2
.LC16:
	.ascii	"not shown\000"
	.align	2
.LC17:
	.ascii	"Border %s.\012\000"
	.align	2
.LC18:
	.ascii	"The border color is %s.\012\000"
	.align	2
.LC19:
	.ascii	"The border style is \000"
	.align	2
.LC20:
	.ascii	"sold.\000"
	.align	2
.LC21:
	.ascii	"doted.\000"
	.align	2
.LC22:
	.ascii	"dashed.\000"
	.align	2
.LC23:
	.ascii	"unknown type.\000"
	.text
	.align	2
	.global	show_setting
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_setting, %function
show_setting:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L16
	b	.L8
.L7:
	ldr	r3, .L16+4
.L8:
	mov	r1, r3
	ldr	r0, .L16+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #7
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L16+12
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L16+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L16+20
	b	.L10
.L9:
	ldr	r3, .L16+24
.L10:
	mov	r1, r3
	ldr	r0, .L16+28
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #7
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L16+12
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L16+32
	bl	printf
	ldr	r0, .L16+36
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #3
	and	r3, r3, #255
	cmp	r3, #2
	beq	.L11
	cmp	r3, #2
	bgt	.L12
	cmp	r3, #0
	beq	.L13
	cmp	r3, #1
	beq	.L14
	b	.L12
.L13:
	ldr	r0, .L16+40
	bl	puts
	b	.L15
.L14:
	ldr	r0, .L16+44
	bl	puts
	b	.L15
.L11:
	ldr	r0, .L16+48
	bl	puts
	b	.L15
.L12:
	ldr	r0, .L16+52
	bl	puts
	nop
.L15:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	colors
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	show_setting, .-show_setting
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
