	.file	"extr_tc-arm.c_relax_branch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	relax_branch, @function
relax_branch:
.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
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 16[rdi]
	call	S_IS_DEFINED@PLT
	test	eax, eax
	jne	.L10
.L2:
	mov	eax, 4
.L1:
	add	rsp, 8
	.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
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbx]
	call	S_GET_SEGMENT@PLT
	cmp	rbp, rax
	jne	.L2
	mov	rsi, r13
	mov	rdi, rbx
	call	relaxed_symbol_addr@PLT
	mov	rdx, QWORD PTR [rbx]
	add	rdx, QWORD PTR 8[rbx]
	mov	ecx, r12d
	add	rdx, 4
	sub	eax, edx
	mov	edx, 1
	sal	edx, cl
	mov	esi, eax
	cmp	eax, edx
	jge	.L2
	neg	edx
	mov	eax, 2
	cmp	edx, esi
	jle	.L1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	relax_branch, .-relax_branch
	.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_tc-arm.c_relax_branch.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	relax_branch, %function
relax_branch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #8]
	mov	r5, r1
	mov	r7, r2
	mov	r6, r3
	bl	S_IS_DEFINED
	cmp	r0, #0
	bne	.L10
.L2:
	mov	r0, #4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, [r4, #8]
	bl	S_GET_SEGMENT
	cmp	r5, r0
	bne	.L2
	mov	r1, r6
	mov	r0, r4
	bl	relaxed_symbol_addr
	mov	r2, #1
	ldr	r3, [r4, #4]
	ldr	ip, [r4]
	lsl	r1, r2, r7
	add	r3, r3, ip
	add	r3, r3, #4
	sub	r3, r0, r3
	cmp	r3, r2, lsl r7
	bge	.L2
	rsb	r1, r1, #0
	cmp	r1, r3
	bgt	.L2
	mov	r0, #2
	pop	{r4, r5, r6, r7, r8, pc}
	.size	relax_branch, .-relax_branch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
