	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ia64_fbsd_regcache_supply
_ia64_fbsd_regcache_supply:             ## @ia64_fbsd_regcache_supply
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testl	%esi, %esi
	js	LBB0_4
## %bb.1:
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_4
## %bb.2:
	movq	_reg_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%esi, %eax
	movslq	(%rcx,%rax,4), %r8
	movq	_IA64_BSP_REGNUM@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_IA64_BSPSTORE_REGNUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rcx,%rax,4), %rax
	movb	(%rdx,%rax), %al
	addb	(%rdx,%r8), %al
	movb	%al, -1(%rbp)
	leaq	-1(%rbp), %rdx
	callq	_regcache_raw_supply
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_5:
	testl	%r8d, %r8d
	js	LBB0_6
## %bb.8:
	movl	%r8d, %eax
	addq	%rax, %rdx
	jmp	LBB0_7
LBB0_6:
	xorl	%edx, %edx
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	jmp	_regcache_raw_supply            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_reg_offset,8,3                 ## @reg_offset
	.comm	_IA64_BSP_REGNUM,4,2            ## @IA64_BSP_REGNUM
	.comm	_IA64_BSPSTORE_REGNUM,8,3       ## @IA64_BSPSTORE_REGNUM
	.no_dead_strip	_ia64_fbsd_regcache_supply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ia64_fbsd_regcache_supply
_ia64_fbsd_regcache_supply:             ; @ia64_fbsd_regcache_supply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	tbnz	w1, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _reg_offset@GOTPAGE
Lloh4:
	ldr	x8, [x8, _reg_offset@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	ldrsw	x8, [x9, w1, uxtw #2]
Lloh6:
	adrp	x10, _IA64_BSP_REGNUM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IA64_BSP_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w10, w1
	b.ne	LBB0_5
; %bb.3:
	ldrb	w8, [x2, x8]
Lloh9:
	adrp	x10, _IA64_BSPSTORE_REGNUM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IA64_BSPSTORE_REGNUM@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	ldrsw	x9, [x9, x10, lsl #2]
	ldrb	w9, [x2, x9]
	add	w8, w9, w8
	sturb	w8, [x29, #-1]
	sub	x2, x29, #1
	bl	_regcache_raw_supply
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
	tbnz	w8, #31, LBB0_7
; %bb.6:
	add	x2, x2, w8, uxtw
	b	LBB0_8
LBB0_7:
	mov	x2, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_regcache_raw_supply
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_reg_offset,8,3                 ; @reg_offset
	.comm	_IA64_BSP_REGNUM,4,2            ; @IA64_BSP_REGNUM
	.comm	_IA64_BSPSTORE_REGNUM,8,3       ; @IA64_BSPSTORE_REGNUM
	.no_dead_strip	_ia64_fbsd_regcache_supply
.subsections_via_symbols
