	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_width
_ps_width:                              ## @ps_width
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-32(%rsi), %eax
	movq	_MAXCHAR@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	cmovgel	%edx, %eax
	cmpl	$33, %esi
	cmovll	%edx, %eax
	movq	_fonts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_TERMFONT_NONE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	(%rcx,%rax,4), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXCHAR,4,2                    ## @MAXCHAR
	.comm	_fonts,8,3                      ## @fonts
	.comm	_TERMFONT_NONE,8,3              ## @TERMFONT_NONE
	.no_dead_strip	_ps_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_width
_ps_width:                              ; @ps_width
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAXCHAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXCHAR@GOTPAGEOFF]
	sub	w9, w1, #32
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	csel	w8, w9, wzr, lt
	cmp	w1, #33
	csel	w8, wzr, w8, lt
Lloh3:
	adrp	x9, _fonts@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fonts@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _TERMFONT_NONE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TERMFONT_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	sbfiz	x10, x10, #3, #32
	ldr	x9, [x9, x10]
	ldrsw	x0, [x9, w8, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXCHAR,4,2                    ; @MAXCHAR
	.comm	_fonts,8,3                      ; @fonts
	.comm	_TERMFONT_NONE,8,3              ; @TERMFONT_NONE
	.no_dead_strip	_ps_width
.subsections_via_symbols
