	.file	"extr_module.c_module_find_by_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	module_find_by_addr
	.type	module_find_by_addr, @function
module_find_by_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	DWORD PTR DMT_UNKNOWN[rip], edx
	je	.L13
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	jne	.L6
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L4
.L6:
	cmp	DWORD PTR [rax], edx
	jne	.L5
	mov	rcx, QWORD PTR 8[rax]
	cmp	rcx, rbp
	jg	.L5
	add	rcx, QWORD PTR 16[rax]
	cmp	rcx, rbp
	jle	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, DWORD PTR DMT_PE[rip]
	call	module_find_by_addr
	test	rax, rax
	jne	.L1
	mov	edx, DWORD PTR DMT_ELF[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	module_find_by_addr
	test	rax, rax
	jne	.L1
	mov	edx, DWORD PTR DMT_MACHO[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	module_find_by_addr
	test	rax, rax
	jne	.L1
.L4:
	mov	edi, DWORD PTR ERROR_MOD_NOT_FOUND[rip]
	call	SetLastError@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	module_find_by_addr, .-module_find_by_addr
	.comm	ERROR_MOD_NOT_FOUND,4,4
	.comm	DMT_UNKNOWN,4,4
	.comm	DMT_PE,4,4
	.comm	DMT_MACHO,4,4
	.comm	DMT_ELF,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_module.c_module_find_by_addr.c"
	.text
	.align	2
	.global	module_find_by_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	module_find_by_addr, %function
module_find_by_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r5, r0
	cmp	r3, r2
	mov	r4, r1
	beq	.L13
	ldr	r0, [r0]
	cmp	r0, #0
	bne	.L6
	b	.L4
.L5:
	ldr	r0, [r0, #12]
	cmp	r0, #0
	beq	.L4
.L6:
	ldr	r3, [r0]
	cmp	r3, r2
	bne	.L5
	ldr	r3, [r0, #4]
	cmp	r3, r4
	bgt	.L5
	ldr	r1, [r0, #8]
	add	r3, r3, r1
	cmp	r3, r4
	popgt	{r4, r5, r6, pc}
	ldr	r0, [r0, #12]
	cmp	r0, #0
	bne	.L6
.L4:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	bl	SetLastError
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, .L14+8
	ldr	r2, [r3]
	bl	module_find_by_addr
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L14+12
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r3]
	bl	module_find_by_addr
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L14+16
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r3]
	bl	module_find_by_addr
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	b	.L4
.L15:
	.align	2
.L14:
	.word	DMT_UNKNOWN
	.word	ERROR_MOD_NOT_FOUND
	.word	DMT_PE
	.word	DMT_ELF
	.word	DMT_MACHO
	.size	module_find_by_addr, .-module_find_by_addr
	.comm	ERROR_MOD_NOT_FOUND,4,4
	.comm	DMT_UNKNOWN,4,4
	.comm	DMT_PE,4,4
	.comm	DMT_MACHO,4,4
	.comm	DMT_ELF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
