	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppcfbsd_fill_reg               ## -- Begin function ppcfbsd_fill_reg
	.p2align	4, 0x90
_ppcfbsd_fill_reg:                      ## @ppcfbsd_fill_reg
	.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, %r12d
	movq	%rdi, %r14
	movq	_current_gdbarch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gdbarch_tdep
	movq	%rax, %r15
	movl	(%rax), %ebx
	movl	4(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_1
LBB0_5:
	movl	8(%r15), %esi
	cmpl	$-1, %r12d
	je	LBB0_7
## %bb.6:
	cmpl	%r12d, %esi
	jne	LBB0_8
LBB0_7:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_LR_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	%r14, %rdx
	callq	_regcache_raw_collect
LBB0_8:
	movl	12(%r15), %esi
	cmpl	$-1, %r12d
	je	LBB0_10
## %bb.9:
	cmpl	%r12d, %esi
	jne	LBB0_11
LBB0_10:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_CR_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	%r14, %rdx
	callq	_regcache_raw_collect
LBB0_11:
	movl	16(%r15), %esi
	cmpl	$-1, %r12d
	je	LBB0_13
## %bb.12:
	cmpl	%r12d, %esi
	jne	LBB0_14
LBB0_13:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_XER_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	%r14, %rdx
	callq	_regcache_raw_collect
LBB0_14:
	movl	20(%r15), %esi
	cmpl	$-1, %r12d
	je	LBB0_16
## %bb.15:
	cmpl	%r12d, %esi
	jne	LBB0_17
LBB0_16:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_CTR_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	%r14, %rdx
	callq	_regcache_raw_collect
LBB0_17:
	movq	_PC_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$-1, %r12d
	je	LBB0_20
## %bb.18:
	cmpl	%r12d, %esi
	je	LBB0_20
## %bb.19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, %edi
	subl	(%r15), %edi
	callq	_REG_FIXREG_OFFSET
	movslq	%eax, %rdx
	addq	%r14, %rdx
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_regcache_raw_collect
	movl	4(%r15), %eax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rbx), %ecx
	cmpl	%eax, %ebx
	movl	%ecx, %ebx
	jge	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r12d
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ebx, %r12d
	jne	LBB0_4
	jmp	LBB0_3
LBB0_20:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_PC_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %r14
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regcache_raw_collect           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_current_regcache,4,2           ## @current_regcache
	.comm	_REG_LR_OFFSET,4,2              ## @REG_LR_OFFSET
	.comm	_REG_CR_OFFSET,4,2              ## @REG_CR_OFFSET
	.comm	_REG_XER_OFFSET,4,2             ## @REG_XER_OFFSET
	.comm	_REG_CTR_OFFSET,4,2             ## @REG_CTR_OFFSET
	.comm	_PC_REGNUM,4,2                  ## @PC_REGNUM
	.comm	_REG_PC_OFFSET,4,2              ## @REG_PC_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppcfbsd_fill_reg               ; -- Begin function ppcfbsd_fill_reg
	.p2align	2
_ppcfbsd_fill_reg:                      ; @ppcfbsd_fill_reg
	.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, _current_gdbarch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_gdbarch_tdep
	mov	x21, x0
	ldp	w22, w8, [x0]
Lloh3:
	adrp	x24, _current_regcache@GOTPAGE
Lloh4:
	ldr	x24, [x24, _current_regcache@GOTPAGEOFF]
	cmp	w22, w8
	b.le	LBB0_18
LBB0_1:
	ldr	w1, [x21, #8]
	cmn	w20, #1
	b.eq	LBB0_3
; %bb.2:
	cmp	w1, w20
	b.ne	LBB0_4
LBB0_3:
	ldr	w0, [x24]
Lloh5:
	adrp	x8, _REG_LR_OFFSET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_LR_OFFSET@GOTPAGEOFF]
Lloh7:
	ldrsw	x8, [x8]
	add	x2, x19, x8
	bl	_regcache_raw_collect
LBB0_4:
	ldr	w1, [x21, #12]
	cmn	w20, #1
	b.eq	LBB0_6
; %bb.5:
	cmp	w1, w20
	b.ne	LBB0_7
LBB0_6:
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _REG_CR_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_CR_OFFSET@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	add	x2, x19, x8
	bl	_regcache_raw_collect
LBB0_7:
	ldr	w1, [x21, #16]
	cmn	w20, #1
	b.eq	LBB0_9
; %bb.8:
	cmp	w1, w20
	b.ne	LBB0_10
LBB0_9:
	ldr	w0, [x24]
Lloh11:
	adrp	x8, _REG_XER_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_XER_OFFSET@GOTPAGEOFF]
Lloh13:
	ldrsw	x8, [x8]
	add	x2, x19, x8
	bl	_regcache_raw_collect
LBB0_10:
	ldr	w1, [x21, #20]
	cmn	w20, #1
	b.eq	LBB0_12
; %bb.11:
	cmp	w1, w20
	b.ne	LBB0_13
LBB0_12:
	ldr	w0, [x24]
Lloh14:
	adrp	x8, _REG_CTR_OFFSET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_CTR_OFFSET@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	add	x2, x19, x8
	bl	_regcache_raw_collect
LBB0_13:
Lloh17:
	adrp	x8, _PC_REGNUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PC_REGNUM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	cmn	w20, #1
	b.eq	LBB0_20
; %bb.14:
	cmp	w1, w20
	b.eq	LBB0_20
; %bb.15:
	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_16:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w23, [x24]
	ldr	w8, [x21]
	sub	w0, w22, w8
	bl	_REG_FIXREG_OFFSET
	add	x2, x19, w0, sxtw
	mov	x0, x23
	mov	x1, x22
	bl	_regcache_raw_collect
	ldr	w8, [x21, #4]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w9, w22, #1
	cmp	w22, w8
	mov	x22, x9
	b.ge	LBB0_1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cmn	w20, #1
	b.eq	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w20, w22
	b.ne	LBB0_17
	b	LBB0_16
LBB0_20:
Lloh20:
	adrp	x8, _REG_PC_OFFSET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REG_PC_OFFSET@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh22:
	ldrsw	x8, [x8]
	add	x2, x19, x8
	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_raw_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
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_current_regcache,4,2           ; @current_regcache
	.comm	_REG_LR_OFFSET,4,2              ; @REG_LR_OFFSET
	.comm	_REG_CR_OFFSET,4,2              ; @REG_CR_OFFSET
	.comm	_REG_XER_OFFSET,4,2             ; @REG_XER_OFFSET
	.comm	_REG_CTR_OFFSET,4,2             ; @REG_CTR_OFFSET
	.comm	_PC_REGNUM,4,2                  ; @PC_REGNUM
	.comm	_REG_PC_OFFSET,4,2              ; @REG_PC_OFFSET
.subsections_via_symbols
