	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split
_split:                                 ## @split
	.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	%r8, %r15
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	testl	%edx, %edx
	jle	LBB0_2
## %bb.1:
	movl	%r12d, %esi
	shlq	$3, %rsi
	movq	%r13, %rdi
	callq	___bzero
LBB0_2:
	cmpb	$0, (%r14)
	je	LBB0_3
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	cmovlel	%ebx, %r12d
	leaq	_split.ws(%rip), %r15
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strspn
	movb	(%r14,%rax), %cl
	testb	%cl, %cl
	je	LBB0_27
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$35, %cl
	je	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r12, %rbx
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	%rax, %r14
	cmpb	$34, %cl
	jne	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movq	%r14, (%r13,%rbx,8)
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %ecx
	cmpb	$92, %cl
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$34, %cl
	jne	LBB0_14
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	movzbl	1(%r14), %ecx
	incq	%r14
	testb	%cl, %cl
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$34, %cl
	je	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$92, %cl
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	testb	%cl, %cl
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	%r14
	movb	%cl, (%rax)
	incq	%rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, (%r13,%rbx,8)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strcspn
	cltq
	cmpb	$0, (%r14,%rax)
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	%rax, %r14
	movb	$0, (%r14)
	movb	1(%r14), %cl
	incq	%r14
	jmp	LBB0_26
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%rax)
	cmpb	$0, 1(%r14)
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strspn
	movb	$1, %cl
	testq	%rax, %rax
	je	LBB0_23
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	testb	%cl, %cl
	jne	LBB0_5
	jmp	LBB0_27
LBB0_15:
	leaq	L_.str.2(%rip), %rdx
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_snprintf
	movl	$-1, %ebx
	jmp	LBB0_27
LBB0_3:
	xorl	%ebx, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_9
LBB0_28:
	incq	%rbx
	jmp	LBB0_27
LBB0_23:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_split.ws:                              ## @split.ws
	.asciz	" \t"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"line has too many fields"

L_.str.1:                               ## @.str.1
	.asciz	"invalid `\\' escape"

L_.str.2:                               ## @.str.2
	.asciz	"unterminated quoted string"

L_.str.3:                               ## @.str.3
	.asciz	"quoted string not followed by white space"

	.no_dead_strip	_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split
_split:                                 ; @split
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	cmp	w2, #1
	b.lt	LBB0_2
; %bb.1:
	mov	w8, w23
	lsl	x1, x8, #3
	mov	x0, x22
	bl	_bzero
LBB0_2:
	ldrb	w8, [x24]
	cbz	w8, LBB0_23
; %bb.3:
	mov	x20, #0
	cmp	w23, #0
	csel	w25, w23, wzr, gt
Lloh0:
	adrp	x23, _split.ws@PAGE
Lloh1:
	add	x23, x23, _split.ws@PAGEOFF
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x24
	mov	x1, x23
	bl	_strspn
	add	x24, x24, x0
	ldrb	w8, [x24]
	cbz	w8, LBB0_24
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #35
	b.eq	LBB0_24
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, x25
	b.eq	LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #34
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	str	x24, [x22, x20, lsl #3]
	mov	x8, x24
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x24]
	cmp	w9, #92
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w9, #34
	b.ne	LBB0_14
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w9, [x24, #1]!
	cbz	w9, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w9, #34
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w9, #92
	b.ne	LBB0_25
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	cbz	w9, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x24, x24, #1
	strb	w9, [x8], #1
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x24, [x22, x20, lsl #3]
	mov	x0, x24
	mov	x1, x23
	bl	_strcspn
	add	x9, x24, w0, sxtw
	ldrb	w8, [x9]
	cbz	w8, LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x9
	ldrb	w8, [x24, #1]!
	strb	wzr, [x9]
	add	x20, x20, #1
	cbnz	w8, LBB0_4
	b	LBB0_24
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x8]
	ldrb	w8, [x24, #1]!
	cbz	w8, LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_strspn
	cbz	x0, LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	add	x20, x20, #1
	cbnz	w8, LBB0_4
	b	LBB0_24
LBB0_21:
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_22:
	mov	x0, x21
	mov	x1, x19
	bl	_snprintf
	mov	w20, #-1
	b	LBB0_24
LBB0_23:
	mov	w20, #0
LBB0_24:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_25:
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_26:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_22
LBB0_27:
	add	x20, x20, #1
	b	LBB0_24
LBB0_28:
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_split.ws:                              ; @split.ws
	.asciz	" \t"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"line has too many fields"

l_.str.1:                               ; @.str.1
	.asciz	"invalid `\\' escape"

l_.str.2:                               ; @.str.2
	.asciz	"unterminated quoted string"

l_.str.3:                               ; @.str.3
	.asciz	"quoted string not followed by white space"

	.no_dead_strip	_split
.subsections_via_symbols
