	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc32_supply_gregset         ## -- Begin function sparc32_supply_gregset
	.p2align	4, 0x90
_sparc32_supply_gregset:                ## @sparc32_supply_gregset
	.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	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_SPARC32_PSR_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$-1, %edx
	je	LBB0_2
## %bb.1:
	cmpl	%r13d, %esi
	jne	LBB0_3
LBB0_2:
	movslq	(%r12), %rdx
	addq	%r15, %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_supply
LBB0_3:
	movq	_SPARC32_PC_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$-1, %r13d
	je	LBB0_5
## %bb.4:
	cmpl	%r13d, %esi
	jne	LBB0_6
LBB0_5:
	movslq	4(%r12), %rdx
	addq	%r15, %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_supply
LBB0_6:
	movq	_SPARC32_NPC_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$-1, %r13d
	je	LBB0_8
## %bb.7:
	cmpl	%r13d, %esi
	jne	LBB0_9
LBB0_8:
	movslq	8(%r12), %rdx
	addq	%r15, %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_supply
LBB0_9:
	movq	_SPARC32_Y_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$-1, %r13d
	je	LBB0_11
## %bb.10:
	cmpl	%r13d, %esi
	jne	LBB0_12
LBB0_11:
	movslq	12(%r12), %rdx
	addq	%r15, %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_supply
LBB0_12:
	movq	_SPARC_G0_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$-1, %r13d
	je	LBB0_14
## %bb.13:
	cmpl	%r13d, %esi
	jne	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_regcache_raw_supply
LBB0_15:
	movq	_SPARC_G1_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r13d, %ebx
	jle	LBB0_16
## %bb.18:
	cmpl	$-1, %r13d
	je	LBB0_19
## %bb.28:
	movq	_SPARC_L0_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r13d, %ebx
	jg	LBB0_39
## %bb.29:
	cmpl	$-1, %r13d
	jne	LBB0_30
	jmp	LBB0_32
LBB0_16:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_SPARC_O7_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %r13d
	je	LBB0_20
## %bb.17:
	cmpl	%r13d, %eax
	jl	LBB0_26
LBB0_20:
	cmpl	%eax, %ebx
	jg	LBB0_26
	jmp	LBB0_21
LBB0_19:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_SPARC_O7_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_21
LBB0_26:
	movq	_SPARC_L0_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r13d, %ebx
	jle	LBB0_27
## %bb.31:
	cmpl	$-1, %r13d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_39
	jmp	LBB0_32
LBB0_27:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	cmpl	$-1, %r13d
	je	LBB0_32
LBB0_30:
	movq	_SPARC_I7_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jl	LBB0_39
LBB0_32:
	movslq	20(%r12), %rcx
	cmpq	$-1, %rcx
	je	LBB0_40
## %bb.33:
	movq	_SPARC_I7_REGNUM@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	%eax, %ebx
	jg	LBB0_39
## %bb.34:
	addq	%rcx, %r15
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_regcache_raw_supply
	movl	(%r12), %eax
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=1
	leal	1(%rbx), %ecx
	addq	$4, %r15
	cmpl	%eax, %ebx
	movl	%ecx, %ebx
	jge	LBB0_39
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r13d
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpl	%ebx, %r13d
	jne	LBB0_38
	jmp	LBB0_37
LBB0_21:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	16(%rcx), %r12
	addq	%r15, %r12
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_regcache_raw_supply
	movq	_SPARC_O7_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=1
	leal	1(%rbx), %ecx
	addq	$4, %r12
	cmpl	%eax, %ebx
	movl	%ecx, %ebx
	jge	LBB0_26
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r13d
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	%ebx, %r13d
	jne	LBB0_25
	jmp	LBB0_24
LBB0_40:
	movq	_SPARC_SP_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	callq	_regcache_cooked_read_unsigned
	movl	-52(%rbp), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_sparc_supply_rwindow
LBB0_39:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPARC32_PSR_REGNUM,4,2         ## @SPARC32_PSR_REGNUM
	.comm	_SPARC32_PC_REGNUM,4,2          ## @SPARC32_PC_REGNUM
	.comm	_SPARC32_NPC_REGNUM,4,2         ## @SPARC32_NPC_REGNUM
	.comm	_SPARC32_Y_REGNUM,4,2           ## @SPARC32_Y_REGNUM
	.comm	_SPARC_G0_REGNUM,4,2            ## @SPARC_G0_REGNUM
	.comm	_SPARC_G1_REGNUM,4,2            ## @SPARC_G1_REGNUM
	.comm	_SPARC_O7_REGNUM,4,2            ## @SPARC_O7_REGNUM
	.comm	_SPARC_L0_REGNUM,4,2            ## @SPARC_L0_REGNUM
	.comm	_SPARC_I7_REGNUM,4,2            ## @SPARC_I7_REGNUM
	.comm	_SPARC_SP_REGNUM,4,2            ## @SPARC_SP_REGNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc32_supply_gregset         ; -- Begin function sparc32_supply_gregset
	.p2align	2
_sparc32_supply_gregset:                ; @sparc32_supply_gregset
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _SPARC32_PSR_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPARC32_PSR_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	cmn	w2, #1
	b.eq	LBB0_2
; %bb.1:
	cmp	w1, w19
	b.ne	LBB0_3
LBB0_2:
	ldrsw	x8, [x22]
	add	x2, x21, x8
	mov	x0, x20
	bl	_regcache_raw_supply
LBB0_3:
Lloh3:
	adrp	x8, _SPARC32_PC_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPARC32_PC_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cmn	w19, #1
	b.eq	LBB0_5
; %bb.4:
	cmp	w1, w19
	b.ne	LBB0_6
