	.file	"extr_dialog.c_dialog_event_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"handling event %s\n"
.LC1:
	.string	"unhandled event %s arg(%s)\n"
	.text
	.p2align 4
	.type	dialog_event_handler, @function
dialog_event_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	debugstr_w@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	TRACE@PLT
	test	r14, r14
	je	.L11
	mov	rax, QWORD PTR control_events[rip]
	xor	ebp, ebp
	xor	ebx, ebx
	mov	rdi, QWORD PTR 8[rax]
	test	rdi, rdi
	jne	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	lea	ebx, 1[rbp]
	mov	rax, QWORD PTR control_events[rip]
	mov	rbp, rbx
	sal	rbx, 4
	mov	rdi, QWORD PTR 8[rax+rbx]
	test	rdi, rdi
	je	.L4
.L3:
	mov	rsi, r14
	call	strcmpW@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR control_events[rip]
	mov	rsi, r12
	mov	rdi, r13
	mov	rax, QWORD PTR [rax+rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, r12
	call	debugstr_w@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	debugstr_w@PLT
	mov	edx, r12d
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	FIXME@PLT
.L11:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR ERROR_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dialog_event_handler, .-dialog_event_handler
	.comm	control_events,8,8
	.comm	ERROR_SUCCESS,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_dialog.c_dialog_event_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"handling event %s\012\000"
	.align	2
.LC1:
	.ascii	"unhandled event %s arg(%s)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dialog_event_handler, %function
dialog_event_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r0, r1
	mov	r5, r1
	mov	r6, r2
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L12
	bl	TRACE
	cmp	r5, #0
	beq	.L10
	ldr	r8, .L12+4
	ldr	r3, [r8]
	ldr	r0, [r3, #4]
	cmp	r0, #0
	movne	r4, #0
	bne	.L3
	b	.L4
.L6:
	add	r4, r4, #8
	add	r3, r3, r4
	ldr	r0, [r3, #4]
	cmp	r0, #0
	beq	.L4
.L3:
	mov	r1, r5
	bl	strcmpW
	cmp	r0, #0
	ldr	r3, [r8]
	bne	.L6
	mov	r1, r6
	mov	r0, r7
	ldr	r3, [r3, r4]
	pop	{r4, r5, r6, r7, r8, lr}
	bx	r3
.L4:
	mov	r0, r5
	bl	debugstr_w
	mov	r4, r0
	mov	r0, r6
	bl	debugstr_w
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+8
	bl	FIXME
.L10:
	ldr	r3, .L12+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	control_events
	.word	.LC1
	.word	ERROR_SUCCESS
	.size	dialog_event_handler, .-dialog_event_handler
	.comm	control_events,4,4
	.comm	ERROR_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
