	.file	"extr_rtas.c_rtas_set_indicator.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"set-indicator"
	.text
	.p2align 4
	.globl	rtas_set_indicator
	.type	rtas_set_indicator, @function
rtas_set_indicator:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edi
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	rtas_token@PLT
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
	cmp	DWORD PTR RTAS_UNKNOWN_SERVICE[rip], eax
	je	.L1
	mov	ebx, eax
	.p2align 4,,10
	.p2align 3
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	xor	ecx, ecx
	mov	edx, 1
	mov	r9d, r13d
	push	rbp
	.cfi_def_cfa_offset 64
	mov	r8d, r14d
	mov	esi, 3
	mov	edi, ebx
	call	rtas_call@PLT
	mov	edi, eax
	mov	r12d, eax
	call	rtas_busy_delay@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	test	rax, rax
	jne	.L2
	test	r12d, r12d
	js	.L9
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	edi, r12d
	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
	jmp	rtas_error_rc@PLT
	.cfi_endproc
.LFE0:
	.size	rtas_set_indicator, .-rtas_set_indicator
	.comm	RTAS_UNKNOWN_SERVICE,4,4
	.comm	ENOENT,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_rtas.c_rtas_set_indicator.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"set-indicator\000"
	.text
	.align	2
	.global	rtas_set_indicator
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtas_set_indicator, %function
rtas_set_indicator:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r0
	sub	sp, sp, #16
	ldr	r0, .L11
	mov	r7, r1
	mov	r6, r2
	bl	rtas_token
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r3, r0
	movne	r5, r0
	beq	.L9
.L2:
	mov	r3, #0
	mov	r2, #1
	mov	r1, #3
	mov	r0, r5
	str	r6, [sp, #8]
	str	r7, [sp, #4]
	str	r8, [sp]
	bl	rtas_call
	mov	r4, r0
	bl	rtas_busy_delay
	cmp	r0, #0
	bne	.L2
	cmp	r4, #0
	blt	.L10
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	rtas_error_rc
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	RTAS_UNKNOWN_SERVICE
	.word	ENOENT
	.size	rtas_set_indicator, .-rtas_set_indicator
	.comm	RTAS_UNKNOWN_SERVICE,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
