	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s390_backchain_frame_unwind_cache
_s390_backchain_frame_unwind_cache:     ## @s390_backchain_frame_unwind_cache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	callq	_get_frame_arch
	movq	%rax, %rdi
	callq	_gdbarch_ptr_bit
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	movq	_S390_SP_REGNUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_frame_unwind_register_unsigned
	movl	%eax, %r12d
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_read_memory_unsigned_integer
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r13
	leal	(%rbx,%rbx,4), %eax
	leal	(%rax,%rax,2), %eax
	movslq	%eax, %r14
	addq	%r13, %r14
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_safe_read_memory_integer
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	%r13, -56(%rbp)
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rax
	movq	_S390_SP_REGNUM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r14, (%rax,%rcx,8)
	movl	%ebx, %ecx
	shll	$4, %ecx
	movslq	%ecx, %r8
	subl	%ebx, %ecx
	subl	%ebx, %ecx
	movslq	%ecx, %rcx
	addq	%r13, %rcx
	movq	_S390_RETADDR_REGNUM@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
	movq	%rcx, (%rax,%rdi,8)
	movq	_S390_PC_REGNUM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rsi), %rsi
	movq	(%rax,%rsi,8), %rsi
	movq	%rsi, (%rax,%rcx,8)
	leaq	(%r8,%r13), %rax
	addq	$32, %rax
	movq	%rax, 8(%rdx)
	movl	%r12d, 4(%rdx)
LBB0_4:
	movq	%r15, %rdi
	callq	_frame_pc_unwind
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S390_SP_REGNUM,8,3             ## @S390_SP_REGNUM
	.comm	_S390_RETADDR_REGNUM,8,3        ## @S390_RETADDR_REGNUM
	.comm	_S390_PC_REGNUM,8,3             ## @S390_PC_REGNUM
	.no_dead_strip	_s390_backchain_frame_unwind_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s390_backchain_frame_unwind_cache
_s390_backchain_frame_unwind_cache:     ; @s390_backchain_frame_unwind_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_get_frame_arch
	bl	_gdbarch_ptr_bit
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w22, w8, #3
Lloh0:
	adrp	x25, _S390_SP_REGNUM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _S390_SP_REGNUM@GOTPAGEOFF]
	ldr	x1, [x25]
	mov	x0, x20
	bl	_frame_unwind_register_unsigned
	mov	x21, x0
	mov	x1, x22
	bl	_read_memory_unsigned_integer
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	lsl	w26, w22, #4
	sub	w8, w26, w22
	add	x24, x0, w8, sxtw
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x22
	bl	_safe_read_memory_integer
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, x23, #0, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x9, [x25]
	str	x24, [x8, x9, lsl #3]
	mov	w9, #14
	mul	w9, w22, w9
	add	x9, x23, w9, sxtw
Lloh2:
	adrp	x10, _S390_RETADDR_REGNUM@GOTPAGE
Lloh3:
	ldr	x10, [x10, _S390_RETADDR_REGNUM@GOTPAGEOFF]
	ldr	x11, [x10]
	str	x9, [x8, x11, lsl #3]
Lloh4:
	adrp	x9, _S390_PC_REGNUM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _S390_PC_REGNUM@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x10, [x10]
	ldr	x10, [x8, x10, lsl #3]
	str	x10, [x8, x9, lsl #3]
	add	x8, x23, w26, sxtw
	add	x8, x8, #32
	str	x8, [x19, #8]
	str	w21, [x19, #4]
LBB0_3:
	mov	x0, x20
	bl	_frame_pc_unwind
	str	w0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_S390_SP_REGNUM,8,3             ; @S390_SP_REGNUM
	.comm	_S390_RETADDR_REGNUM,8,3        ; @S390_RETADDR_REGNUM
	.comm	_S390_PC_REGNUM,8,3             ; @S390_PC_REGNUM
	.no_dead_strip	_s390_backchain_frame_unwind_cache
.subsections_via_symbols
