	.file	"extr_commpage.c_commpage_populate.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"commpage 32-bit"
.LC1:
	.string	"commpage 64-bit"
	.text
	.p2align 4
	.globl	commpage_populate
	.type	commpage_populate, @function
commpage_populate:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	commpage_init_cpu_capabilities@PLT
	mov	eax, DWORD PTR VM_PROT_READ[rip]
	mov	ecx, DWORD PTR _COMM_PAGE32_BASE_ADDRESS[rip]
	lea	rsi, commPagePtr32[rip]
	mov	edx, DWORD PTR _COMM_PAGE32_AREA_USED[rip]
	mov	edi, DWORD PTR commpage32_map[rip]
	lea	r9, gtod_time_data32[rip]
	lea	r8, time_data32[rip]
	push	rax
	.cfi_def_cfa_offset 24
	lea	rax, .LC0[rip]
	push	rax
	.cfi_def_cfa_offset 32
	call	commpage_populate_one@PLT
	mov	eax, DWORD PTR time_data32[rip]
	pop	rcx
	.cfi_def_cfa_offset 24
	pop	rsi
	.cfi_def_cfa_offset 16
	mov	DWORD PTR time_data64[rip], eax
	mov	eax, DWORD PTR gtod_time_data32[rip]
	mov	DWORD PTR gtod_time_data64[rip], eax
	mov	eax, DWORD PTR _cpu_capabilities[rip]
	test	DWORD PTR k64Bit[rip], eax
	jne	.L8
.L2:
	xor	esi, esi
	lea	rdi, commpage_active_cpus_lock[rip]
	call	simple_lock_init@PLT
	xor	eax, eax
	call	commpage_update_active_cpus@PLT
	xor	eax, eax
	call	commpage_mach_approximate_time_init@PLT
	xor	eax, eax
	call	commpage_mach_continuous_time_init@PLT
	xor	eax, eax
	call	commpage_boottime_init@PLT
	xor	eax, eax
	call	rtc_nanotime_init_commpage@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	commpage_update_kdebug_state@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR VM_PROT_READ[rip]
	mov	edx, DWORD PTR _COMM_PAGE64_AREA_USED[rip]
	lea	r9, gtod_time_data64[rip]
	lea	r8, time_data64[rip]
	mov	ecx, DWORD PTR _COMM_PAGE32_START_ADDRESS[rip]
	mov	edi, DWORD PTR commpage64_map[rip]
	lea	rsi, commPagePtr64[rip]
	push	rax
	.cfi_def_cfa_offset 24
	lea	rax, .LC1[rip]
	push	rax
	.cfi_def_cfa_offset 32
	call	commpage_populate_one@PLT
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	commpage_populate, .-commpage_populate
	.comm	time_data64,4,4
	.comm	time_data32,4,4
	.comm	k64Bit,4,4
	.comm	gtod_time_data64,4,4
	.comm	gtod_time_data32,4,4
	.comm	commpage_active_cpus_lock,4,4
	.comm	commpage64_map,4,4
	.comm	commpage32_map,4,4
	.comm	commPagePtr64,8,8
	.comm	commPagePtr32,8,8
	.comm	_cpu_capabilities,4,4
	.comm	_COMM_PAGE64_BASE_ADDRESS,4,4
	.comm	_COMM_PAGE64_AREA_USED,4,4
	.comm	_COMM_PAGE32_START_ADDRESS,4,4
	.comm	_COMM_PAGE32_BASE_ADDRESS,4,4
	.comm	_COMM_PAGE32_AREA_USED,4,4
	.comm	VM_PROT_READ,4,4
	.comm	INTEL_PGBYTES,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_commpage.c_commpage_populate.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"commpage 32-bit\000"
	.global	__aeabi_idiv
	.align	2
.LC1:
	.ascii	"commpage 64-bit\000"
	.text
	.align	2
	.global	commpage_populate
	.syntax unified
	.arm
	.fpu softvfp
	.type	commpage_populate, %function
