	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function col_to_chr_offset
_col_to_chr_offset:                     ## @col_to_chr_offset
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_dlg_index_columns
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_dlg_index_wchars
	movq	%rax, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_dlg_count_wchars
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rbx,%rax,4)
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r14d, 4(%rbx,%rax,4)
	jle	LBB0_6
## %bb.5:
	movl	(%r15,%rax,4), %eax
	movq	_TRUE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	testl	%r13d, %r13d
	jne	LBB0_11
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	testl	%r13d, %r13d
	jne	LBB0_11
LBB0_9:
	cmpl	%r14d, (%rbx,%rcx,4)
	jne	LBB0_11
## %bb.10:
	movl	(%r15,%rcx,4), %eax
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_col_to_chr_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function col_to_chr_offset
_col_to_chr_offset:                     ; @col_to_chr_offset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x22, x0
	bl	_dlg_index_columns
	mov	x21, x0
	mov	x0, x22
	bl	_dlg_index_wchars
	mov	x20, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_dlg_count_wchars
	cbz	w0, LBB0_9
; %bb.1:
	mov	w8, w0
	add	x9, x21, #4
	mov	x11, x8
	mov	x10, x20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #4
	add	x9, x9, #4
	subs	x11, x11, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x9, #-4]
	cmp	w12, w19
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x9]
	cmp	w12, w19
	b.le	LBB0_2
; %bb.5:
	ldr	w0, [x10]
Lloh3:
	adrp	x9, _TRUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x9]
	cbnz	w23, LBB0_9
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	cbnz	w23, LBB0_9
LBB0_7:
	ldr	w9, [x21, x8, lsl #2]
	cmp	w9, w19
	b.ne	LBB0_9
; %bb.8:
	ldr	w0, [x20, x8, lsl #2]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_col_to_chr_offset
.subsections_via_symbols
