	.file	"extr_secure.c_sec_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sec_init
	.type	sec_init, @function
sec_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r8d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	and	edi, DWORD PTR SEC_ENCRYPT[rip]
	mov	eax, DWORD PTR g_licence_issued[rip]
	or	eax, DWORD PTR g_licence_error_result[rip]
	mov	r12d, edi
	jne	.L2
	test	edi, edi
	je	.L3
.L5:
	add	r8d, 12
	mov	r12d, 12
.L4:
	mov	edi, r8d
	call	mcs_init@PLT
	mov	esi, DWORD PTR sec_hdr[rip]
	mov	edx, r12d
	mov	edi, eax
	mov	r13d, eax
	call	s_push_layer@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r13d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	edi, edi
	jne	.L5
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	r8d, 4
	mov	r12d, 4
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	sec_init, .-sec_init
	.comm	sec_hdr,4,4
	.comm	g_licence_issued,4,4
	.comm	g_licence_error_result,4,4
	.comm	SEC_ENCRYPT,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_secure.c_sec_init.c"
	.text
	.align	2
	.global	sec_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	sec_init, %function
sec_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L9
	ldr	r0, .L9+4
	ldr	r2, .L9+8
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	r2, [r2]
	orrs	r3, r0, r3
	and	r4, r4, r2
	mov	r0, r1
	bne	.L2
	cmp	r4, #0
	moveq	r4, #4
	addeq	r0, r1, #4
	movne	r4, #12
	addne	r0, r0, #12
.L4:
	bl	mcs_init
	mov	r2, r4
	mov	r4, r0
	ldr	r3, .L9+12
	ldr	r1, [r3]
	bl	s_push_layer
	mov	r0, r4
	pop	{r4, pc}
.L2:
	cmp	r4, #0
	movne	r4, #12
	addne	r0, r0, #12
	b	.L4
.L10:
	.align	2
.L9:
	.word	g_licence_error_result
	.word	g_licence_issued
	.word	SEC_ENCRYPT
	.word	sec_hdr
	.size	sec_init, .-sec_init
	.comm	sec_hdr,4,4
	.comm	g_licence_issued,4,4
	.comm	g_licence_error_result,4,4
	.comm	SEC_ENCRYPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
