	.file	"extr_tc-arm.c_arm_handle_align.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	arm_handle_align
	.type	arm_handle_align, @function
arm_handle_align:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR rs_align_code[rip]
	cmp	QWORD PTR [rdi], rax
	jne	.L16
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 40[rdi]
	movsx	rcx, DWORD PTR 12[rdi]
	mov	ebx, DWORD PTR [rax]
	sub	ebx, DWORD PTR 8[rdi]
	sub	ebx, ecx
	mov	eax, DWORD PTR MAX_MEM_FOR_RS_ALIGN_CODE[rip]
	add	rcx, QWORD PTR 16[rdi]
	mov	edx, ebx
	mov	r15, rcx
	and	edx, eax
	cmp	eax, ebx
	mov	rax, QWORD PTR target_big_endian[rip]
	cmovl	ebx, edx
	cmp	QWORD PTR 32[rdi], 0
	jne	.L20
	test	rax, rax
	mov	r12d, 3
	mov	ebp, 4
	lea	r14, arm_bigend_noop.1946[rip]
	lea	rax, arm_noop.1944[rip]
	cmove	r14, rax
	and	r12d, ebx
	jne	.L21
.L6:
	cmp	ebp, ebx
	jg	.L7
	movsx	rax, ebp
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r15
	mov	edx, ebp
	mov	rsi, r14
	sub	ebx, ebp
	call	memcpy@PLT
	add	r12d, ebp
	add	r15, QWORD PTR 8[rsp]
	cmp	ebp, ebx
	jle	.L8
.L7:
	add	DWORD PTR 12[r13], r12d
	mov	DWORD PTR 24[r13], ebp
	add	rsp, 24
	.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
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_def_cfa_offset 80
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	test	rax, rax
	mov	r12d, 1
	mov	ebp, 2
	lea	r14, thumb_bigend_noop.1947[rip]
	lea	rax, thumb_noop.1945[rip]
	cmove	r14, rax
	and	r12d, ebx
	je	.L6
.L21:
	mov	rdi, r15
	mov	edx, r12d
	xor	esi, esi
	call	memset@PLT
	movsx	rax, r12d
	sub	ebx, r12d
	add	r15, rax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	arm_handle_align, .-arm_handle_align
	.section	.rodata
	.type	arm_noop.1944, @object
	.size	arm_noop.1944, 4
arm_noop.1944:
	.string	""
	.string	""
	.ascii	"\240\341"
	.type	arm_bigend_noop.1946, @object
	.size	arm_bigend_noop.1946, 4
arm_bigend_noop.1946:
	.string	"\341\240"
	.string	""
	.type	thumb_noop.1945, @object
	.size	thumb_noop.1945, 2
thumb_noop.1945:
	.ascii	"\300F"
	.type	thumb_bigend_noop.1947, @object
	.size	thumb_bigend_noop.1947, 2
thumb_bigend_noop.1947:
	.ascii	"F\300"
	.comm	target_big_endian,8,8
	.comm	rs_align_code,8,8
	.comm	MAX_MEM_FOR_RS_ALIGN_CODE,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_tc-arm.c_arm_handle_align.c"
	.text
	.align	2
	.global	arm_handle_align
	.syntax unified
	.arm
	.fpu softvfp
	.type	arm_handle_align, %function
arm_handle_align:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bxne	lr
	ldr	r3, [r0, #24]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r0, #4]
	ldr	r5, [r3]
	ldr	r2, .L22+4
	ldr	r3, [r0, #8]
	ldr	r2, [r2]
	sub	r5, r5, r1
	ldr	r1, [r0, #12]
	sub	r5, r5, r3
	cmp	r2, r5
	add	r3, r1, r3
	ldr	r1, [r0, #20]
	andlt	r5, r5, r2
	ldr	r2, .L22+8
	cmp	r1, #0
	mov	r7, r0
	ldr	r8, [r2]
	bne	.L20
	mov	r6, #3
	ldr	r2, .L22+12
	cmp	r8, #0
	add	r1, r2, #8
	movne	r8, r2
	moveq	r8, r1
	ands	r6, r5, r6
	mov	r4, #4
	bne	.L21
.L6:
	cmp	r4, r5
	bgt	.L7
.L8:
	mov	r0, r3
	mov	r2, r4
	mov	r1, r8
	bl	memcpy
	sub	r5, r5, r4
	cmp	r4, r5
	add	r6, r6, r4
	add	r3, r0, r4
	ble	.L8
.L7:
	ldr	r3, [r7, #8]
	str	r4, [r7, #16]
	add	r6, r3, r6
	str	r6, [r7, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	mov	r6, #1
	ldr	r2, .L22+16
	cmp	r8, #0
	add	r1, r2, #8
	movne	r8, r2
	moveq	r8, r1
	ands	r6, r5, r6
	mov	r4, #2
	beq	.L6
.L21:
	mov	r0, r3
	mov	r2, r6
	mov	r1, #0
	bl	memset
	sub	r5, r5, r6
	add	r3, r0, r6
	b	.L6
.L23:
	.align	2
.L22:
	.word	rs_align_code
	.word	MAX_MEM_FOR_RS_ALIGN_CODE
	.word	target_big_endian
	.word	.LANCHOR0+4
	.word	.LANCHOR0
	.size	arm_handle_align, .-arm_handle_align
	.comm	target_big_endian,4,4
	.comm	rs_align_code,4,4
	.comm	MAX_MEM_FOR_RS_ALIGN_CODE,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	thumb_bigend_noop.4231, %object
	.size	thumb_bigend_noop.4231, 2
thumb_bigend_noop.4231:
	.ascii	"F\300"
	.space	2
	.type	arm_bigend_noop.4230, %object
	.size	arm_bigend_noop.4230, 4
arm_bigend_noop.4230:
	.ascii	"\341\240\000\000"
	.type	thumb_noop.4229, %object
	.size	thumb_noop.4229, 2
thumb_noop.4229:
	.ascii	"\300F"
	.space	2
	.type	arm_noop.4228, %object
	.size	arm_noop.4228, 4
arm_noop.4228:
	.ascii	"\000\000\240\341"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