commpage_populate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r10, .L9
	sub	sp, sp, #16
	bl	commpage_init_cpu_capabilities
	ldr	r3, [r10]
	ldr	ip, .L9+4
	ldr	r7, .L9+8
	ldr	r8, .L9+12
	ldr	r6, .L9+16
	ldr	r4, .L9+20
	ldr	r5, .L9+24
	ldr	r0, .L9+28
	str	r3, [sp, #12]
	ldr	r9, .L9+32
	ldr	r3, [r7]
	ldr	r0, [r0]
	ldr	r2, [r8]
	str	ip, [sp, #8]
	mov	r1, r6
	str	r4, [sp, #4]
	str	r5, [sp]
	bl	commpage_populate_one
	ldr	r1, [r9]
	ldr	r0, [r8]
	bl	__aeabi_idiv
	ldr	r1, [r7]
	mov	r2, r0
	ldr	r0, [r6]
	bl	pmap_commpage32_init
	ldr	r2, .L9+36
	ldr	r3, .L9+40
	ldr	lr, [r2]
	ldr	ip, [r3]
	ldr	r0, [r5]
	ldr	r1, [r4]
	ldr	r3, .L9+44
	ldr	r2, .L9+48
	tst	lr, ip
	str	r0, [r3]
	str	r1, [r2]
	bne	.L8
.L2:
	mov	r1, #0
	ldr	r0, .L9+52
	bl	simple_lock_init
	bl	commpage_update_active_cpus
	bl	commpage_mach_approximate_time_init
	bl	commpage_mach_continuous_time_init
	bl	commpage_boottime_init
	bl	rtc_nanotime_init_commpage
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	commpage_update_kdebug_state
.L8:
	ldr	lr, [r10]
	ldr	ip, .L9+56
	ldr	r5, .L9+60
	ldr	r4, .L9+64
	ldr	r1, .L9+68
	ldr	r0, .L9+72
	str	lr, [sp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r1]
	ldr	r2, [r5]
	mov	r1, r4
	ldr	r0, [r0]
	str	ip, [sp, #8]
	bl	commpage_populate_one
	ldr	r1, [r9]
	ldr	r0, [r5]
	bl	__aeabi_idiv
	ldr	r3, .L9+76
	mov	r2, r0
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	pmap_commpage64_init
	b	.L2
.L10:
	.align	2
.L9:
	.word	VM_PROT_READ
	.word	.LC0
	.word	_COMM_PAGE32_BASE_ADDRESS
	.word	_COMM_PAGE32_AREA_USED
	.word	commPagePtr32
	.word	gtod_time_data32
	.word	time_data32
	.word	commpage32_map
	.word	INTEL_PGBYTES
	.word	_cpu_capabilities
	.word	k64Bit
	.word	time_data64
	.word	gtod_time_data64
	.word	commpage_active_cpus_lock
	.word	.LC1
	.word	_COMM_PAGE64_AREA_USED
	.word	commPagePtr64
	.word	_COMM_PAGE32_START_ADDRESS
	.word	commpage64_map
	.word	_COMM_PAGE64_BASE_ADDRESS
	.size	commpage_populate, .-commpage_populate
	.comm	time_data64,4,4
	.comm	time_data32,4,4
	.comm	k64Bit,4,4
	.comm	gtod_time_data64,4,4
	.comm	gtod_time_data32,4,4
	.comm	commpage_active_cpus_lock,4,4
	.comm	commpage64_map,4,4
	.comm	commpage32_map,4,4
	.comm	commPagePtr64,4,4
	.comm	commPagePtr32,4,4
	.comm	_cpu_capabilities,4,4
	.comm	_COMM_PAGE64_BASE_ADDRESS,4,4
	.comm	_COMM_PAGE64_AREA_USED,4,4
	.comm	_COMM_PAGE32_START_ADDRESS,4,4
	.comm	_COMM_PAGE32_BASE_ADDRESS,4,4
	.comm	_COMM_PAGE32_AREA_USED,4,4
	.comm	VM_PROT_READ,4,4
	.comm	INTEL_PGBYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
