	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_l1dist
_get_l1dist:                            ## @get_l1dist
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_SIGELEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leal	4(%r8), %edi
	xorl	%eax, %eax
	cmpl	$9, %edi
	jae	LBB0_1
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movslq	%r8d, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rdi
	shrq	$63, %rdi
	sarq	$33, %rax
	addl	%edi, %eax
	cmpl	$2, %eax
	movl	$1, %r8d
	cmovael	%eax, %r8d
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	subq	%r9, %r11
	movl	$242, %r14d
	subq	%r9, %r14
	imulq	%r11, %r14
	movq	%r14, %rbx
	shrq	$63, %rbx
	addq	%r14, %rbx
	sarq	%rbx
	subq	%r9, %r10
	subq	%rbx, %r10
	addq	$29402, %r10                    ## imm = 0x72DA
	movq	%r10, %r9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rsi), %rbx
	addl	(%rbx,%r9,8), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	%rdi, %r8
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %r9
	movq	(%rcx,%rdi,8), %r10
	cmpq	%r10, %r9
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$243, %r11d
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	subq	%r10, %r11
	movl	$242, %r14d
	subq	%r10, %r14
	imulq	%r11, %r14
	movq	%r14, %rbx
	shrq	$63, %rbx
	addq	%r14, %rbx
	sarq	%rbx
	notq	%r10
	addq	%r10, %r9
	subq	%rbx, %r9
	addq	$29403, %r9                     ## imm = 0x72DB
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGELEM_SIZE,4,2               ## @SIGELEM_SIZE
	.no_dead_strip	_get_l1dist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_l1dist
_get_l1dist:                            ; @get_l1dist
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SIGELEM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGELEM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #4
	cmp	w9, #9
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	mov	w0, #0
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	cmp	w8, #1
	csinc	w8, w8, wzr, hi
	mov	w9, #243
	mov	w10, #242
	mov	w11, #29402
	mov	w12, #29403
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, x2, #8
	add	x3, x3, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x2]
	ldr	x14, [x3]
	cmp	x13, x14
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x1]
	sub	x16, x9, x13
	sub	x17, x10, x13
	mul	x16, x16, x17
	cmp	x16, #0
	cinc	x16, x16, lt
	sub	x17, x14, x13
	sub	x16, x17, x16, asr #1
	add	x16, x16, x11
	sub	x17, x9, x14
	sub	x4, x10, x14
	mul	x17, x17, x4
	cmp	x17, #0
	cinc	x17, x17, lt
	mvn	x4, x14
	add	x4, x13, x4
	sub	x17, x4, x17, asr #1
	add	x17, x17, x12
	cmp	x13, x14
	csel	x13, x16, x17, le
	ldr	x13, [x15, x13, lsl #3]
	add	w0, w0, w13
	b	LBB0_3
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGELEM_SIZE,4,2               ; @SIGELEM_SIZE
	.no_dead_strip	_get_l1dist
.subsections_via_symbols
