	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc_analyze_prologue         ## -- Begin function sparc_analyze_prologue
	.p2align	4, 0x90
_sparc_analyze_prologue:                ## @sparc_analyze_prologue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_current_gdbarch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gdbarch_tdep
	movq	%r12, %rbx
	subq	%r15, %rbx
	jle	LBB0_20
## %bb.1:
	movq	%rax, %r13
	cmpq	$0, (%rax)
	jle	LBB0_7
## %bb.2:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_in_plt_section
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	(%r13), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_6
LBB0_5:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_6:
	subq	%rdx, %r12
	movq	%r12, %r15
LBB0_7:
	movq	%r15, %rdi
	callq	_sparc_fetch_instruction
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_X_OP
	movl	$-1, %r12d
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_X_OP2
	cmpl	$4, %eax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_X_RD
	movl	%eax, %r12d
	leaq	4(%r15), %rdi
	callq	_sparc_fetch_instruction
	movq	%rax, %rbx
	movl	$4, %r13d
LBB0_10:
	movq	%rbx, %rdi
	callq	_X_OP
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.11:
	movq	%rbx, %rdi
	callq	_X_I
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	%rbx, %rdi
	callq	_X_RD
	cmpl	$1, %eax
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_X_RD
	cmpl	%r12d, %eax
	jne	LBB0_15
LBB0_14:
	addl	$4, %r13d
	leaq	8(%r15), %rdi
	callq	_sparc_fetch_instruction
	movq	%rax, %rbx
LBB0_15:
	movq	%rbx, %rdi
	callq	_X_OP
	cmpl	$2, %eax
	jne	LBB0_19
## %bb.16:
	movq	%rbx, %rdi
	callq	_X_OP3
	cmpl	$60, %eax
	jne	LBB0_19
## %bb.17:
	movq	$0, (%r14)
	movl	%r13d, %eax
	leaq	(%r15,%rax), %r12
	addq	$4, %r12
	jmp	LBB0_20
LBB0_19:
	movq	%r15, %r12
LBB0_20:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc_analyze_prologue         ; -- Begin function sparc_analyze_prologue
	.p2align	2
_sparc_analyze_prologue:                ; @sparc_analyze_prologue
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _current_gdbarch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_gdbarch_tdep
	subs	x23, x21, x20
	b.le	LBB0_17
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x21
	mov	x1, #0
	bl	_in_plt_section
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x22]
	sdiv	x9, x23, x8
	neg	x10, x23
	madd	x8, x9, x8, x10
	add	x20, x21, x8
LBB0_4:
	mov	x0, x20
	bl	_sparc_fetch_instruction
	mov	x21, x0
	bl	_X_OP
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_X_OP2
	cmp	w0, #4
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_X_RD
	mov	x22, x0
	add	x0, x20, #4
	bl	_sparc_fetch_instruction
	mov	x21, x0
	mov	w23, #4
	b	LBB0_8
LBB0_7:
	mov	w23, #0
	mov	w22, #-1
LBB0_8:
	mov	x0, x21
	bl	_X_OP
	cmp	w0, #2
	b.ne	LBB0_13
; %bb.9:
	mov	x0, x21
	bl	_X_I
	cbz	x0, LBB0_13
; %bb.10:
	mov	x0, x21
	bl	_X_RD
	cmp	w0, #1
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_X_RD
	cmp	w0, w22
	b.ne	LBB0_13
LBB0_12:
	add	w23, w23, #4
	add	x0, x20, #8
	bl	_sparc_fetch_instruction
	mov	x21, x0
LBB0_13:
	mov	x0, x21
	bl	_X_OP
	cmp	w0, #2
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x21
	bl	_X_OP3
	cmp	w0, #60
	b.ne	LBB0_16
; %bb.15:
	str	xzr, [x19]
	add	x8, x20, w23, uxtw
	add	x21, x8, #4
	b	LBB0_17
LBB0_16:
	mov	x21, x20
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
.subsections_via_symbols
