	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_guess_lines                ## -- Begin function xdl_guess_lines
	.p2align	4, 0x90
_xdl_guess_lines:                       ## @xdl_guess_lines
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rsi
	callq	_xdl_mmfile_first
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	testq	%r15, %r15
	jle	LBB0_13
## %bb.2:
	movq	-56(%rbp), %r14
	testq	%r14, %r14
	jle	LBB0_13
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addq	%rax, %r14
	xorl	%r13d, %r13d
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r13
	movl	%r14d, %edx
	subl	%ebx, %edx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_memchr
	leaq	1(%rax), %rbx
	testq	%rax, %rax
	cmoveq	%r14, %rbx
	cmpq	%r15, %r13
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r14, %rbx
	jb	LBB0_4
LBB0_6:
	subq	%r12, %rbx
	je	LBB0_13
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_xdl_mmfile_size
	movq	%rax, %rcx
	movq	%rbx, %rax
	orq	%r13, %rax
	shrq	$32, %rax
	je	LBB0_8
## %bb.9:
	movq	%rbx, %rax
	cqto
	idivq	%r13
	movq	%rax, %rsi
	jmp	LBB0_10
LBB0_8:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%r13d
	movl	%eax, %esi
LBB0_10:
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_11
## %bb.12:
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	movq	%rax, %r13
	jmp	LBB0_13
LBB0_11:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r13d
LBB0_13:
	incq	%r13
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_guess_lines                ; -- Begin function xdl_guess_lines
	.p2align	2
_xdl_guess_lines:                       ; @xdl_guess_lines
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	bl	_xdl_mmfile_first
	mov	x22, #0
	cbz	x0, LBB0_8
; %bb.1:
	cmp	x20, #1
	b.lt	LBB0_8
; %bb.2:
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x21, x0
	mov	x22, #0
	add	x23, x0, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x22, #1
	sub	w2, w23, w0
	mov	w1, #10
	bl	_memchr
	cmp	x0, #0
	csinc	x0, x23, x0, eq
	cmp	x22, x20
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x0, x23
	b.lo	LBB0_4
LBB0_6:
	subs	x20, x0, x21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_xdl_mmfile_size
	sdiv	x8, x20, x22
	sdiv	x22, x0, x8
LBB0_8:
	add	x0, x22, #1
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
