	.file	"extr_thread_policy.c_proc_get_effective_thread_policy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unknown thread policy flavor %d"
	.text
	.p2align 4
	.globl	proc_get_effective_thread_policy
	.type	proc_get_effective_thread_policy, @function
proc_get_effective_thread_policy:
.LFB0:
	.cfi_startproc
	endbr64
	lea	eax, -128[rsi]
	cmp	eax, 7
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r9d, DWORD PTR 32[rdi]
	xor	eax, eax
	test	r9d, r9d
	setne	al
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR 24[rdi]
	mov	eax, 1
	test	esi, esi
	jne	.L16
	mov	rax, QWORD PTR 40[rdi]
	mov	ecx, DWORD PTR [rax]
	xor	eax, eax
	test	ecx, ecx
	setne	al
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR 12[rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR 16[rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r8d, DWORD PTR 28[rdi]
	xor	eax, eax
	mov	edx, DWORD PTR [rdi]
	test	r8d, r8d
	setne	al
	cmp	edx, DWORD PTR THROTTLE_LEVEL_NONE[rip]
	je	.L16
	cmp	edx, DWORD PTR 4[rdi]
	mov	edx, 1
	cmovl	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, DWORD PTR 20[rdi]
	xor	eax, eax
	test	edx, edx
	setne	al
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 8[rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR [rdi]
	cmp	esi, DWORD PTR THROTTLE_LEVEL_NONE[rip]
	mov	eax, DWORD PTR 4[rdi]
	je	.L16
	mov	edi, eax
	jmp	MIN@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	ret
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	panic@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	proc_get_effective_thread_policy, .-proc_get_effective_thread_policy
	.comm	THROTTLE_LEVEL_NONE,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_thread_policy.c_proc_get_effective_thread_policy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown thread policy flavor %d\000"
	.text
	.align	2
	.global	proc_get_effective_thread_policy
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_get_effective_thread_policy, %function
proc_get_effective_thread_policy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r2, r1, #128
	mov	r3, r0
	cmp	r2, #7
	ldrls	pc, [pc, r2, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r2, [r0, #24]
	cmp	r2, #0
	bne	.L14
	ldr	r3, [r0, #36]
	ldr	r0, [r3]
	subs	r0, r0, #0
	movne	r0, #1
	bx	lr
.L11:
	ldr	r0, [r0, #12]
	bx	lr
.L8:
	ldr	r0, [r0, #20]
	subs	r0, r0, #0
	movne	r0, #1
	bx	lr
.L7:
	ldr	r0, [r0, #8]
	bx	lr
.L6:
	ldr	r2, .L19
	ldr	r1, [r0]
	ldr	r2, [r2]
	ldr	r0, [r0, #4]
	cmp	r1, r2
	bxeq	lr
	b	MIN
.L5:
	ldr	r0, [r0, #32]
	subs	r0, r0, #0
	movne	r0, #1
	bx	lr
.L10:
	ldr	r0, [r0, #16]
	bx	lr
.L9:
	ldr	r2, .L19
	ldr	r0, [r0, #28]
	ldr	r1, [r2]
	ldr	r2, [r3]
	subs	r0, r0, #0
	movne	r0, #1
	cmp	r2, r1
	bxeq	lr
	ldr	r3, [r3, #4]
	cmp	r2, r3
	movlt	r0, #1
	bx	lr
.L14:
	mov	r0, #1
	bx	lr
.L2:
	push	{r4, lr}
	ldr	r0, .L19+4
	bl	panic
	mov	r0, #0
	pop	{r4, pc}
.L20:
	.align	2
.L19:
	.word	THROTTLE_LEVEL_NONE
	.word	.LC0
	.size	proc_get_effective_thread_policy, .-proc_get_effective_thread_policy
	.comm	THROTTLE_LEVEL_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
