	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto4xx_fill_one_page
_crypto4xx_fill_one_page:               ## @crypto4xx_fill_one_page
	.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	%r8, %r12
	movq	%rcx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	cmpl	%r14d, (%rdx)
	jle	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r14
	callq	_phys_to_virt
	movslq	(%r13), %rcx
	movslq	(%rbx), %rdx
	imulq	%rdx, %rcx
	addq	8(%rbx), %rcx
	movslq	(%r12), %rsi
	addq	%rcx, %rsi
	movl	%eax, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	$0, (%r12)
	movl	(%rbx), %eax
	subl	%eax, (%r14)
	movl	(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subl	%eax, (%rcx)
	movl	(%r13), %eax
	movq	_PPC4XX_LAST_SD@GOTPCREL(%rip), %rcx
	leal	1(%rax), %edx
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	cmovnel	%edx, %esi
	movl	%esi, (%r13)
	movslq	(%rbx), %rax
	addq	%rax, (%r15)
	movl	$1, %eax
	jmp	LBB0_8
LBB0_2:
	jge	LBB0_7
## %bb.3:
	movq	(%r15), %rdi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r15
	callq	_phys_to_virt
	movslq	(%r13), %rcx
	movslq	(%rbx), %rdx
	imulq	%rcx, %rdx
	addq	8(%rbx), %rdx
	movslq	(%r12), %rsi
	addq	%rdx, %rsi
	movl	(%r15), %edx
	movl	%eax, %edi
	callq	_memcpy
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	(%r15), %eax
	movl	(%r12), %ecx
	addl	%eax, %ecx
	cmpl	(%rbx), %ecx
	jne	LBB0_5
## %bb.4:
	movl	(%r13), %ecx
	movq	_PPC4XX_LAST_SD@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	leal	1(%rcx), %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%r13)
	movl	(%r15), %ecx
	subl	%ecx, (%rsi)
	jmp	LBB0_6
LBB0_7:
	movl	(%r9), %eax
	cmpl	%r14d, %eax
	cmovll	%eax, %r14d
	movq	(%r15), %rdi
	movq	%r9, %r15
	callq	_phys_to_virt
	movslq	(%r13), %rcx
	movslq	(%rbx), %rdx
	imulq	%rcx, %rdx
	addq	8(%rbx), %rdx
	movslq	(%r12), %rsi
	addq	%rdx, %rsi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_memcpy
	movl	$0, (%r12)
	subl	%r14d, (%r15)
	movl	(%r13), %ecx
	movq	_PPC4XX_LAST_SD@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	leal	1(%rcx), %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%r13)
	jmp	LBB0_8
LBB0_5:
	subl	%eax, (%rsi)
	movl	(%r12), %eax
	addl	(%r15), %eax
LBB0_6:
	movl	%eax, (%r12)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPC4XX_LAST_SD,4,2             ## @PPC4XX_LAST_SD
	.no_dead_strip	_crypto4xx_fill_one_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto4xx_fill_one_page
_crypto4xx_fill_one_page:               ; @crypto4xx_fill_one_page
	.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, x5
	mov	x21, x4
	mov	x19, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
	ldr	w9, [x2]
	ldr	w8, [x0]
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
	ldr	x0, [x24]
	bl	_phys_to_virt
	ldr	x8, [x22, #8]
	ldrsw	x9, [x19]
	ldrsw	x2, [x22]
	madd	x8, x2, x9, x8
	ldrsw	x9, [x21]
	add	x1, x8, x9
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	str	wzr, [x21]
	ldr	w8, [x22]
	ldr	w9, [x23]
	sub	w8, w9, w8
	str	w8, [x23]
	ldr	w8, [x22]
	ldr	w9, [x20]
	sub	w8, w9, w8
	str	w8, [x20]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _PPC4XX_LAST_SD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PPC4XX_LAST_SD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	csinc	w8, wzr, w8, eq
	str	w8, [x19]
	ldr	x8, [x24]
	ldrsw	x9, [x22]
	add	x8, x8, x9
	str	x8, [x24]
	mov	w0, #1
	b	LBB0_8
LBB0_2:
	b.ge	LBB0_5
; %bb.3:
	ldr	x0, [x24]
	bl	_phys_to_virt
	ldr	x8, [x22, #8]
	ldrsw	x9, [x19]
	ldrsw	x10, [x22]
	madd	x8, x10, x9, x8
	ldrsw	x9, [x21]
	add	x1, x8, x9
	ldr	w2, [x23]
	bl	_memcpy
	ldr	w9, [x21]
	ldr	w8, [x23]
	ldr	w10, [x22]
	add	w9, w8, w9
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.4:
	mov	w8, #0
	ldr	w9, [x19]
Lloh3:
	adrp	x10, _PPC4XX_LAST_SD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PPC4XX_LAST_SD@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	csinc	w9, wzr, w9, eq
	str	w9, [x19]
	ldr	w9, [x23]
	ldr	w10, [x20]
	sub	w9, w10, w9
	str	w9, [x20]
	b	LBB0_7
LBB0_5:
	ldr	w9, [x20]
	cmp	w9, w8
	csel	w23, w9, w8, lt
	ldr	x0, [x24]
	bl	_phys_to_virt
	ldr	x8, [x22, #8]
	ldrsw	x9, [x19]
	ldrsw	x10, [x22]
	madd	x8, x10, x9, x8
	ldrsw	x9, [x21]
	add	x1, x8, x9
	mov	x2, x23
	bl	_memcpy
	mov	w0, #0
	str	wzr, [x21]
	ldr	w8, [x20]
	sub	w8, w8, w23
	str	w8, [x20]
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _PPC4XX_LAST_SD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PPC4XX_LAST_SD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	csinc	w8, wzr, w8, eq
	str	w8, [x19]
	b	LBB0_8
LBB0_6:
	ldr	w9, [x20]
	sub	w8, w9, w8
	str	w8, [x20]
	ldr	w8, [x23]
	ldr	w9, [x21]
	add	w8, w9, w8
LBB0_7:
	mov	w0, #0
	str	w8, [x21]
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PPC4XX_LAST_SD,4,2             ; @PPC4XX_LAST_SD
	.no_dead_strip	_crypto4xx_fill_one_page
.subsections_via_symbols
