	.file	"extr_htmlelem.c_HTMLElement_handle_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"F1 pressed\n"
	.text
	.p2align 4
	.globl	HTMLElement_handle_event
	.type	HTMLElement_handle_event, @function
HTMLElement_handle_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	impl_from_HTMLDOMNode@PLT
	cmp	ebx, 129
	je	.L11
.L2:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	mov	eax, DWORD PTR S_OK[rip]
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rdx, 16[rsp]
	lea	rsi, IID_nsIDOMKeyEvent[rip]
	mov	r12, rax
	call	nsIDOMEvent_QueryInterface@PLT
	mov	edi, eax
	call	NS_SUCCEEDED@PLT
	test	eax, eax
	je	.L2
	mov	rdi, QWORD PTR 16[rsp]
	lea	rsi, 12[rsp]
	mov	DWORD PTR 12[rsp], 0
	call	nsIDOMKeyEvent_GetKeyCode@PLT
	cmp	DWORD PTR 12[rsp], 128
	je	.L13
.L4:
	mov	rdi, QWORD PTR 16[rsp]
	call	nsIDOMKeyEvent_Release@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC0[rip]
	call	TRACE@PLT
	mov	edi, DWORD PTR 4[r12]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	ecx, DWORD PTR [r12]
	mov	edx, DWORD PTR TRUE[rip]
	mov	esi, DWORD PTR EVENTID_HELP[rip]
	call	fire_event@PLT
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR 0[r13], eax
	jmp	.L4
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	HTMLElement_handle_event, .-HTMLElement_handle_event
	.comm	TRUE,4,4
	.comm	S_OK,4,4
	.comm	IID_nsIDOMKeyEvent,4,4
	.comm	EVENTID_HELP,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_htmlelem.c_HTMLElement_handle_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"F1 pressed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	HTMLElement_handle_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	HTMLElement_handle_event, %function
HTMLElement_handle_event:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	mov	r6, r3
	ldr	r3, .L14
	sub	sp, sp, #28
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	impl_from_HTMLDOMNode
	cmp	r4, #129
	beq	.L11
.L2:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r1, .L14+8
	add	r2, sp, #12
	mov	r4, r0
	mov	r0, r5
	bl	nsIDOMEvent_QueryInterface
	bl	NS_SUCCEEDED
	cmp	r0, #0
	beq	.L2
	mov	r5, #0
	ldr	r0, [sp, #12]
	add	r1, sp, #16
	str	r5, [sp, #16]
	bl	nsIDOMKeyEvent_GetKeyCode
	ldr	r3, [sp, #16]
	cmp	r3, #128
	beq	.L13
.L4:
	ldr	r0, [sp, #12]
	bl	nsIDOMKeyEvent_Release
	b	.L2
.L13:
	ldr	r0, .L14+12
	bl	TRACE
	ldr	r7, .L14+16
	ldr	r1, .L14+20
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	str	r5, [sp, #4]
	str	r5, [sp]
	ldr	r2, [r7]
	ldr	r1, [r1]
	bl	fire_event
	ldr	r3, [r7]
	str	r3, [r6]
	b	.L4
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	S_OK
	.word	IID_nsIDOMKeyEvent
	.word	.LC0
	.word	TRUE
	.word	EVENTID_HELP
	.size	HTMLElement_handle_event, .-HTMLElement_handle_event
	.comm	TRUE,4,4
	.comm	S_OK,4,4
	.comm	IID_nsIDOMKeyEvent,4,4
	.comm	EVENTID_HELP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
