	.file	"extr_dialog.c_vlclua_widget_get_text.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"widget"
.LC1:
	.string	"Can't get pointer to widget"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"method get_text not valid for this widget"
	.text
	.p2align 4
	.type	vlclua_widget_get_text, @function
vlclua_widget_get_text:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rdx, .LC0[rip]
	mov	esi, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	luaL_checkudata@PLT
	test	rax, rax
	je	.L2
	mov	rbx, QWORD PTR [rax]
	test	rbx, rbx
	je	.L2
	mov	eax, DWORD PTR [rbx]
	lea	ecx, -128[rax]
	cmp	ecx, 8
	ja	.L4
	mov	eax, 1
	sal	rax, cl
	test	eax, 491
	je	.L4
	mov	r13, QWORD PTR 16[rbx]
	xor	r12d, r12d
	mov	rdi, r13
	call	vlc_mutex_lock@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L15
.L6:
	mov	rdi, r13
	call	vlc_mutex_unlock@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	lua_pushstring@PLT
	mov	rdi, r12
	call	free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	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
.L2:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
.L13:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	luaL_error@PLT
.L4:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L15:
	call	strdup@PLT
	mov	r12, rax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	vlclua_widget_get_text, .-vlclua_widget_get_text
	.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_dialog.c_vlclua_widget_get_text.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"widget\000"
	.align	2
.LC1:
	.ascii	"Can't get pointer to widget\000"
	.align	2
.LC2:
	.ascii	"method get_text not valid for this widget\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlclua_widget_get_text, %function
vlclua_widget_get_text:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #1
	ldr	r2, .L14
	mov	r4, r0
	bl	luaL_checkudata
	cmp	r0, #0
	beq	.L2
	ldr	r5, [r0]
	cmp	r5, #0
	beq	.L2
	ldr	r3, [r5]
	sub	r3, r3, #128
	cmp	r3, #8
	bhi	.L4
	mov	r1, #1
	ldr	r2, .L14+4
	ands	r3, r2, r1, lsl r3
	beq	.L4
	ldr	r6, [r5, #8]
	mov	r0, r6
	bl	vlc_mutex_lock
	ldr	r5, [r5, #4]
	cmp	r5, #0
	bne	.L13
.L6:
	mov	r0, r6
	bl	vlc_mutex_unlock
	mov	r1, r5
	mov	r0, r4
	bl	lua_pushstring
	mov	r0, r5
	bl	free
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, .L14+8
	b	luaL_error
.L4:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, .L14+12
	b	luaL_error
.L13:
	mov	r0, r5
	bl	strdup
	mov	r5, r0
	b	.L6
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	491
	.word	.LC1
	.word	.LC2
	.size	vlclua_widget_get_text, .-vlclua_widget_get_text
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
