	.file	"316753.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	cnt
	.align 4
	.type	cnt, @object
	.size	cnt, 4
cnt:
	.zero	4
	.text
	.globl	dfs
	.type	dfs, @function
dfs:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR n[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jne	.L2
	mov	eax, DWORD PTR cnt[rip]
	add	eax, 1
	mov	DWORD PTR cnt[rip], eax
	jmp	.L1
.L2:
	mov	eax, DWORD PTR n[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	or	eax, DWORD PTR -24[rbp]
	or	eax, DWORD PTR -28[rbp]
	not	eax
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	and	DWORD PTR -12[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -12[rbp]
	neg	eax
	and	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	or	eax, DWORD PTR -4[rbp]
	shr	eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	or	eax, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	or	ecx, DWORD PTR -4[rbp]
	add	ecx, ecx
	mov	esi, eax
	mov	edi, ecx
	call	dfs
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -12[rbp], eax
.L4:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L5
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	dfs, .-dfs
	.section	.rodata
.LC0:
	.string	"%d queen, total = %-3d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR n[rip], 6
	jmp	.L7
.L8:
	mov	DWORD PTR cnt[rip], 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	dfs
	mov	edx, DWORD PTR cnt[rip]
	mov	eax, DWORD PTR n[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L7:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 13
	jle	.L8
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"316753.c"
	.text
	.global	n
	.bss
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.space	4
	.global	cnt
	.align	2
	.type	cnt, %object
	.size	cnt, 4
cnt:
	.space	4
	.text
	.align	2
	.global	dfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfs, %function
dfs:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	cmp	r3, r2
	bne	.L2
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+4
	str	r3, [r2]
	b	.L1
.L2:
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	orr	r2, r2, r3
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	mvn	r3, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	and	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-16]
	and	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	orr	r3, r2, r3
	lsl	r0, r3, #1
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	orr	r1, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-8]
	orr	r3, r2, r3
	lsr	r3, r3, #1
	mov	r2, r3
	bl	dfs
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L5
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	n
	.word	cnt
	.size	dfs, .-dfs
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d queen, total = %-3d\012\000"
	.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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L12
	mov	r2, #6
	str	r2, [r3]
	b	.L9
.L10:
	ldr	r3, .L12+4
	mov	r2, #0
	str	r2, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	dfs
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, .L12+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L12+8
	bl	printf
	ldr	r3, .L12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12
	str	r3, [r2]
.L9:
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #13
	ble	.L10
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	n
	.word	cnt
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
