	.file	"extr_rs6000-tdep.c_frame_initial_stack_address.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	frame_initial_stack_address, @function
frame_initial_stack_address:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	call	get_frame_extra_info@PLT
	mov	rdi, r12
	cmp	QWORD PTR [rax], 0
	je	.L2
.L16:
	call	get_frame_extra_info@PLT
	mov	rax, QWORD PTR [rax]
.L1:
	mov	rcx, QWORD PTR -40[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -32[rbp]
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	get_frame_pc@PLT
	mov	rdi, r12
	lea	r14, -48[rbp]
	mov	r13d, eax
	call	get_frame_func@PLT
	mov	rdx, r14
	mov	esi, r13d
	mov	edi, eax
	call	skip_prologue@PLT
	mov	rdi, r12
	call	deprecated_get_frame_saved_regs@PLT
	test	eax, eax
	je	.L19
	mov	rsi, QWORD PTR -48[rbp]
	test	rsi, rsi
	js	.L20
.L5:
	movsx	rax, DWORD PTR MAX_REGISTER_SIZE[rip]
	mov	rcx, rsp
	mov	r13, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L7
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L7:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L8
	or	QWORD PTR -8[rsp+rdx], 0
.L8:
	mov	rdx, rsp
	mov	rdi, r12
	call	frame_register_read@PLT
	test	rax, rax
	je	.L9
	mov	rdi, QWORD PTR -48[rbp]
	call	DEPRECATED_REGISTER_RAW_SIZE@PLT
	mov	rdi, r12
	mov	r15d, eax
	call	get_frame_extra_info@PLT
	mov	esi, r15d
	mov	rdi, rsp
	mov	r14, rax
	call	extract_unsigned_integer@PLT
	mov	QWORD PTR [r14], rax
.L10:
	mov	rdi, r12
	mov	rsp, r13
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r12
	call	get_frame_extra_info@PLT
	mov	rdi, r12
	mov	r14, rax
	call	get_frame_base@PLT
	mov	QWORD PTR [r14], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rsi, r14
	mov	rdi, r12
	call	frame_get_saved_regs@PLT
	mov	rsi, QWORD PTR -48[rbp]
	test	rsi, rsi
	jns	.L5
.L20:
	mov	rdi, r12
	call	get_frame_extra_info@PLT
	mov	rdi, r12
	mov	r13, rax
	call	get_frame_base@PLT
	mov	rdi, r12
	mov	QWORD PTR 0[r13], rax
	call	get_frame_extra_info@PLT
	mov	rax, QWORD PTR [rax]
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	frame_initial_stack_address, .-frame_initial_stack_address
	.comm	MAX_REGISTER_SIZE,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_rs6000-tdep.c_frame_initial_stack_address.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	frame_initial_stack_address, %function
frame_initial_stack_address:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	ldr	r3, .L16
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	get_frame_extra_info
	ldr	r3, [r0]
	mov	r0, r4
	cmp	r3, #0
	beq	.L2
.L10:
	bl	get_frame_extra_info
	ldr	r0, [r0]
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L2:
	bl	get_frame_func
	mov	r5, r0
	mov	r0, r4
	bl	get_frame_pc
	sub	r2, fp, #28
	mov	r1, r0
	mov	r0, r5
	bl	skip_prologue
	mov	r0, r4
	bl	deprecated_get_frame_saved_regs
	cmp	r0, #0
	beq	.L13
	ldr	r1, [fp, #-28]
	cmp	r1, #0
	blt	.L14
.L5:
	ldr	r3, .L16+4
	mov	r5, sp
	ldr	r3, [r3]
	mov	r0, r4
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r2, sp
	bl	frame_register_read
	cmp	r0, #0
	bne	.L15
	mov	r0, r4
	bl	get_frame_extra_info
	mov	r6, r0
	mov	r0, r4
	bl	get_frame_base
	str	r0, [r6]
.L7:
	mov	r0, r4
	mov	sp, r5
	b	.L10
.L15:
	ldr	r0, [fp, #-28]
	bl	DEPRECATED_REGISTER_RAW_SIZE
	mov	r7, r0
	mov	r0, r4
	bl	get_frame_extra_info
	mov	r1, r7
	mov	r6, r0
	mov	r0, sp
	bl	extract_unsigned_integer
	str	r0, [r6]
	b	.L7
.L13:
	sub	r1, fp, #28
	mov	r0, r4
	bl	frame_get_saved_regs
	ldr	r1, [fp, #-28]
	cmp	r1, #0
	bge	.L5
.L14:
	mov	r0, r4
	bl	get_frame_extra_info
	mov	r5, r0
	mov	r0, r4
	bl	get_frame_base
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5]
	bl	get_frame_extra_info
	ldr	r0, [r0]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	MAX_REGISTER_SIZE
	.size	frame_initial_stack_address, .-frame_initial_stack_address
	.comm	MAX_REGISTER_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
