	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guestwidth_to_adjustwidth
_guestwidth_to_adjustwidth:             ## @guestwidth_to_adjustwidth
	.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 $edi killed $edi def $rdi
	leal	-12(%rdi), %eax
	cltq
	imulq	$954437177, %rax, %rax          ## imm = 0x38E38E39
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,8), %eax
	negl	%eax
	addl	%edi, %eax
	addl	$-12, %eax
	movl	%edi, %ecx
	subl	%eax, %ecx
	addl	$9, %ecx
	testl	%eax, %eax
	cmovel	%edi, %ecx
	cmpl	$64, %ecx
	movl	$64, %eax
	cmovll	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_guestwidth_to_adjustwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guestwidth_to_adjustwidth
_guestwidth_to_adjustwidth:             ; @guestwidth_to_adjustwidth
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #12
	mov	w9, #36409
	movk	w9, #14563, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	add	w9, w9, w9, lsl #3
	subs	w8, w8, w9
	sub	w8, w0, w8
	add	w8, w8, #9
	csel	w8, w0, w8, eq
	mov	w9, #64
	cmp	w8, #64
	csel	w0, w8, w9, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_guestwidth_to_adjustwidth
.subsections_via_symbols
