	.file	"extr_pulseaudio-wrapper.c_pulseaudio_get_server_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pulseaudio_get_server_info
	.type	pulseaudio_get_server_info, @function
pulseaudio_get_server_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	pulseaudio_context_ready@PLT
	test	rax, rax
	js	.L5
	xor	eax, eax
	call	pulseaudio_lock@PLT
	mov	edi, DWORD PTR pulseaudio_context[rip]
	mov	esi, ebp
	mov	rdx, r12
	call	pa_context_get_server_info@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L3
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	call	pulseaudio_wait@PLT
.L3:
	mov	rdi, rbp
	call	pa_operation_get_state@PLT
	cmp	rax, QWORD PTR PA_OPERATION_RUNNING[rip]
	je	.L4
	mov	rdi, rbp
	call	pa_operation_unref@PLT
	xor	eax, eax
	call	pulseaudio_unlock@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L9:
	xor	eax, eax
	call	pulseaudio_unlock@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	pulseaudio_get_server_info, .-pulseaudio_get_server_info
	.comm	pulseaudio_context,4,4
	.comm	PA_OPERATION_RUNNING,8,8
	.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_pulseaudio-wrapper.c_pulseaudio_get_server_info.c"
	.text
	.align	2
	.global	pulseaudio_get_server_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	pulseaudio_get_server_info, %function
pulseaudio_get_server_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	bl	pulseaudio_context_ready
	cmp	r0, #0
	blt	.L5
	bl	pulseaudio_lock
	ldr	r3, .L10
	mov	r1, r4
	mov	r2, r5
	ldr	r0, [r3]
	bl	pa_context_get_server_info
	subs	r4, r0, #0
	beq	.L7
	ldr	r5, .L10+4
	b	.L3
.L4:
	bl	pulseaudio_wait
.L3:
	mov	r0, r4
	bl	pa_operation_get_state
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L4
	mov	r0, r4
	bl	pa_operation_unref
	bl	pulseaudio_unlock
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	bl	pulseaudio_unlock
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	pulseaudio_context
	.word	PA_OPERATION_RUNNING
	.size	pulseaudio_get_server_info, .-pulseaudio_get_server_info
	.comm	pulseaudio_context,4,4
	.comm	PA_OPERATION_RUNNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
