	.file	"extr_subr_log.c_oslog_streamwakeup_locked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	oslog_streamwakeup_locked, @function
oslog_streamwakeup_locked:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR LCK_ASSERT_OWNED[rip]
	lea	rdi, oslog_stream_lock[rip]
	call	LCK_SPIN_ASSERT@PLT
	mov	eax, DWORD PTR oslog_stream_open[rip]
	test	eax, eax
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, oslog_streamsoftc[rip+4]
	call	selwakeup@PLT
	mov	eax, DWORD PTR oslog_streamsoftc[rip]
	test	DWORD PTR LOG_RDWAIT[rip], eax
	je	.L1
	mov	edi, DWORD PTR oslog_streambufp[rip]
	call	wakeup@PLT
	mov	eax, DWORD PTR LOG_RDWAIT[rip]
	not	eax
	and	DWORD PTR oslog_streamsoftc[rip], eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	oslog_streamwakeup_locked, .-oslog_streamwakeup_locked
	.comm	oslog_streamsoftc,8,8
	.comm	oslog_streambufp,8,8
	.comm	oslog_stream_open,4,4
	.comm	oslog_stream_lock,4,4
	.comm	LOG_RDWAIT,4,4
	.comm	LCK_ASSERT_OWNED,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_subr_log.c_oslog_streamwakeup_locked.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	oslog_streamwakeup_locked, %function
oslog_streamwakeup_locked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	ldr	r0, .L10+4
	bl	LCK_SPIN_ASSERT
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	ldr	r4, .L10+12
	ldr	r5, .L10+16
	mov	r0, r4
	bl	selwakeup
	ldr	r2, [r4, #-4]
	ldr	r3, [r5]
	tst	r2, r3
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L10+20
	ldr	r0, [r3]
	bl	wakeup
	ldr	r3, [r4, #-4]
	ldr	r2, [r5]
	bic	r3, r3, r2
	str	r3, [r4, #-4]
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	LCK_ASSERT_OWNED
	.word	oslog_stream_lock
	.word	oslog_stream_open
	.word	oslog_streamsoftc+4
	.word	LOG_RDWAIT
	.word	oslog_streambufp
	.size	oslog_streamwakeup_locked, .-oslog_streamwakeup_locked
	.comm	oslog_streamsoftc,8,4
	.comm	oslog_streambufp,4,4
	.comm	oslog_stream_open,4,4
	.comm	oslog_stream_lock,4,4
	.comm	LOG_RDWAIT,4,4
	.comm	LCK_ASSERT_OWNED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
