	.file	"extr_isst-core.c_isst_set_clos.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cpu:%d CLOS_PM_CLOS param:%x req:%x\n"
	.text
	.p2align 4
	.globl	isst_set_clos
	.type	isst_set_clos, @function
isst_set_clos:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR 16[rdx]
	mov	r12d, DWORD PTR 12[rdx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdx]
	mov	edi, DWORD PTR MBOX_CMD_WRITE_BIT[rip]
	sal	ecx, 24
	sal	r12d, 16
	and	eax, 15
	and	r12d, 16711680
	or	ecx, eax
	mov	eax, DWORD PTR 4[rdx]
	sal	eax, 4
	movzx	eax, al
	or	ecx, eax
	mov	eax, DWORD PTR 8[rdx]
	sal	eax, 8
	movzx	eax, ax
	or	ecx, eax
	or	r12d, ecx
	call	BIT@PLT
	mov	edx, DWORD PTR CLOS_PM_CLOS[rip]
	mov	r8d, r12d
	mov	edi, ebp
	or	r14d, eax
	mov	esi, DWORD PTR CONFIG_CLOS[rip]
	lea	r9, 4[rsp]
	mov	ecx, r14d
	call	isst_send_mbox_command@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, r12d
	mov	edx, r14d
	lea	rdi, .LC0[rip]
	mov	esi, ebp
	call	debug_printf@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isst_set_clos, .-isst_set_clos
	.comm	MBOX_CMD_WRITE_BIT,4,4
	.comm	CONFIG_CLOS,4,4
	.comm	CLOS_PM_CLOS,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_isst-core.c_isst_set_clos.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cpu:%d CLOS_PM_CLOS param:%x req:%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isst_set_clos
	.syntax unified
	.arm
	.fpu softvfp
	.type	isst_set_clos, %function
isst_set_clos:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldm	r2, {ip, lr}
	ldr	r6, [r2, #16]
	mov	r5, r0
	ldr	r3, .L7
	ldr	r0, [r2, #8]
	and	ip, ip, #15
	lsl	lr, lr, #4
	ldr	r4, [r2, #12]
	and	lr, lr, #255
	orr	ip, ip, r6, lsl #24
	ldr	r2, .L7+4
	orr	ip, ip, lr
	and	r3, r3, r0, lsl #8
	orr	ip, ip, r3
	lsl	r4, r4, #16
	ldr	r3, .L7+8
	sub	sp, sp, #20
	ldr	r0, [r2]
	and	r4, r4, #16711680
	mov	r7, r1
	orr	r4, r4, ip
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	BIT
	ldr	r2, .L7+12
	ldr	r1, .L7+16
	str	r4, [sp]
	orr	r7, r0, r7
	add	ip, sp, #8
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r3, r7
	mov	r0, r5
	str	ip, [sp, #4]
	bl	isst_send_mbox_command
	subs	r6, r0, #0
	bne	.L1
	mov	r3, r4
	mov	r2, r7
	mov	r1, r5
	ldr	r0, .L7+20
	bl	debug_printf
.L1:
	ldr	r3, .L7+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	65535
	.word	MBOX_CMD_WRITE_BIT
	.word	.LC1
	.word	CLOS_PM_CLOS
	.word	CONFIG_CLOS
	.word	.LC0
	.size	isst_set_clos, .-isst_set_clos
	.comm	MBOX_CMD_WRITE_BIT,4,4
	.comm	CONFIG_CLOS,4,4
	.comm	CLOS_PM_CLOS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
