	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_position
_print_position:                        ## @print_position
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$-1, -40(%rbp)
	callq	_ftell_obj
	movq	%rax, %r15
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_tabize
	movq	%rax, %r12
	movq	-40(%rbp), %rsi
	jmp	LBB0_3
LBB0_2:
	movl	20(%rbx), %esi
	movq	(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_find_first
	movq	%rax, %rsi
	movq	%rax, -40(%rbp)
LBB0_3:
	subq	8(%rbx), %r15
	addq	%r12, %r15
	movl	16(%rbx), %r8d
	movq	_PAGE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_PAGE_LENGTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	incq	%rbx
	movq	_border_attr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%rax
	pushq	%rbx
	pushq	$0
	pushq	%r10
	callq	_dlg_draw_scrollbar
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_PAGE_WIDTH,4,2                 ## @PAGE_WIDTH
	.comm	_PAGE_LENGTH,8,3                ## @PAGE_LENGTH
	.comm	_border_attr,4,2                ## @border_attr
	.no_dead_strip	_print_position
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_position
_print_position:                        ; @print_position
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x8, #-1
	str	x8, [sp, #24]
	bl	_ftell_obj
	mov	x21, x0
Lloh0:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x1, [x20]
	add	x2, sp, #24
	mov	x0, x20
	bl	_tabize
	mov	x22, x0
	ldr	x1, [sp, #24]
	b	LBB0_3
LBB0_2:
	ldr	w1, [x20, #20]
	ldr	x22, [x20]
	mov	x0, x20
	mov	x2, x22
	bl	_find_first
	mov	x1, x0
	str	x0, [sp, #24]
LBB0_3:
	ldr	x8, [x20, #8]
	sub	x8, x21, x8
	add	x2, x8, x22
	ldr	w4, [x20, #16]
Lloh3:
	adrp	x8, _PAGE_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_WIDTH@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PAGE_LENGTH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PAGE_LENGTH@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
Lloh8:
	ldr	x8, [x9]
	add	x8, x8, #1
Lloh9:
	adrp	x9, _border_attr@GOTPAGE
Lloh10:
	ldr	x9, [x9, _border_attr@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w9, [sp, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x3, x2
	mov	w5, #0
	mov	w7, #0
	bl	_dlg_draw_scrollbar
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_PAGE_WIDTH,4,2                 ; @PAGE_WIDTH
	.comm	_PAGE_LENGTH,8,3                ; @PAGE_LENGTH
	.comm	_border_attr,4,2                ; @border_attr
	.no_dead_strip	_print_position
.subsections_via_symbols
