	.file	"extr_biossmap.c_command_smap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"SMAP type=%02x base=%016llx len=%016llx attr=%02x\n"
	.align 8
.LC1:
	.string	"SMAP type=%02x base=%016llx len=%016llx\n"
	.text
	.p2align 4
	.type	command_smap, @function
command_smap:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR smapbase[rip]
	test	rax, rax
	je	.L2
	cmp	QWORD PTR smaplen[rip], 0
	je	.L2
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR smapattr[rip]
	test	rdx, rdx
	je	.L10
	lea	rbp, .LC0[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR smapattr[rip]
	mov	rax, QWORD PTR smapbase[rip]
.L7:
	lea	rcx, [rbx+rbx*2]
	mov	r8d, DWORD PTR [rdx+rbx*8]
	mov	rdi, rbp
	add	rbx, 1
	lea	rax, [rax+rcx*8]
	mov	r9, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR [rax]
	xor	eax, eax
	mov	rdx, r9
	call	printf@PLT
	cmp	QWORD PTR smaplen[rip], rbx
	ja	.L6
	mov	eax, DWORD PTR CMD_OK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore 3
	.cfi_restore 6
	mov	eax, DWORD PTR CMD_ERROR[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	lea	rbp, .LC1[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR smapbase[rip]
.L5:
	lea	rdx, [rbx+rbx*2]
	mov	rdi, rbp
	add	rbx, 1
	lea	rax, [rax+rdx*8]
	mov	rcx, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rsi, QWORD PTR [rax]
	xor	eax, eax
	call	printf@PLT
	cmp	QWORD PTR smaplen[rip], rbx
	ja	.L8
	mov	eax, DWORD PTR CMD_OK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	command_smap, .-command_smap
	.comm	smaplen,8,8
	.comm	smapbase,8,8
	.comm	smapattr,8,8
	.comm	CMD_OK,4,4
	.comm	CMD_ERROR,4,4
	.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_biossmap.c_command_smap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SMAP type=%02x base=%016llx len=%016llx attr=%02x\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"SMAP type=%02x base=%016llx len=%016llx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	command_smap, %function
command_smap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L16
	sub	sp, sp, #20
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L2
	ldr	r5, .L16+4
	ldr	r2, [r5]
	cmp	r2, #0
	beq	.L2
	ldr	r7, .L16+8
	ldr	r2, [r7]
	cmp	r2, #0
	beq	.L10
	mov	r4, #0
	ldr	r8, .L16+12
	b	.L7
.L6:
	ldr	r3, [r6]
	ldr	r2, [r7]
.L7:
	ldr	ip, [r2, r4, lsl #2]
	add	r2, r4, r4, lsl #1
	add	r0, r3, r2, lsl #2
	ldr	r1, [r3, r2, lsl #2]
	ldr	r2, [r0, #8]
	str	ip, [sp, #8]
	ldr	r10, [r0, #4]
	asr	r3, r2, #31
	asr	fp, r10, #31
	mov	r0, r8
	stm	sp, {r10-fp}
	bl	printf
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L6
.L9:
	ldr	r3, .L16+16
	ldr	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r4, r2
	mov	r7, r2
	ldr	r10, .L16+24
	b	.L5
.L8:
	ldr	r3, [r6]
.L5:
	add	r2, r3, r4
	ldr	r8, [r2, #4]
	ldr	r2, [r2, #8]
	asr	r9, r8, #31
	ldr	r1, [r3, r4]
	mov	r0, r10
	asr	r3, r2, #31
	stm	sp, {r8-r9}
	bl	printf
	ldr	r3, [r5]
	add	r7, r7, #1
	cmp	r3, r7
	add	r4, r4, #12
	bhi	.L8
	b	.L9
.L17:
	.align	2
.L16:
	.word	smapbase
	.word	smaplen
	.word	smapattr
	.word	.LC0
	.word	CMD_OK
	.word	CMD_ERROR
	.word	.LC1
	.size	command_smap, .-command_smap
	.comm	smaplen,4,4
	.comm	smapbase,4,4
	.comm	smapattr,4,4
	.comm	CMD_OK,4,4
	.comm	CMD_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
