	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_tongue
_find_tongue:                           ## @find_tongue
	.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 $ecx killed $ecx def $rcx
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_4
## %bb.1:
	movq	16(%rbp), %r10
	imull	%edx, %ecx
	movslq	%ecx, %rax
	movl	%esi, %r11d
	leaq	(%rdi,%rax,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	addq	$32, %rax
	cmpq	%rdx, %r11
	jne	LBB0_2
LBB0_4:
	movl	$0, (%r8)
	popq	%rbp
	retq
LBB0_5:
	movl	$1, (%r8)
	movslq	%esi, %rax
	cmpl	%edx, %esi
	movl	%edx, %r8d
	cmovll	%esi, %r8d
	decl	%r8d
	leal	(%rcx,%rsi,4), %ecx
	addl	$-4, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rax
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%rax
	movslq	%ecx, %rsi
	leal	-4(%rsi), %ecx
	cmpq	$0, (%rdi,%rsi,8)
	je	LBB0_6
## %bb.8:
	movl	%eax, %r8d
LBB0_9:
	movl	%r8d, (%r10)
	movl	%edx, (%r9)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_tongue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_tongue
_find_tongue:                           ; @find_tongue
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	mul	w9, w3, w2
	mov	w10, w1
	add	x11, x0, w9, sxtw #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cbnz	x12, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	add	x11, x11, #32
	cmp	x10, x8
	b.ne	LBB0_2
LBB0_4:
	str	wzr, [x4]
	ret
LBB0_5:
	mov	w10, #1
	str	w10, [x4]
	sxtw	x10, w1
	cmp	w1, w8
	csel	w11, w1, w8, lt
	sub	w11, w11, #1
	add	w9, w9, w1, lsl #2
	sub	w9, w9, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x8
	b.le	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x10, x10, #1
	ldr	x12, [x0, w9, sxtw #3]
	sub	w9, w9, #4
	cbz	x12, LBB0_6
; %bb.8:
	mov	x11, x10
LBB0_9:
	str	w11, [x6]
	str	w8, [x5]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_tongue
.subsections_via_symbols
