	.file	"extr_htmlanchor.c_HTMLAnchorElement_handle_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not get anchor href: %08x\n"
	.align 8
.LC1:
	.string	"Could not get anchor target: %08x\n"
	.text
	.p2align 4
	.type	HTMLAnchorElement_handle_event, @function
HTMLAnchorElement_handle_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	impl_from_HTMLDOMNode@PLT
	cmp	DWORD PTR EVENTID_CLICK[rip], ebp
	mov	r12, rax
	je	.L11
.L3:
	mov	rcx, r14
	mov	rdx, r13
	mov	esi, ebp
	mov	rdi, r12
	call	HTMLElement_handle_event@PLT
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rbx, 16[rsp]
	xor	esi, esi
	mov	rdi, rbx
	call	nsAString_Init@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	rsi, rbx
	call	nsIDOMHTMLAnchorElement_GetHref@PLT
	mov	edi, eax
	mov	r15d, eax
	call	NS_FAILED@PLT
	test	rax, rax
	jne	.L13
	lea	r15, 20[rsp]
	xor	esi, esi
	mov	rdi, r15
	call	nsAString_Init@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	rsi, r15
	call	nsIDOMHTMLAnchorElement_GetTarget@PLT
	mov	edi, eax
	mov	DWORD PTR 12[rsp], eax
	call	NS_FAILED@PLT
	test	rax, rax
	je	.L6
	mov	esi, DWORD PTR 12[rsp]
	lea	rdi, .LC1[rip]
	call	ERR@PLT
.L5:
	mov	rdi, rbx
	call	nsAString_Finish@PLT
	mov	rdi, r15
	call	nsAString_Finish@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r8, r14
	mov	rcx, r13
	mov	rdx, r15
	mov	rsi, rbx
	mov	rdi, r12
	call	handle_link_click_event@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, r15d
	lea	rdi, .LC0[rip]
	lea	r15, 20[rsp]
	call	ERR@PLT
	jmp	.L5
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	HTMLAnchorElement_handle_event, .-HTMLAnchorElement_handle_event
	.comm	EVENTID_CLICK,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_htmlanchor.c_HTMLAnchorElement_handle_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not get anchor href: %08x\012\000"
	.align	2
.LC1:
	.ascii	"Could not get anchor target: %08x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	HTMLAnchorElement_handle_event, %function
HTMLAnchorElement_handle_event:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r3
	ldr	r3, .L14
	mov	r4, r1
	sub	sp, sp, #28
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	impl_from_HTMLDOMNode
	ldr	r1, .L14+4
	mov	r5, r0
	ldr	r1, [r1]
	cmp	r1, r4
	beq	.L11
.L3:
	mov	r3, r6
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	bl	HTMLElement_handle_event
.L1:
	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, r8, r9, pc}
.L11:
	mov	r1, #0
	add	r0, sp, #12
	bl	nsAString_Init
	add	r1, sp, #12
	ldr	r0, [r5, #4]
	bl	nsIDOMHTMLAnchorElement_GetHref
	mov	r8, r0
	bl	NS_FAILED
	subs	r1, r0, #0
	bne	.L13
	add	r8, sp, #16
	mov	r0, r8
	bl	nsAString_Init
	mov	r1, r8
	ldr	r0, [r5, #4]
	bl	nsIDOMHTMLAnchorElement_GetTarget
	mov	r9, r0
	bl	NS_FAILED
	cmp	r0, #0
	beq	.L6
	mov	r1, r9
	ldr	r0, .L14+8
	bl	ERR
.L5:
	add	r0, sp, #12
	bl	nsAString_Finish
	mov	r0, r8
	bl	nsAString_Finish
	b	.L3
.L6:
	mov	r3, r7
	mov	r2, r8
	mov	r0, r5
	str	r6, [sp]
	add	r1, sp, #12
	bl	handle_link_click_event
	b	.L1
.L13:
	mov	r1, r8
	ldr	r0, .L14+12
	bl	ERR
	add	r8, sp, #16
	b	.L5
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	EVENTID_CLICK
	.word	.LC1
	.word	.LC0
	.size	HTMLAnchorElement_handle_event, .-HTMLAnchorElement_handle_event
	.comm	EVENTID_CLICK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
