	.file	"93211.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s: %3d_{10}\n"
.LC1:
	.string	"  %3d_{10} <=> "
.LC2:
	.string	"%d"
.LC3:
	.string	"_{2}"
	.text
	.globl	dec2bin
	.type	dec2bin, @function
dec2bin:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 1
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, 7
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	and	eax, DWORD PTR -28[rbp]
	test	eax, eax
	setne	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 7
	jle	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dec2bin, .-dec2bin
	.section	.rodata
.LC4:
	.string	"   flag "
.LC5:
	.string	"   mask "
.LC6:
	.string	"and (&) "
	.text
	.globl	bit_and
	.type	bit_and, @function
bit_and:
.LFB7:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	call	dec2bin
	mov	eax, DWORD PTR -4[rbp]
	and	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	call	dec2bin
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bit_and, .-bit_and
	.section	.rodata
.LC7:
	.string	"neg (~) "
	.text
	.globl	bit_neg
	.type	bit_neg, @function
bit_neg:
.LFB8:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	dec2bin
	mov	eax, DWORD PTR -4[rbp]
	not	eax
	mov	esi, eax
	lea	rdi, .LC7[rip]
	call	dec2bin
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	bit_neg, .-bit_neg
	.section	.rodata
.LC8:
	.string	" or (|) "
	.text
	.globl	bit_or
	.type	bit_or, @function
bit_or:
.LFB9:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	call	dec2bin
	mov	eax, DWORD PTR -4[rbp]
	or	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	call	dec2bin
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	bit_or, .-bit_or
	.section	.rodata
.LC9:
	.string	"xor (^) "
	.text
	.globl	bit_xor
	.type	bit_xor, @function
bit_xor:
.LFB10:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	call	dec2bin
	mov	eax, DWORD PTR -4[rbp]
	xor	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	call	dec2bin
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	bit_xor, .-bit_xor
	.section	.rodata
.LC10:
	.string	" offset "
.LC11:
	.string	">> (>>) "
	.text
	.globl	bit_shift_left
	.type	bit_shift_left, @function
bit_shift_left:
.LFB11:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	esi, eax
	lea	rdi, .LC11[rip]
	call	dec2bin
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	bit_shift_left, .-bit_shift_left
	.section	.rodata
.LC12:
	.string	"<< (<<) "
	.text
	.globl	bit_shift_right
	.type	bit_shift_right, @function
bit_shift_right:
.LFB12:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	call	dec2bin
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	esi, eax
	lea	rdi, .LC12[rip]
	call	dec2bin
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	bit_shift_right, .-bit_shift_right
	.section	.rodata
.LC13:
	.string	"usage:"
.LC14:
	.string	"    bit_op flag mask"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.size	usage, .-usage
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bit_and
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bit_neg
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bit_or
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bit_xor
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bit_shift_left
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	bit_shift_right
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"93211.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: %3d_{10}\012\000"
	.align	2
.LC1:
	.ascii	"  %3d_{10} <=> \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"_{2}\000"
	.text
	.align	2
	.global	dec2bin
	.syntax unified
	.arm
	.fpu softvfp
	.type	dec2bin, %function
dec2bin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L4
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L4+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #7
	ldr	r2, [fp, #-8]
	lsl	r2, r2, r3
	ldr	r3, [fp, #-20]
	and	r3, r3, r2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L4+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L3
	ldr	r0, .L4+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	dec2bin, .-dec2bin
	.section	.rodata
	.align	2
.LC4:
	.ascii	"   flag \000"
	.align	2
.LC5:
	.ascii	"   mask \000"
	.align	2
.LC6:
	.ascii	"and (&) \000"
	.text
	.align	2
	.global	bit_and
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_and, %function
bit_and:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L7
	bl	dec2bin
	ldr	r1, [fp, #-12]
	ldr	r0, .L7+4
	bl	dec2bin
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	and	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L7+8
	bl	dec2bin
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	bit_and, .-bit_and
	.section	.rodata
	.align	2
.LC7:
	.ascii	"neg (~) \000"
	.text
	.align	2
	.global	bit_neg
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_neg, %function
bit_neg:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L10
	bl	dec2bin
	ldr	r3, [fp, #-8]
	mvn	r3, r3
	mov	r1, r3
	ldr	r0, .L10+4
	bl	dec2bin
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	.LC7
	.size	bit_neg, .-bit_neg
	.section	.rodata
	.align	2
.LC8:
	.ascii	" or (|) \000"
	.text
	.align	2
	.global	bit_or
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_or, %function
bit_or:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L13
	bl	dec2bin
	ldr	r1, [fp, #-12]
	ldr	r0, .L13+4
	bl	dec2bin
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	orr	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L13+8
	bl	dec2bin
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC4
	.word	.LC5
	.word	.LC8
	.size	bit_or, .-bit_or
	.section	.rodata
	.align	2
.LC9:
	.ascii	"xor (^) \000"
	.text
	.align	2
	.global	bit_xor
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_xor, %function
bit_xor:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L16
	bl	dec2bin
	ldr	r1, [fp, #-12]
	ldr	r0, .L16+4
	bl	dec2bin
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L16+8
	bl	dec2bin
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC5
	.word	.LC9
	.size	bit_xor, .-bit_xor
	.section	.rodata
	.align	2
.LC10:
	.ascii	" offset \000"
	.align	2
.LC11:
	.ascii	">> (>>) \000"
	.text
	.align	2
	.global	bit_shift_left
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_shift_left, %function
bit_shift_left:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L19
	bl	dec2bin
	ldr	r1, [fp, #-12]
	ldr	r0, .L19+4
	bl	dec2bin
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	asr	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L19+8
	bl	dec2bin
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	.LC10
	.word	.LC11
	.size	bit_shift_left, .-bit_shift_left
	.section	.rodata
	.align	2
.LC12:
	.ascii	"<< (<<) \000"
	.text
	.align	2
	.global	bit_shift_right
	.syntax unified
	.arm
	.fpu softvfp
	.type	bit_shift_right, %function
bit_shift_right:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L22
	bl	dec2bin
	ldr	r1, [fp, #-12]
	ldr	r0, .L22+4
	bl	dec2bin
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L22+8
	bl	dec2bin
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC4
	.word	.LC10
	.word	.LC12
	.size	bit_shift_right, .-bit_shift_right
	.section	.rodata
	.align	2
.LC13:
	.ascii	"usage:\000"
	.align	2
.LC14:
	.ascii	"    bit_op flag mask\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L25
	bl	puts
	ldr	r0, .L25+4
	bl	puts
	mov	r0, #0
	bl	exit
.L26:
	.align	2
.L25:
	.word	.LC13
	.word	.LC14
	.size	usage, .-usage
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bit_and
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bit_neg
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bit_or
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bit_xor
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bit_shift_left
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bit_shift_right
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
