	.file	"extr_kern_umtx.c_do_cv_broadcast.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	do_cv_broadcast, @function
do_cv_broadcast:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	lea	rdi, 4[rbp]
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rsi, 4[rsp]
	call	fueword32@PLT
	mov	r12d, DWORD PTR EFAULT[rip]
	cmp	eax, -1
	je	.L1
	mov	edi, DWORD PTR 4[rsp]
	mov	r13, rsp
	call	GET_SHARE@PLT
	mov	esi, DWORD PTR TYPE_CV[rip]
	mov	rcx, r13
	mov	rdi, rbp
	mov	edx, eax
	call	umtx_key_get@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r13
	call	umtxq_lock@PLT
	mov	rdi, r13
	call	umtxq_busy@PLT
	mov	esi, DWORD PTR INT_MAX[rip]
	mov	rdi, r13
	call	umtxq_signal@PLT
	mov	rdi, r13
	call	umtxq_unlock@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	suword32@PLT
	mov	rdi, r13
	cmp	eax, -1
	mov	r12d, eax
	cmove	r12d, DWORD PTR EFAULT[rip]
	call	umtxq_unbusy_unlocked@PLT
	mov	rdi, r13
	call	umtx_key_release@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_cv_broadcast, .-do_cv_broadcast
	.comm	TYPE_CV,4,4
	.comm	INT_MAX,4,4
	.comm	EFAULT,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_kern_umtx.c_do_cv_broadcast.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_cv_broadcast, %function
do_cv_broadcast:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r1
	sub	sp, sp, #20
	ldr	r3, .L11
	add	r1, sp, #8
	add	r0, r5, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	fueword32
	cmn	r0, #1
	beq	.L8
	ldr	r3, .L11+4
	ldr	r0, [sp, #8]
	ldr	r4, [r3]
	bl	GET_SHARE
	mov	r1, r4
	mov	r2, r0
	add	r3, sp, #4
	mov	r0, r5
	bl	umtx_key_get
	subs	r4, r0, #0
	beq	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	add	r0, sp, #4
	bl	umtxq_lock
	add	r0, sp, #4
	bl	umtxq_busy
	ldr	r3, .L11+8
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	umtxq_signal
	add	r0, sp, #4
	bl	umtxq_unlock
	mov	r1, r4
	mov	r0, r5
	bl	suword32
	cmn	r0, #1
	ldreq	r3, .L11+12
	mov	r4, r0
	add	r0, sp, #4
	ldreq	r4, [r3]
	bl	umtxq_unbusy_unlocked
	add	r0, sp, #4
	bl	umtx_key_release
	b	.L1
.L8:
	ldr	r3, .L11+12
	ldr	r4, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	TYPE_CV
	.word	INT_MAX
	.word	EFAULT
	.size	do_cv_broadcast, .-do_cv_broadcast
	.comm	TYPE_CV,4,4
	.comm	INT_MAX,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
