	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function select_line_type
LCPI0_0:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_select_line_type:                      ## @select_line_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpq	$4, %rsi
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_4:
	movq	%rsi, %rax
	andq	$-4, %rax
	leaq	-4(%rax), %rcx
	movq	%rcx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movq	%r8, %rcx
	andq	$-2, %rcx
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pcmpeqd	%xmm2, %xmm2
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [1,1]
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rdx,4), %xmm4            ## xmm4 = mem[0],zero
	movq	8(%rdi,%rdx,4), %xmm5           ## xmm5 = mem[0],zero
	pcmpeqd	%xmm2, %xmm4
	pxor	%xmm2, %xmm4
	pmovzxdq	%xmm4, %xmm4                    ## xmm4 = xmm4[0],zero,xmm4[1],zero
	pand	%xmm3, %xmm4
	paddq	%xmm0, %xmm4
	pcmpeqd	%xmm2, %xmm5
	pxor	%xmm2, %xmm5
	pmovzxdq	%xmm5, %xmm5                    ## xmm5 = xmm5[0],zero,xmm5[1],zero
	pand	%xmm3, %xmm5
	paddq	%xmm1, %xmm5
	movq	16(%rdi,%rdx,4), %xmm0          ## xmm0 = mem[0],zero
	movq	24(%rdi,%rdx,4), %xmm1          ## xmm1 = mem[0],zero
	pcmpeqd	%xmm2, %xmm0
	pxor	%xmm2, %xmm0
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	pand	%xmm3, %xmm0
	paddq	%xmm4, %xmm0
	pcmpeqd	%xmm2, %xmm1
	pxor	%xmm2, %xmm1
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	pand	%xmm3, %xmm1
	paddq	%xmm5, %xmm1
	addq	$8, %rdx
	addq	$-2, %rcx
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movq	(%rdi,%rdx,4), %xmm2            ## xmm2 = mem[0],zero
	movq	8(%rdi,%rdx,4), %xmm3           ## xmm3 = mem[0],zero
	pcmpeqd	%xmm4, %xmm4
	pcmpeqd	%xmm4, %xmm2
	pxor	%xmm4, %xmm2
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [1,1]
	pand	%xmm5, %xmm2
	paddq	%xmm2, %xmm0
	pcmpeqd	%xmm4, %xmm3
	pxor	%xmm4, %xmm3
	pmovzxdq	%xmm3, %xmm2                    ## xmm2 = xmm3[0],zero,xmm3[1],zero
	pand	%xmm5, %xmm2
	paddq	%xmm2, %xmm1
LBB0_10:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rcx
	cmpq	%rsi, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	cmpl	$-1, (%rdi,%rax,4)
	setne	%dl
	addq	%rdx, %rcx
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_11
LBB0_12:
	shlq	$2, %rcx
LBB0_13:
	shlq	$2, %rsi
	cmpq	%rcx, %rsi
	jbe	LBB0_14
## %bb.15:
	movq	_mrb_debug_line_flat_map@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_mrb_debug_line_ary@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	pxor	%xmm0, %xmm0
	xorl	%edx, %edx
	pxor	%xmm1, %xmm1
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_mrb_debug_line_ary,4,2         ## @mrb_debug_line_ary
	.comm	_mrb_debug_line_flat_map,4,2    ## @mrb_debug_line_flat_map
	.no_dead_strip	_select_line_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_line_type
_select_line_type:                      ; @select_line_type
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	cmp	x1, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x8, #0
	mov	x9, #0
	b	LBB0_7
LBB0_3:
	mov	x8, #0
	b	LBB0_10
LBB0_4:
	and	x8, x1, #0xfffffffffffffff8
	add	x9, x0, #16
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0xffffffffffffffff
	mov	w10, #1
	dup.2d	v2, x10
	mov	x10, x8
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d6, d7, [x9, #-16]
	ldp	d16, d17, [x9], #32
	cmeq.2s	v6, v6, v1
	mvn.8b	v6, v6
	ushll.2d	v6, v6, #0
	and.16b	v6, v6, v2
	cmeq.2s	v7, v7, v1
	mvn.8b	v7, v7
	ushll.2d	v7, v7, #0
	and.16b	v7, v7, v2
	cmeq.2s	v16, v16, v1
	mvn.8b	v16, v16
	ushll.2d	v16, v16, #0
	and.16b	v16, v16, v2
	cmeq.2s	v17, v17, v1
	mvn.8b	v17, v17
	ushll.2d	v17, v17, #0
	and.16b	v17, v17, v2
	add.2d	v0, v0, v6
	add.2d	v3, v3, v7
	add.2d	v4, v4, v16
	add.2d	v5, v5, v17
	subs	x10, x10, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v0, v3, v0
	add.2d	v0, v4, v0
	add.2d	v0, v5, v0
	addp.2d	d0, v0
	fmov	x9, d0
	cmp	x8, x1
	b.eq	LBB0_9
LBB0_7:
	sub	x10, x1, x8
	add	x8, x0, x8, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8], #4
	cmn	w11, #1
	cinc	x9, x9, ne
	subs	x10, x10, #1
	b.ne	LBB0_8
LBB0_9:
	lsl	x8, x9, #2
LBB0_10:
Lloh0:
	adrp	x9, _mrb_debug_line_ary@GOTPAGE
Lloh1:
	ldr	x9, [x9, _mrb_debug_line_ary@GOTPAGEOFF]
Lloh2:
	adrp	x10, _mrb_debug_line_flat_map@GOTPAGE
Lloh3:
	ldr	x10, [x10, _mrb_debug_line_flat_map@GOTPAGEOFF]
	cmp	x8, x1, lsl #2
	csel	x8, x10, x9, lo
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mrb_debug_line_ary,4,2         ; @mrb_debug_line_ary
	.comm	_mrb_debug_line_flat_map,4,2    ; @mrb_debug_line_flat_map
	.no_dead_strip	_select_line_type
.subsections_via_symbols
