	.file	"extr_kern_monotonic.c_mt_microstackshot_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mt_microstackshot_start
	.type	mt_microstackshot_start, @function
mt_microstackshot_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR MT_CORE_NFIXED[rip], edi
	seta	dil
	movzx	edi, dil
	call	assert@PLT
	cmp	QWORD PTR MT_MIN_FIXED_PERIOD[rip], rbp
	mov	eax, DWORD PTR EINVAL[rip]
	jg	.L1
	mov	eax, DWORD PTR mt_microstackshots[rip]
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR EBUSY[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, rbp
	mov	DWORD PTR mt_microstackshot_ctr[rip], ebx
	mov	DWORD PTR mt_microstackshot_pmi_handler[rip], r13d
	mov	QWORD PTR mt_microstackshot_ctx[rip], r12
	call	mt_microstackshot_start_arch@PLT
	test	eax, eax
	jne	.L1
	mov	DWORD PTR mt_microstackshots[rip], 1
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mt_microstackshot_start, .-mt_microstackshot_start
	.comm	mt_microstackshots,4,4
	.comm	mt_microstackshot_pmi_handler,4,4
	.comm	mt_microstackshot_ctx,8,8
	.comm	mt_microstackshot_ctr,4,4
	.comm	MT_MIN_FIXED_PERIOD,8,8
	.comm	MT_CORE_NFIXED,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_kern_monotonic.c_mt_microstackshot_start.c"
	.text
	.align	2
	.global	mt_microstackshot_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	mt_microstackshot_start, %function
mt_microstackshot_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r1, .L8
	mov	r7, r2
	ldr	r0, [r1]
	mov	r6, r3
	cmp	r0, r4
	movls	r0, #0
	movhi	r0, #1
	bl	assert
	ldr	r1, .L8+4
	ldr	r1, [r1]
	cmp	r1, r5
	bgt	.L7
	ldr	r8, .L8+8
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L8+16
	ldr	r2, .L8+20
	str	r4, [r3]
	ldr	r3, .L8+24
	mov	r0, r5
	str	r6, [r3]
	str	r7, [r2]
	bl	mt_microstackshot_start_arch
	cmp	r0, #0
	moveq	r3, #1
	streq	r3, [r8]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L8+28
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	MT_CORE_NFIXED
	.word	MT_MIN_FIXED_PERIOD
	.word	mt_microstackshots
	.word	EBUSY
	.word	mt_microstackshot_ctr
	.word	mt_microstackshot_pmi_handler
	.word	mt_microstackshot_ctx
	.word	EINVAL
	.size	mt_microstackshot_start, .-mt_microstackshot_start
	.comm	mt_microstackshots,4,4
	.comm	mt_microstackshot_pmi_handler,4,4
	.comm	mt_microstackshot_ctx,4,4
	.comm	mt_microstackshot_ctr,4,4
	.comm	MT_MIN_FIXED_PERIOD,4,4
	.comm	MT_CORE_NFIXED,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
