	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psh_dimension_quantize_len
_psh_dimension_quantize_len:            ## @psh_dimension_quantize_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	%rdi, %rax
	movl	$64, %edi
	cmpl	$65, %esi
	jl	LBB0_8
## %bb.1:
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%esi, %ecx
	subl	%eax, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovsl	%ecx, %edx
	cmpl	$49, %eax
	movl	$48, %edi
	cmovgel	%eax, %edi
	cmpl	$40, %edx
	cmovael	%esi, %edi
	cmpl	$191, %edi
	ja	LBB0_6
## %bb.2:
	movl	%edi, %ecx
	andl	$63, %ecx
	cmpl	$10, %ecx
	jb	LBB0_8
## %bb.3:
	movl	%edi, %eax
	andl	$-64, %eax
	cmpl	$31, %ecx
	ja	LBB0_5
## %bb.4:
	orl	$10, %eax
	jmp	LBB0_7
LBB0_6:
	callq	_FT_PIX_ROUND
LBB0_7:
	movl	%eax, %edi
LBB0_8:
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_FT_PIX_ROUND                   ## TAILCALL
LBB0_5:
	orl	$54, %eax
	cmpl	$54, %ecx
	cmovbl	%eax, %edi
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_9:
	movl	%edi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_psh_dimension_quantize_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psh_dimension_quantize_len
_psh_dimension_quantize_len:            ; @psh_dimension_quantize_len
	.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, x2
	cmp	w1, #65
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #64
	cbnz	x19, LBB0_8
	b	LBB0_10
LBB0_2:
	ldr	x8, [x0]
	ldr	w8, [x8]
	subs	w9, w1, w8
	cneg	w9, w9, mi
	mov	w10, #48
	cmp	w8, #48
	csel	w8, w8, w10, gt
	cmp	w9, #40
	csel	w0, w8, w1, lo
	cmp	w0, #191
	b.hi	LBB0_6
; %bb.3:
	and	w8, w0, #0x3f
	cmp	w8, #10
	b.lo	LBB0_7
; %bb.4:
	and	w9, w0, #0xffffffc0
	cmp	w8, #31
	b.hi	LBB0_9
; %bb.5:
	mov	w8, #10
	orr	w0, w9, w8
	cbnz	x19, LBB0_8
	b	LBB0_10
LBB0_6:
	bl	_FT_PIX_ROUND
LBB0_7:
	cbz	x19, LBB0_10
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FT_PIX_ROUND
LBB0_9:
	mov	w10, #54
	orr	w9, w9, w10
	cmp	w8, #54
	csel	w0, w9, w0, lo
	cbnz	x19, LBB0_8
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_psh_dimension_quantize_len
.subsections_via_symbols
