	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sz_psz_quantize_ceil           ## -- Begin function sz_psz_quantize_ceil
	.p2align	4, 0x90
_sz_psz_quantize_ceil:                  ## @sz_psz_quantize_ceil
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	_sz_large_pad@GOTPCREL(%rip), %r14
	movq	%rbx, %rax
	subq	(%r14), %rax
	movq	_SC_LARGE_MAXCLASS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setbe	%dil
	callq	_assert
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movq	(%rax), %rax
	andq	%rbx, %rax
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_sz_psz_quantize_floor
	cmpq	%rbx, %rax
	jae	LBB0_2
## %bb.1:
	movq	(%r14), %rcx
	subq	%rcx, %rax
	incq	%rax
	movq	%rax, %rdi
	callq	_sz_psz2ind
	movl	%eax, %edi
	callq	_sz_pind2sz
	addq	(%r14), %rax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sz_large_pad,8,3               ## @sz_large_pad
	.comm	_SC_LARGE_MAXCLASS,8,3          ## @SC_LARGE_MAXCLASS
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sz_psz_quantize_ceil           ; -- Begin function sz_psz_quantize_ceil
	.p2align	2
_sz_psz_quantize_ceil:                  ; @sz_psz_quantize_ceil
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x20, _sz_large_pad@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sz_large_pad@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _SC_LARGE_MAXCLASS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SC_LARGE_MAXCLASS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sub	x8, x19, x8
	cmp	x8, x9
	cset	w0, ls
	bl	_assert
Lloh5:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	tst	x8, x19
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_sz_psz_quantize_floor
	cmp	x0, x19
	b.hs	LBB0_2
; %bb.1:
	ldr	x8, [x20]
	sub	x8, x0, x8
	add	x0, x8, #1
	bl	_sz_psz2ind
	bl	_sz_pind2sz
	ldr	x8, [x20]
	add	x0, x8, x0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sz_large_pad,8,3               ; @sz_large_pad
	.comm	_SC_LARGE_MAXCLASS,8,3          ; @SC_LARGE_MAXCLASS
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
.subsections_via_symbols
