	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SYSLINK_WrapLine
_SYSLINK_WrapLine:                      ## @SYSLINK_WrapLine
	.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	%rcx, %r14
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movl	%r8d, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, (%rdi,%rax)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.5:
	movl	%ecx, %eax
LBB0_6:
	cmpl	(%r14), %eax
	jne	LBB0_8
LBB0_7:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_1:
	xorl	%eax, %eax
	cmpl	(%r14), %eax
	je	LBB0_7
LBB0_8:
	movl	%eax, %ecx
	movb	(%rdi,%rcx), %cl
	cmpb	$10, %cl
	je	LBB0_15
## %bb.9:
	cmpb	%sil, %cl
	je	LBB0_15
## %bb.10:
	movslq	%eax, %rbx
	incl	%eax
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	subq	$1, %rcx
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	decl	%eax
	cmpb	%sil, -1(%rdi,%rbx)
	movq	%rcx, %rbx
	jne	LBB0_11
	jmp	LBB0_15
LBB0_13:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r9)
	movq	_SL_LEFTMARGIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	jne	LBB0_15
## %bb.14:
	movl	%r8d, %edi
	movl	$1, %esi
	callq	_max
                                        ## kill: def $eax killed $eax def $rax
LBB0_15:
	movl	%eax, (%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SL_LEFTMARGIN,4,2              ## @SL_LEFTMARGIN
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_SYSLINK_WrapLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SYSLINK_WrapLine
_SYSLINK_WrapLine:                      ; @SYSLINK_WrapLine
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x8, x0
	cmp	w4, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x0, #0
	mov	w9, w4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, x0]
	cmp	w10, #10
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x9
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldr	w9, [x19]
	cmp	w0, w9
	b.ne	LBB0_8
; %bb.7:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
	and	w9, w1, #0xff
	ldrb	w10, [x8, w0, uxtw]
	cmp	w10, #10
	ccmp	w10, w9, #4, ne
	b.eq	LBB0_15
; %bb.9:
	mov	x10, x0
	sxtw	x10, w10
	add	w0, w0, #1
	sub	x8, x8, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w11, [x8, x10]
	sub	x10, x10, #1
	sub	w0, w0, #1
	cmp	w11, w9
	b.ne	LBB0_10
	b	LBB0_15
LBB0_12:
	stp	xzr, xzr, [x5]
Lloh2:
	adrp	x8, _SL_LEFTMARGIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SL_LEFTMARGIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x4
	mov	w1, #1
	bl	_max
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	str	w0, [x19]
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SL_LEFTMARGIN,4,2              ; @SL_LEFTMARGIN
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_SYSLINK_WrapLine
.subsections_via_symbols
