	.file	"extr_thr_attr.c__thr_attr_setschedpolicy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_thr_attr_setschedpolicy
	.type	_thr_attr_setschedpolicy, @function
_thr_attr_setschedpolicy:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L2
	cmp	DWORD PTR SCHED_FIFO[rip], esi
	jg	.L5
	cmp	DWORD PTR SCHED_RR[rip], esi
	jge	.L6
.L5:
	mov	eax, DWORD PTR ENOTSUP[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdx, QWORD PTR _thr_priorities[rip]
	mov	DWORD PTR [rax], esi
	movsx	rsi, esi
	mov	edx, DWORD PTR -4[rdx+rsi*4]
	mov	DWORD PTR 4[rax], edx
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	_thr_attr_setschedpolicy, .-_thr_attr_setschedpolicy
	.comm	_thr_priorities,8,8
	.comm	SCHED_RR,4,4
	.comm	SCHED_FIFO,4,4
	.comm	ENOTSUP,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_thr_attr.c__thr_attr_setschedpolicy.c"
	.text
	.align	2
	.global	_thr_attr_setschedpolicy
	.syntax unified
	.arm
	.fpu softvfp
	.type	_thr_attr_setschedpolicy, %function
_thr_attr_setschedpolicy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L2
	ldr	r2, .L11
	ldr	r2, [r2]
	cmp	r2, r1
	bgt	.L5
	ldr	r2, .L11+4
	ldr	r2, [r2]
	cmp	r2, r1
	bge	.L6
.L5:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	bx	lr
.L6:
	ldr	r2, .L11+16
	sub	ip, r1, #-1073741823
	ldr	r2, [r2]
	mov	r0, #0
	ldr	r2, [r2, ip, lsl #2]
	str	r1, [r3]
	str	r2, [r3, #4]
	bx	lr
.L12:
	.align	2
.L11:
	.word	SCHED_FIFO
	.word	SCHED_RR
	.word	ENOTSUP
	.word	EINVAL
	.word	_thr_priorities
	.size	_thr_attr_setschedpolicy, .-_thr_attr_setschedpolicy
	.comm	_thr_priorities,4,4
	.comm	SCHED_RR,4,4
	.comm	SCHED_FIFO,4,4
	.comm	ENOTSUP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
