	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_last_reg_element_no_in_line ## -- Begin function tui_last_reg_element_no_in_line
	.p2align	4, 0x90
_tui_last_reg_element_no_in_line:       ## @tui_last_reg_element_no_in_line
	.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
	movq	_TUI_DATA_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	leal	1(%rdi), %edx
	imull	%ecx, %edx
	imull	%edi, %ecx
	decl	%edx
	cmpl	4(%rax), %ecx
	movl	$-1, %eax
	cmovlel	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUI_DATA_WIN,8,3               ## @TUI_DATA_WIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_last_reg_element_no_in_line ; -- Begin function tui_last_reg_element_no_in_line
	.p2align	2
_tui_last_reg_element_no_in_line:       ; @tui_last_reg_element_no_in_line
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TUI_DATA_WIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TUI_DATA_WIN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	mul	w10, w9, w0
	add	w9, w9, w10
	sub	w9, w9, #1
	cmp	w10, w8
	csinv	w0, w9, wzr, le
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TUI_DATA_WIN,8,3               ; @TUI_DATA_WIN
.subsections_via_symbols
