	.file	"extr_envy24ht.c_envy24ht_dmapsetmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	envy24ht_dmapsetmap, @function
envy24ht_dmapsetmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ecx, 4
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR 8[rsi]
	mov	esi, DWORD PTR ENVY24HT_MT_PADDR[rip]
	mov	QWORD PTR 8[rdi], rdx
	call	envy24ht_wrmt@PLT
	mov	eax, DWORD PTR [rbx]
	mov	esi, DWORD PTR ENVY24HT_MT_PCNT[rip]
	mov	rdi, rbp
	mov	ecx, 2
	test	eax, eax
	lea	edx, 3[rax]
	cmovns	edx, eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	sar	edx, 2
	sub	edx, 1
	jmp	envy24ht_wrmt@PLT
	.cfi_endproc
.LFE0:
	.size	envy24ht_dmapsetmap, .-envy24ht_dmapsetmap
	.comm	bootverbose,8,8
	.comm	ENVY24HT_MT_PCNT,4,4
	.comm	ENVY24HT_MT_PADDR,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_envy24ht.c_envy24ht_dmapsetmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	envy24ht_dmapsetmap, %function
envy24ht_dmapsetmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	r2, [r1, #4]
	ldr	r3, .L4
	str	r2, [r0, #4]
	ldr	r1, [r3]
	mov	r3, #4
	mov	r4, r0
	bl	envy24ht_wrmt
	ldr	r2, [r5]
	ldr	r3, .L4+4
	add	r1, r2, #3
	cmp	r2, #0
	movlt	r2, r1
	asr	r2, r2, #2
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	sub	r2, r2, #1
	mov	r3, #2
	b	envy24ht_wrmt
.L5:
	.align	2
.L4:
	.word	ENVY24HT_MT_PADDR
	.word	ENVY24HT_MT_PCNT
	.size	envy24ht_dmapsetmap, .-envy24ht_dmapsetmap
	.comm	bootverbose,4,4
	.comm	ENVY24HT_MT_PCNT,4,4
	.comm	ENVY24HT_MT_PADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
