	.file	"extr_sched.c_has_affinity.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	has_affinity, @function
has_affinity:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	add	rdi, 8
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR -8[rdi]
	call	list_empty@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L11
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 16[rax]
	call	atomic_read@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 8[rax], 0
.L3:
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L12
.L4:
	test	rax, rax
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movzx	eax, al
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR AFF_MERGED[rip], eax
	je	.L13
.L5:
	test	DWORD PTR AFF_OFFSETS_SET[rip], eax
	je	.L14
.L6:
	mov	rdi, rbp
	call	aff_set_ref_point_location@PLT
	mov	rax, QWORD PTR 8[rbp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbp
	call	aff_merge_remaining_ctxs@PLT
	mov	eax, DWORD PTR 0[rbp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	call	aff_set_offsets@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	has_affinity, .-has_affinity
	.comm	AFF_OFFSETS_SET,4,4
	.comm	AFF_MERGED,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_sched.c_has_affinity.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	has_affinity, %function
has_affinity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, [r0], #4
	bl	list_empty
	cmp	r0, #0
	beq	.L10
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r0, [r4]
	add	r0, r0, #8
	bl	atomic_read
	cmp	r0, #0
	ldreq	r3, [r4]
	streq	r0, [r3, #4]
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L11
.L4:
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r2, .L14
	ldr	r3, [r5]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L12
.L5:
	ldr	r2, .L14+4
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L13
.L6:
	mov	r0, r5
	bl	aff_set_ref_point_location
	ldr	r0, [r5, #4]
	b	.L4
.L12:
	mov	r0, r5
	bl	aff_merge_remaining_ctxs
	ldr	r3, [r5]
	b	.L5
.L13:
	mov	r0, r5
	bl	aff_set_offsets
	b	.L6
.L15:
	.align	2
.L14:
	.word	AFF_MERGED
	.word	AFF_OFFSETS_SET
	.size	has_affinity, .-has_affinity
	.comm	AFF_OFFSETS_SET,4,4
	.comm	AFF_MERGED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
