	.file	"extr_unaligned_64.c_fetch_reg_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fetch_reg_addr, @function
fetch_reg_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	edi, 15
	jbe	.L8
	mov	eax, DWORD PTR 8[rsi]
	lea	ebp, -16[rdi]
	test	DWORD PTR TSTATE_PRIV[rip], eax
	je	.L4
	mov	rax, QWORD PTR [rsi]
	mov	rdx, QWORD PTR UREG_FP[rip]
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR STACK_BIAS[rip]
	mov	rax, QWORD PTR [rdx+rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rax, [rax+rbp*8]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR TIF_32BIT[rip]
	call	test_thread_flag@PLT
	mov	rdx, QWORD PTR UREG_FP[rip]
	test	rax, rax
	mov	rax, QWORD PTR [rbx]
	je	.L5
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rax, [rax+rbp*4]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsi]
	mov	edi, edi
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	lea	rax, [rax+rdi*8]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR STACK_BIAS[rip]
	mov	rax, QWORD PTR [rdx+rax]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rax, [rax+rbp*8]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fetch_reg_addr, .-fetch_reg_addr
	.comm	UREG_FP,8,8
	.comm	TSTATE_PRIV,4,4
	.comm	TIF_32BIT,4,4
	.comm	STACK_BIAS,8,8
	.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_unaligned_64.c_fetch_reg_addr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fetch_reg_addr, %function
fetch_reg_addr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #15
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bls	.L8
	ldr	r3, .L9
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	sub	r0, r0, #-1073741808
	tst	r2, r3
	lsl	r5, r0, #2
	beq	.L4
.L5:
	ldr	r3, .L9+4
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r3, .L9+8
	ldr	r2, [r2, r1, lsl #2]
	ldr	r3, [r3]
	ldr	r0, [r2, r3]
	add	r0, r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	bl	test_thread_flag
	cmp	r0, #0
	beq	.L5
	ldr	r2, .L9+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r0, [r3]
	add	r0, r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, [r1]
	add	r0, r3, r0, lsl #2
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	TSTATE_PRIV
	.word	UREG_FP
	.word	STACK_BIAS
	.word	TIF_32BIT
	.size	fetch_reg_addr, .-fetch_reg_addr
	.comm	UREG_FP,4,4
	.comm	TSTATE_PRIV,4,4
	.comm	TIF_32BIT,4,4
	.comm	STACK_BIAS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
