	.file	"extr_smtdef.c_smt_reset_defaults.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	smt_reset_defaults
	.type	smt_reset_defaults, @function
smt_reset_defaults:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	smt_init_mib@PLT
	mov	eax, DWORD PTR SMC_VERSION[rip]
	mov	DWORD PTR 240[rbx], eax
	xor	eax, eax
	call	smt_get_time@PLT
	mov	edx, DWORD PTR NUMMACS[rip]
	test	edx, edx
	jle	.L2
	sub	edx, 1
	lea	rsi, 8[0+rdx*8]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, QWORD PTR 232[rbx]
	mov	QWORD PTR [rcx+rdx], rax
	add	rdx, 8
	cmp	rsi, rdx
	jne	.L3
.L2:
	mov	eax, DWORD PTR SMT_DAS[rip]
	mov	DWORD PTR 96[rbx], 1
	mov	QWORD PTR 224[rbx], 0
	mov	DWORD PTR 220[rbx], eax
	mov	eax, DWORD PTR NUMPHYS[rip]
	mov	DWORD PTR 216[rbx], eax
	mov	eax, DWORD PTR DEFAULT_TB_MIN[rip]
	mov	DWORD PTR 212[rbx], eax
	mov	eax, DWORD PTR DEFAULT_TB_MAX[rip]
	mov	DWORD PTR 208[rbx], eax
	mov	eax, DWORD PTR DEFAULT_C_MIN[rip]
	mov	DWORD PTR 204[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_OUT[rip]
	mov	DWORD PTR 200[rbx], eax
	mov	eax, DWORD PTR DEFAULT_TL_MIN[rip]
	mov	DWORD PTR 196[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LC_SHORT[rip]
	mov	DWORD PTR 192[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LC_MEDIUM[rip]
	mov	DWORD PTR 188[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LC_LONG[rip]
	mov	DWORD PTR 184[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LC_EXTENDED[rip]
	mov	DWORD PTR 180[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_NEXT_9[rip]
	mov	DWORD PTR 176[rbx], eax
	mov	eax, DWORD PTR DEFAULT_NS_MAX[rip]
	mov	DWORD PTR 172[rbx], eax
	mov	eax, DWORD PTR DEFAULT_I_MAX[rip]
	mov	DWORD PTR 168[rbx], eax
	mov	eax, DWORD PTR DEFAULT_IN_MAX[rip]
	mov	DWORD PTR 164[rbx], eax
	mov	eax, DWORD PTR DEFAULT_TD_MIN[rip]
	mov	DWORD PTR 160[rbx], eax
	mov	eax, DWORD PTR DEFAULT_TEST_DONE[rip]
	mov	DWORD PTR 156[rbx], eax
	mov	eax, DWORD PTR DEFAULT_CHECK_POLL[rip]
	mov	DWORD PTR 152[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_NON_OP[rip]
	mov	DWORD PTR 148[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_STUCK[rip]
	mov	DWORD PTR 144[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_DIRECT[rip]
	mov	DWORD PTR 140[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_JAM[rip]
	mov	DWORD PTR 136[rbx], eax
	mov	eax, DWORD PTR DEFAULT_T_ANNOUNCE[rip]
	mov	DWORD PTR 132[rbx], eax
	mov	eax, DWORD PTR DEFAULT_POLL[rip]
	mov	DWORD PTR 128[rbx], eax
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 120[rbx], rax
	mov	eax, DWORD PTR DEFAULT_D_MAX[rip]
	mov	DWORD PTR 116[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LCT_SHORT[rip]
	mov	DWORD PTR 112[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LCT_MEDIUM[rip]
	mov	DWORD PTR 108[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LCT_LONG[rip]
	mov	DWORD PTR 104[rbx], eax
	mov	eax, DWORD PTR DEFAULT_LCT_EXTEND[rip]
	mov	DWORD PTR 100[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	smt_reset_defaults, .-smt_reset_defaults
	.comm	SMT_DAS,4,4
	.comm	SMC_VERSION,4,4
	.comm	SB_STATIC,4,4
	.comm	NUMPHYS,4,4
	.comm	NUMMACS,4,4
	.comm	FALSE,8,8
	.comm	DEFAULT_T_STUCK,4,4
	.comm	DEFAULT_T_OUT,4,4
	.comm	DEFAULT_T_NON_OP,4,4
	.comm	DEFAULT_T_NEXT_9,4,4
	.comm	DEFAULT_T_JAM,4,4
	.comm	DEFAULT_T_DIRECT,4,4
	.comm	DEFAULT_T_ANNOUNCE,4,4
	.comm	DEFAULT_TL_MIN,4,4
	.comm	DEFAULT_TEST_DONE,4,4
	.comm	DEFAULT_TD_MIN,4,4
	.comm	DEFAULT_TB_MIN,4,4
	.comm	DEFAULT_TB_MAX,4,4
	.comm	DEFAULT_POLL,4,4
	.comm	DEFAULT_NS_MAX,4,4
	.comm	DEFAULT_LC_SHORT,4,4
	.comm	DEFAULT_LC_MEDIUM,4,4
	.comm	DEFAULT_LC_LONG,4,4
	.comm	DEFAULT_LC_EXTENDED,4,4
	.comm	DEFAULT_LCT_SHORT,4,4
	.comm	DEFAULT_LCT_MEDIUM,4,4
	.comm	DEFAULT_LCT_LONG,4,4
	.comm	DEFAULT_LCT_EXTEND,4,4
	.comm	DEFAULT_I_MAX,4,4
	.comm	DEFAULT_IN_MAX,4,4
	.comm	DEFAULT_D_MAX,4,4
	.comm	DEFAULT_C_MIN,4,4
	.comm	DEFAULT_CHECK_POLL,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_smtdef.c_smt_reset_defaults.c"
	.text
	.align	2
	.global	smt_reset_defaults
	.syntax unified
	.arm
	.fpu softvfp
	.type	smt_reset_defaults, %function
smt_reset_defaults:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	smt_init_mib
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [r4, #180]
	bl	smt_get_time
	ldr	r3, .L7+4
	ldr	r1, [r3]
	cmp	r1, #0
	ble	.L2
	mov	r3, #0
.L3:
	ldr	r2, [r4, #176]
	str	r0, [r2, r3, lsl #2]
	add	r3, r3, #1
	cmp	r3, r1
	bne	.L3
.L2:
	mov	r0, #0
	mov	r3, #1
	ldr	lr, .L7+8
	ldr	r2, .L7+12
	ldr	r1, .L7+16
	ldr	r5, [lr]
	ldr	r1, [r1]
	ldr	lr, [r2]
	ldr	ip, .L7+20
	ldr	r2, .L7+24
	ldr	ip, [ip]
	str	r1, [r4, #168]
	ldr	r1, [r2]
	ldr	r2, .L7+28
	str	ip, [r4, #164]
	ldr	ip, [r2]
	ldr	r2, .L7+32
	str	r5, [r4, #160]
	ldr	r5, [r2]
	ldr	r2, .L7+36
	str	lr, [r4, #156]
	ldr	lr, [r2]
	ldr	r2, .L7+40
	str	r1, [r4, #152]
	ldr	r1, [r2]
	ldr	r2, .L7+44
	str	ip, [r4, #148]
	ldr	ip, [r2]
	ldr	r2, .L7+48
	str	r5, [r4, #144]
	ldr	r5, [r2]
	ldr	r2, .L7+52
	str	lr, [r4, #140]
	str	ip, [r4, #132]
	ldr	lr, [r2]
	ldr	ip, .L7+56
	ldr	r2, .L7+60
	ldr	ip, [ip]
	str	r1, [r4, #136]
	ldr	r1, [r2]
	ldr	r2, .L7+64
	str	lr, [r4, #124]
	ldr	r2, [r2]
	ldr	lr, .L7+68
	str	r1, [r4, #120]
	str	ip, [r4, #112]
	str	r0, [r4, #172]
	ldr	ip, .L7+72
	ldr	r0, .L7+76
	str	r3, [r4, #48]
	ldr	r1, .L7+80
	ldr	r3, .L7+84
	str	r5, [r4, #128]
	str	r2, [r4, #116]
	ldr	r1, [r1]
	ldr	r2, .L7+88
	ldr	r5, [lr]
	ldr	lr, [ip]
	ldr	ip, [r0]
	ldr	r0, [r3]
	ldr	r3, .L7+92
	ldr	r2, [r2]
	str	r1, [r4, #108]
	ldr	r1, [r3]
	ldr	r3, .L7+96
	str	r2, [r4, #104]
	ldr	r2, [r3]
	ldr	r3, .L7+100
	str	r5, [r4, #100]
	ldr	r5, [r3]
	ldr	r3, .L7+104
	str	lr, [r4, #96]
	ldr	lr, [r3]
	ldr	r3, .L7+108
	str	ip, [r4, #92]
	ldr	ip, [r3]
	ldr	r3, .L7+112
	str	r0, [r4, #88]
	ldr	r0, [r3]
	ldr	r3, .L7+116
	str	r1, [r4, #84]
	ldr	r1, [r3]
	ldr	r3, .L7+120
	str	r2, [r4, #80]
	ldr	r2, [r3]
	ldr	r3, .L7+124
	str	r5, [r4, #76]
	ldr	r3, [r3]
	str	lr, [r4, #72]
	str	ip, [r4, #68]
	str	r0, [r4, #64]
	str	r1, [r4, #60]
	str	r2, [r4, #56]
	str	r3, [r4, #52]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	SMC_VERSION
	.word	NUMMACS
	.word	DEFAULT_TB_MIN
	.word	DEFAULT_TB_MAX
	.word	SMT_DAS
	.word	NUMPHYS
	.word	DEFAULT_C_MIN
	.word	DEFAULT_T_OUT
	.word	DEFAULT_TL_MIN
	.word	DEFAULT_LC_SHORT
	.word	DEFAULT_LC_MEDIUM
	.word	DEFAULT_LC_LONG
	.word	DEFAULT_LC_EXTENDED
	.word	DEFAULT_T_NEXT_9
	.word	DEFAULT_IN_MAX
	.word	DEFAULT_NS_MAX
	.word	DEFAULT_I_MAX
	.word	DEFAULT_CHECK_POLL
	.word	DEFAULT_T_NON_OP
	.word	DEFAULT_T_STUCK
	.word	DEFAULT_TD_MIN
	.word	DEFAULT_T_DIRECT
	.word	DEFAULT_TEST_DONE
	.word	DEFAULT_T_JAM
	.word	DEFAULT_T_ANNOUNCE
	.word	DEFAULT_POLL
	.word	FALSE
	.word	DEFAULT_D_MAX
	.word	DEFAULT_LCT_SHORT
	.word	DEFAULT_LCT_MEDIUM
	.word	DEFAULT_LCT_LONG
	.word	DEFAULT_LCT_EXTEND
	.size	smt_reset_defaults, .-smt_reset_defaults
	.comm	SMT_DAS,4,4
	.comm	SMC_VERSION,4,4
	.comm	SB_STATIC,4,4
	.comm	NUMPHYS,4,4
	.comm	NUMMACS,4,4
	.comm	FALSE,4,4
	.comm	DEFAULT_T_STUCK,4,4
	.comm	DEFAULT_T_OUT,4,4
	.comm	DEFAULT_T_NON_OP,4,4
	.comm	DEFAULT_T_NEXT_9,4,4
	.comm	DEFAULT_T_JAM,4,4
	.comm	DEFAULT_T_DIRECT,4,4
	.comm	DEFAULT_T_ANNOUNCE,4,4
	.comm	DEFAULT_TL_MIN,4,4
	.comm	DEFAULT_TEST_DONE,4,4
	.comm	DEFAULT_TD_MIN,4,4
	.comm	DEFAULT_TB_MIN,4,4
	.comm	DEFAULT_TB_MAX,4,4
	.comm	DEFAULT_POLL,4,4
	.comm	DEFAULT_NS_MAX,4,4
	.comm	DEFAULT_LC_SHORT,4,4
	.comm	DEFAULT_LC_MEDIUM,4,4
	.comm	DEFAULT_LC_LONG,4,4
	.comm	DEFAULT_LC_EXTENDED,4,4
	.comm	DEFAULT_LCT_SHORT,4,4
	.comm	DEFAULT_LCT_MEDIUM,4,4
	.comm	DEFAULT_LCT_LONG,4,4
	.comm	DEFAULT_LCT_EXTEND,4,4
	.comm	DEFAULT_I_MAX,4,4
	.comm	DEFAULT_IN_MAX,4,4
	.comm	DEFAULT_D_MAX,4,4
	.comm	DEFAULT_C_MIN,4,4
	.comm	DEFAULT_CHECK_POLL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
