	.file	"extr_rtl.c_test_LdrProcessRelocationBlock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ret = %p, expected %p\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"addr32 = %x, expected 0x550055\n"
	.section	.rodata.str1.1
.LC2:
	.string	"addr16 = %x, expected 0x555\n"
.LC3:
	.string	"addr16 = %x, expected 0x565\n"
	.text
	.p2align 4
	.type	test_LdrProcessRelocationBlock, @function
test_LdrProcessRelocationBlock:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, 5242960
	mov	esi, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR IMAGE_REL_BASED_HIGHLOW[rip]
	lea	r12, 16[rsp]
	lea	r13, 12[rsp]
	mov	rdx, r13
	mov	rdi, r12
	lea	rbp, 20[rsp]
	mov	DWORD PTR 16[rsp], 327685
	sal	eax, 12
	mov	DWORD PTR 12[rsp], eax
	call	pLdrProcessRelocationBlock@PLT
	xor	edi, edi
	mov	rcx, r12
	lea	rsi, .LC0[rip]
	cmp	rax, r12
	mov	rdx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR 16[rsp]
	xor	edi, edi
	lea	rsi, .LC1[rip]
	cmp	edx, 5570645
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	ecx, 5242976
	mov	rdx, r13
	mov	rdi, rbp
	mov	eax, DWORD PTR IMAGE_REL_BASED_HIGH[rip]
	mov	esi, 1
	mov	DWORD PTR 20[rsp], 1285
	sal	eax, 12
	mov	DWORD PTR 12[rsp], eax
	call	pLdrProcessRelocationBlock@PLT
	xor	edi, edi
	mov	rcx, r12
	lea	rsi, .LC0[rip]
	cmp	rax, r12
	mov	rdx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR 20[rsp]
	xor	edi, edi
	lea	rsi, .LC2[rip]
	cmp	edx, 1365
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	ecx, 5242976
	mov	rdx, r13
	mov	rdi, rbp
	mov	eax, DWORD PTR IMAGE_REL_BASED_LOW[rip]
	mov	esi, 1
	mov	DWORD PTR 20[rsp], 1285
	sal	eax, 12
	mov	DWORD PTR 12[rsp], eax
	call	pLdrProcessRelocationBlock@PLT
	xor	edi, edi
	mov	rcx, r12
	lea	rsi, .LC0[rip]
	cmp	rax, r12
	mov	rdx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR 20[rsp]
	xor	edi, edi
	lea	rsi, .LC3[rip]
	cmp	edx, 1381
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_LdrProcessRelocationBlock, .-test_LdrProcessRelocationBlock
	.comm	IMAGE_REL_BASED_LOW,4,4
	.comm	IMAGE_REL_BASED_HIGHLOW,4,4
	.comm	IMAGE_REL_BASED_HIGH,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_rtl.c_test_LdrProcessRelocationBlock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ret = %p, expected %p\012\000"
	.align	2
.LC1:
	.ascii	"addr32 = %x, expected 0x550055\012\000"
	.align	2
.LC2:
	.ascii	"addr16 = %x, expected 0x555\012\000"
	.align	2
.LC3:
	.ascii	"addr16 = %x, expected 0x565\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_LdrProcessRelocationBlock, %function
test_LdrProcessRelocationBlock:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L6
	sub	sp, sp, #16
	ldr	ip, [r3]
	ldr	lr, .L6+4
	add	r4, sp, #4
	ldr	r5, .L6+8
	lsl	ip, ip, #12
	mov	r2, sp
	mov	r1, #1
	ldr	r3, .L6+12
	mov	r0, r4
	ldr	r5, [r5]
	str	r5, [sp, #12]
	mov	r5,#0
	stm	sp, {ip, lr}
	bl	pLdrProcessRelocationBlock
	mov	r2, r0
	sub	r0, r4, r0
	clz	r0, r0
	mov	r3, r4
	ldr	r1, .L6+16
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #4]
	ldr	r0, .L6+20
	ldr	r1, .L6+24
	sub	r0, r2, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L6+28
	ldr	r5, .L6+32
	ldr	ip, [r3]
	mov	r2, sp
	lsl	ip, ip, #12
	mov	r1, #1
	ldr	r3, .L6+36
	add	r0, sp, #8
	str	ip, [sp]
	str	r5, [sp, #8]
	bl	pLdrProcessRelocationBlock
	mov	r2, r0
	sub	r0, r4, r0
	clz	r0, r0
	mov	r3, r4
	ldr	r1, .L6+16
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r0, .L6+40
	ldr	r1, .L6+44
	sub	r0, r2, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L6+48
	mov	r2, sp
	ldr	ip, [r3]
	mov	r1, #1
	lsl	ip, ip, #12
	ldr	r3, .L6+36
	add	r0, sp, #8
	str	ip, [sp]
	str	r5, [sp, #8]
	bl	pLdrProcessRelocationBlock
	mov	r2, r0
	sub	r0, r0, r4
	clz	r0, r0
	mov	r3, r4
	ldr	r1, .L6+16
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r0, .L6+52
	ldr	r1, .L6+56
	sub	r0, r2, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	IMAGE_REL_BASED_HIGHLOW
	.word	327685
	.word	.LC4
	.word	5242960
	.word	.LC0
	.word	5570645
	.word	.LC1
	.word	IMAGE_REL_BASED_HIGH
	.word	1285
	.word	5242976
	.word	1365
	.word	.LC2
	.word	IMAGE_REL_BASED_LOW
	.word	1381
	.word	.LC3
	.size	test_LdrProcessRelocationBlock, .-test_LdrProcessRelocationBlock
	.comm	IMAGE_REL_BASED_LOW,4,4
	.comm	IMAGE_REL_BASED_HIGHLOW,4,4
	.comm	IMAGE_REL_BASED_HIGH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
