	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fill_gregset                   ## -- Begin function fill_gregset
	.p2align	4, 0x90
_fill_gregset:                          ## @fill_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_ARM_A1_REGNUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_ARM_SP_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	%edi, %ebx
	jge	LBB0_6
## %bb.1:
	movslq	%r15d, %r13
	leaq	(,%rbx,4), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rsi
	addq	%r12, %rsi
	movl	%ebx, %edi
	callq	_regcache_collect
	movq	_ARM_SP_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%edi, %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r15d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, %r13
	jne	LBB0_5
	jmp	LBB0_4
LBB0_6:
	cmpl	$-1, %r15d
	je	LBB0_8
## %bb.7:
	cmpl	%r15d, %edi
	jne	LBB0_9
LBB0_8:
	leaq	12(%r14), %rsi
	callq	_regcache_collect
LBB0_9:
	movq	_ARM_LR_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$-1, %r15d
	je	LBB0_11
## %bb.10:
	cmpl	%r15d, %edi
	jne	LBB0_12
LBB0_11:
	leaq	8(%r14), %rsi
	callq	_regcache_collect
LBB0_12:
	movq	_ARM_PC_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$-1, %r15d
	je	LBB0_14
## %bb.13:
	cmpl	%r15d, %edi
	jne	LBB0_15
LBB0_14:
	leaq	4(%r14), %rsi
	callq	_regcache_collect
LBB0_15:
	movq	_ARM_PS_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$-1, %r15d
	je	LBB0_18
## %bb.16:
	cmpl	%r15d, %edi
	je	LBB0_18
## %bb.17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regcache_collect               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_A1_REGNUM,4,2              ## @ARM_A1_REGNUM
	.comm	_ARM_SP_REGNUM,4,2              ## @ARM_SP_REGNUM
	.comm	_ARM_LR_REGNUM,4,2              ## @ARM_LR_REGNUM
	.comm	_ARM_PC_REGNUM,4,2              ## @ARM_PC_REGNUM
	.comm	_ARM_PS_REGNUM,4,2              ## @ARM_PS_REGNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fill_gregset                   ; -- Begin function fill_gregset
	.p2align	2
_fill_gregset:                          ; @fill_gregset
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ARM_A1_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARM_A1_REGNUM@GOTPAGEOFF]
Lloh2:
	ldrsw	x21, [x8]
Lloh3:
	adrp	x22, _ARM_SP_REGNUM@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ARM_SP_REGNUM@GOTPAGEOFF]
	ldr	w0, [x22]
	cmp	w21, w0
	b.ge	LBB0_6
; %bb.1:
	sxtw	x23, w20
	lsl	x24, x21, #2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	add	x1, x8, x24
	mov	x0, x21
	bl	_regcache_collect
	ldr	w0, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	add	x24, x24, #4
	cmp	x21, w0, sxtw
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmn	w20, #1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x21
	b.ne	LBB0_3
	b	LBB0_2
LBB0_6:
	cmn	w20, #1
	b.eq	LBB0_8
; %bb.7:
	cmp	w0, w20
	b.ne	LBB0_9
LBB0_8:
	add	x1, x19, #12
	bl	_regcache_collect
LBB0_9:
Lloh5:
	adrp	x8, _ARM_LR_REGNUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARM_LR_REGNUM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	cmn	w20, #1
	b.eq	LBB0_11
; %bb.10:
	cmp	w0, w20
	b.ne	LBB0_12
LBB0_11:
	add	x1, x19, #8
	bl	_regcache_collect
LBB0_12:
Lloh8:
	adrp	x8, _ARM_PC_REGNUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARM_PC_REGNUM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	cmn	w20, #1
	b.eq	LBB0_14
; %bb.13:
	cmp	w0, w20
	b.ne	LBB0_15
LBB0_14:
	add	x1, x19, #4
	bl	_regcache_collect
LBB0_15:
Lloh11:
	adrp	x8, _ARM_PS_REGNUM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARM_PS_REGNUM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	cmn	w20, #1
	b.eq	LBB0_18
; %bb.16:
	cmp	w0, w20
	b.eq	LBB0_18
; %bb.17:
	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
LBB0_18:
	mov	x1, x19
	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
	b	_regcache_collect
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_A1_REGNUM,4,2              ; @ARM_A1_REGNUM
	.comm	_ARM_SP_REGNUM,4,2              ; @ARM_SP_REGNUM
	.comm	_ARM_LR_REGNUM,4,2              ; @ARM_LR_REGNUM
	.comm	_ARM_PC_REGNUM,4,2              ; @ARM_PC_REGNUM
	.comm	_ARM_PS_REGNUM,4,2              ; @ARM_PS_REGNUM
.subsections_via_symbols
