	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_display_reg_element_at_line ## -- Begin function tui_display_reg_element_at_line
	.p2align	4, 0x90
_tui_display_reg_element_at_line:       ## @tui_display_reg_element_at_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TUI_DATA_WIN@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	cmpq	$0, 8(%rax)
	jle	LBB0_8
## %bb.2:
	movl	%edi, %ebx
	testl	%edi, %edi
	je	LBB0_7
## %bb.3:
	movl	%esi, %r14d
	testl	%esi, %esi
	je	LBB0_7
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_tui_last_regs_line_no
                                        ## kill: def $eax killed $eax def $rax
	movq	(%r12), %rcx
	movl	24(%rcx), %edx
	negl	%edx
	addl	%edx, %eax
	addl	$2, %eax
	testl	%eax, %eax
	cmovgl	%eax, %r15d
	cmpq	$0, 16(%rcx)
	jg	LBB0_7
## %bb.5:
	cmpl	%r14d, %r15d
	jge	LBB0_7
## %bb.6:
	movl	%r15d, %edi
	callq	_tui_first_reg_element_no_inline
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tui_display_registers_from     ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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_display_reg_element_at_line ; -- Begin function tui_display_reg_element_at_line
	.p2align	2
_tui_display_reg_element_at_line:       ; @tui_display_reg_element_at_line
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x21, _TUI_DATA_WIN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TUI_DATA_WIN@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x19, x0
	cbz	w0, LBB0_6
; %bb.3:
	mov	x20, x1
	cbz	w1, LBB0_6
; %bb.4:
	bl	_tui_last_regs_line_no
	ldr	x8, [x21]
	ldr	w9, [x8, #24]
	sub	w9, w0, w9
	add	w9, w9, #2
	cmp	w9, #0
	csel	w0, w9, wzr, gt
	ldr	x8, [x8, #16]
	cmp	x8, #0
	ccmp	w0, w20, #0, le
	b.ge	LBB0_6
; %bb.5:
	bl	_tui_first_reg_element_no_inline
	mov	x19, x0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tui_display_registers_from
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TUI_DATA_WIN,8,3               ; @TUI_DATA_WIN
.subsections_via_symbols
