	.file	"extr_kull_m_xml.c_kull_m_xml_getAttribute.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kull_m_xml_getAttribute
	.type	kull_m_xml_getAttribute, @function
kull_m_xml_getAttribute:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	ebx, DWORD PTR FALSE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rsi, 16[rsp]
	mov	QWORD PTR 8[rsp], 0
	call	IXMLDOMNode_get_attributes@PLT
	cmp	rax, QWORD PTR S_OK[rip]
	je	.L23
.L2:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	rax, QWORD PTR 8[rsp]
	jne	.L24
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rsp]
	lea	rsi, 32[rsp]
	call	IXMLDOMNamedNodeMap_get_length@PLT
	cmp	rax, QWORD PTR S_OK[rip]
	je	.L25
.L4:
	mov	rdi, QWORD PTR 16[rsp]
	call	IXMLDOMNamedNodeMap_Release@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L25:
	cmp	QWORD PTR 32[rsp], 0
	jle	.L4
	test	ebx, ebx
	jne	.L4
	xor	ebx, ebx
	lea	r12, 24[rsp]
	lea	r13, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r12
	mov	rsi, rbx
	call	IXMLDOMNamedNodeMap_get_item@PLT
	cmp	rax, QWORD PTR S_OK[rip]
	je	.L6
	add	rbx, 1
	cmp	rbx, QWORD PTR 32[rsp]
	jl	.L7
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, r13
	call	IXMLDOMNode_get_nodeName@PLT
	cmp	rax, QWORD PTR S_OK[rip]
	je	.L26
.L8:
	mov	rdi, QWORD PTR 24[rsp]
	add	rbx, 1
	call	IXMLDOMNode_Release@PLT
	cmp	QWORD PTR 32[rsp], rbx
	jg	.L7
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, DWORD PTR 4[rsp]
	mov	edi, ebp
	call	_wcsicmp@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	r14, rax
	call	SysFreeString@PLT
	test	r14, r14
	jne	.L8
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, r13
	call	IXMLDOMNode_get_text@PLT
	cmp	rax, QWORD PTR S_OK[rip]
	je	.L27
.L9:
	mov	rdi, QWORD PTR 24[rsp]
	call	IXMLDOMNode_Release@PLT
	jmp	.L4
.L27:
	mov	esi, DWORD PTR 4[rsp]
	lea	rdi, 8[rsp]
	call	kull_m_string_copy@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	SysFreeString@PLT
	jmp	.L9
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kull_m_xml_getAttribute, .-kull_m_xml_getAttribute
	.comm	S_OK,8,8
	.comm	FALSE,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_kull_m_xml.c_kull_m_xml_getAttribute.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kull_m_xml_getAttribute
	.syntax unified
	.arm
	.fpu softvfp
	.type	kull_m_xml_getAttribute, %function
kull_m_xml_getAttribute:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, #0
	sub	sp, sp, #28
	ldr	r3, .L25
	ldr	r2, .L25+4
	mov	r6, r1
	add	r1, sp, #4
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	ldr	r7, [r3]
	str	r4, [sp]
	bl	IXMLDOMNode_get_attributes
	ldr	r5, .L25+8
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L20
.L2:
	ldr	r3, .L25+4
	ldr	r0, [sp]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L20:
	ldr	r0, [sp, #4]
	add	r1, sp, #16
	bl	IXMLDOMNamedNodeMap_get_length
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L22
.L4:
	ldr	r0, [sp, #4]
	bl	IXMLDOMNamedNodeMap_Release
	b	.L2
.L22:
	ldr	r3, [sp, #16]
	cmp	r3, r4
	movle	r3, #0
	movgt	r3, #1
	cmp	r7, r4
	movne	r3, #0
	cmp	r3, r4
	beq	.L4
.L7:
	mov	r1, r4
	ldr	r0, [sp, #4]
	add	r2, sp, #8
	bl	IXMLDOMNamedNodeMap_get_item
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L6
	ldr	r3, [sp, #16]
	add	r4, r4, #1
	cmp	r4, r3
	blt	.L7
	b	.L4
.L6:
	ldr	r0, [sp, #8]
	add	r1, sp, #12
	bl	IXMLDOMNode_get_nodeName
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L23
.L8:
	ldr	r0, [sp, #8]
	bl	IXMLDOMNode_Release
	ldr	r3, [sp, #16]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L7
	b	.L4
.L23:
	ldr	r1, [sp, #12]
	mov	r0, r6
	bl	_wcsicmp
	mov	r7, r0
	ldr	r0, [sp, #12]
	bl	SysFreeString
	cmp	r7, #0
	bne	.L8
	ldr	r0, [sp, #8]
	add	r1, sp, #12
	bl	IXMLDOMNode_get_text
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L24
.L9:
	ldr	r0, [sp, #8]
	bl	IXMLDOMNode_Release
	b	.L4
.L24:
	mov	r0, sp
	ldr	r1, [sp, #12]
	bl	kull_m_string_copy
	ldr	r0, [sp, #12]
	bl	SysFreeString
	b	.L9
.L21:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	FALSE
	.word	.LC0
	.word	S_OK
	.size	kull_m_xml_getAttribute, .-kull_m_xml_getAttribute
	.comm	S_OK,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