LBB0_5:
	ldrsw	x8, [x22, #4]
	add	x2, x21, x8
	mov	x0, x20
	bl	_regcache_raw_supply
LBB0_6:
Lloh6:
	adrp	x8, _SPARC32_NPC_REGNUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPARC32_NPC_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cmn	w19, #1
	b.eq	LBB0_8
; %bb.7:
	cmp	w1, w19
	b.ne	LBB0_9
LBB0_8:
	ldrsw	x8, [x22, #8]
	add	x2, x21, x8
	mov	x0, x20
	bl	_regcache_raw_supply
LBB0_9:
Lloh9:
	adrp	x8, _SPARC32_Y_REGNUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SPARC32_Y_REGNUM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	cmn	w19, #1
	b.eq	LBB0_11
; %bb.10:
	cmp	w1, w19
	b.ne	LBB0_12
LBB0_11:
	ldrsw	x8, [x22, #12]
	add	x2, x21, x8
	mov	x0, x20
	bl	_regcache_raw_supply
LBB0_12:
Lloh12:
	adrp	x8, _SPARC_G0_REGNUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SPARC_G0_REGNUM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	cmn	w19, #1
	b.eq	LBB0_14
; %bb.13:
	cmp	w1, w19
	b.ne	LBB0_15
LBB0_14:
	mov	x0, x20
	mov	x2, #0
	bl	_regcache_raw_supply
LBB0_15:
Lloh15:
	adrp	x8, _SPARC_G1_REGNUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SPARC_G1_REGNUM@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	cmp	w23, w19
	b.le	LBB0_18
; %bb.16:
	cmn	w19, #1
	b.eq	LBB0_21
; %bb.17:
Lloh18:
	adrp	x8, _SPARC_L0_REGNUM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SPARC_L0_REGNUM@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
	cmp	w23, w19
	b.le	LBB0_24
	b	LBB0_39
LBB0_18:
Lloh21:
	adrp	x8, _SPARC_O7_REGNUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SPARC_O7_REGNUM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmn	w19, #1
	b.eq	LBB0_20
; %bb.19:
	cmp	w8, w19
	b.lt	LBB0_22
LBB0_20:
	cmp	w23, w8
	b.gt	LBB0_22
	b	LBB0_33
LBB0_21:
Lloh24:
	adrp	x8, _SPARC_O7_REGNUM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SPARC_O7_REGNUM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w23, w8
	b.le	LBB0_33
LBB0_22:
Lloh27:
	adrp	x8, _SPARC_L0_REGNUM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SPARC_L0_REGNUM@GOTPAGEOFF]
Lloh29:
	ldr	w23, [x8]
	cmp	w23, w19
	b.le	LBB0_24
; %bb.23:
	cmn	w19, #1
	b.ne	LBB0_39
	b	LBB0_26
LBB0_24:
	cmn	w19, #1
	b.eq	LBB0_26
; %bb.25:
Lloh30:
	adrp	x8, _SPARC_I7_REGNUM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SPARC_I7_REGNUM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w8, w19
	b.lt	LBB0_39
LBB0_26:
	ldrsw	x9, [x22, #20]
	cmn	w9, #1
	b.eq	LBB0_38
; %bb.27:
Lloh33:
	adrp	x22, _SPARC_I7_REGNUM@GOTPAGE
Lloh34:
	ldr	x22, [x22, _SPARC_I7_REGNUM@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w23, w8
	b.gt	LBB0_39
; %bb.28:
	add	x21, x21, x9
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	bl	_regcache_raw_supply
	ldr	w8, [x22]
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	w9, w23, #1
	add	x21, x21, #4
	cmp	w23, w8
	mov	x23, x9
	b.ge	LBB0_39
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	cmn	w19, #1
	b.eq	LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	cmp	w19, w23
	b.ne	LBB0_30
	b	LBB0_29
LBB0_33:
	ldrsw	x9, [x22, #16]
	add	x24, x21, x9
Lloh35:
	adrp	x25, _SPARC_O7_REGNUM@GOTPAGE
Lloh36:
	ldr	x25, [x25, _SPARC_O7_REGNUM@GOTPAGEOFF]
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_regcache_raw_supply
	ldr	w8, [x25]
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	w9, w23, #1
	add	x24, x24, #4
	cmp	w23, w8
	mov	x23, x9
	b.ge	LBB0_22
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	cmn	w19, #1
	b.eq	LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	cmp	w19, w23
	b.ne	LBB0_35
	b	LBB0_34
LBB0_38:
Lloh37:
	adrp	x8, _SPARC_SP_REGNUM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SPARC_SP_REGNUM@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_regcache_cooked_read_unsigned
	ldr	w1, [sp, #12]
	mov	x0, x20
	mov	x2, x19
	bl	_sparc_supply_rwindow
LBB0_39:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_SPARC32_PSR_REGNUM,4,2         ; @SPARC32_PSR_REGNUM
	.comm	_SPARC32_PC_REGNUM,4,2          ; @SPARC32_PC_REGNUM
	.comm	_SPARC32_NPC_REGNUM,4,2         ; @SPARC32_NPC_REGNUM
	.comm	_SPARC32_Y_REGNUM,4,2           ; @SPARC32_Y_REGNUM
	.comm	_SPARC_G0_REGNUM,4,2            ; @SPARC_G0_REGNUM
	.comm	_SPARC_G1_REGNUM,4,2            ; @SPARC_G1_REGNUM
	.comm	_SPARC_O7_REGNUM,4,2            ; @SPARC_O7_REGNUM
	.comm	_SPARC_L0_REGNUM,4,2            ; @SPARC_L0_REGNUM
	.comm	_SPARC_I7_REGNUM,4,2            ; @SPARC_I7_REGNUM
	.comm	_SPARC_SP_REGNUM,4,2            ; @SPARC_SP_REGNUM
.subsections_via_symbols
