	.file	"extr_machdep.c_set_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	set_regs
	.type	set_regs, @function
set_regs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rdi]
	mov	r13d, DWORD PTR [rsi]
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, r13d
	call	EFL_SECURE@PLT
	test	eax, eax
	jne	.L2
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	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
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 28[rbx]
	call	CS_SECURE@PLT
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR 92[rbx]
	mov	DWORD PTR 96[rbp], eax
	mov	eax, DWORD PTR 88[rbx]
	mov	DWORD PTR 92[rbp], eax
	mov	eax, DWORD PTR 84[rbx]
	mov	DWORD PTR 88[rbp], eax
	mov	eax, DWORD PTR 80[rbx]
	mov	DWORD PTR 84[rbp], eax
	mov	eax, DWORD PTR 76[rbx]
	mov	DWORD PTR 80[rbp], eax
	mov	eax, DWORD PTR 72[rbx]
	mov	DWORD PTR 76[rbp], eax
	mov	eax, DWORD PTR 68[rbx]
	mov	DWORD PTR 72[rbp], eax
	mov	eax, DWORD PTR 64[rbx]
	mov	DWORD PTR 68[rbp], eax
	mov	eax, DWORD PTR 60[rbx]
	mov	DWORD PTR 64[rbp], eax
	mov	eax, DWORD PTR 56[rbx]
	mov	DWORD PTR 60[rbp], eax
	mov	eax, DWORD PTR 52[rbx]
	mov	DWORD PTR 56[rbp], eax
	mov	eax, DWORD PTR 48[rbx]
	mov	DWORD PTR 52[rbp], eax
	mov	eax, DWORD PTR 44[rbx]
	mov	DWORD PTR 48[rbp], eax
	mov	eax, DWORD PTR 40[rbx]
	mov	DWORD PTR 44[rbp], eax
	mov	eax, DWORD PTR 36[rbx]
	mov	DWORD PTR 40[rbp], eax
	mov	eax, DWORD PTR 32[rbx]
	mov	DWORD PTR 36[rbp], eax
	mov	eax, DWORD PTR 28[rbx]
	mov	edi, DWORD PTR [r12]
	mov	esi, DWORD PTR PCB_FULL_IRET[rip]
	mov	DWORD PTR 0[rbp], r13d
	mov	DWORD PTR 32[rbp], eax
	mov	eax, DWORD PTR 24[rbx]
	mov	DWORD PTR 28[rbp], eax
	mov	eax, DWORD PTR 20[rbx]
	mov	DWORD PTR 24[rbp], eax
	call	set_pcb_flags@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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	set_regs, .-set_regs
	.comm	TF_HASSEGS,4,4
	.comm	PCB_FULL_IRET,4,4
	.comm	EINVAL,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_machdep.c_set_regs.c"
	.text
	.align	2
	.global	set_regs
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_regs, %function
set_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0, #4]
	ldr	r7, [r1]
	mov	r6, r0
	mov	r4, r1
	mov	r0, r7
	ldr	r1, [r5]
	bl	EFL_SECURE
	cmp	r0, #0
	bne	.L2
.L4:
	ldr	r3, .L10
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, [r4, #28]
	bl	CS_SECURE
	cmp	r0, #0
	beq	.L4
	ldr	r2, [r4, #92]
	ldr	r3, [r4, #88]
	str	r2, [r5, #96]
	ldr	r2, [r4, #84]
	str	r3, [r5, #92]
	ldr	r3, [r4, #80]
	str	r2, [r5, #88]
	ldr	r2, [r4, #76]
	str	r3, [r5, #84]
	ldr	r3, [r4, #72]
	str	r2, [r5, #80]
	ldr	r2, [r4, #68]
	str	r3, [r5, #76]
	ldr	r3, [r4, #64]
	str	r2, [r5, #72]
	ldr	r2, [r4, #60]
	str	r3, [r5, #68]
	ldr	r3, [r4, #56]
	str	r2, [r5, #64]
	ldr	r2, [r4, #52]
	str	r3, [r5, #60]
	ldr	r3, [r4, #48]
	str	r2, [r5, #56]
	ldr	r2, [r4, #44]
	str	r3, [r5, #52]
	ldr	r3, [r4, #40]
	str	r2, [r5, #48]
	ldr	r2, [r4, #36]
	str	r3, [r5, #44]
	ldr	r3, [r4, #32]
	str	r2, [r5, #40]
	str	r3, [r5, #36]
	ldr	r2, [r4, #28]
	ldr	r3, .L10+4
	ldr	r1, [r4, #24]
	str	r2, [r5, #32]
	ldr	r2, [r4, #20]
	ldr	r0, [r6]
	str	r7, [r5]
	str	r1, [r5, #28]
	str	r2, [r5, #24]
	ldr	r1, [r3]
	bl	set_pcb_flags
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	PCB_FULL_IRET
	.size	set_regs, .-set_regs
	.comm	TF_HASSEGS,4,4
	.comm	PCB_FULL_IRET,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
