	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strsplit                       ## -- Begin function strsplit
	.p2align	4, 0x90
_strsplit:                              ## @strsplit
	.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
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	$8, %edi
	callq	_xmalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	movb	(%r14), %al
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	movsbl	%al, %eax
	cmpl	%r12d, %eax
	jne	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movb	$0, (%r14)
	movzbl	1(%r14), %eax
	incq	%r14
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	%al, %al
	je	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$32, %r12d
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movzbl	%al, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movzbl	(%r14), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	(%r14), %r15b
	testb	%r15b, %r15b
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=2
	xorl	%ecx, %ecx
	cmpl	%ebx, %eax
	sete	%cl
	addq	%rcx, %r13
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	movb	(%r13), %r15b
	testb	%r15b, %r15b
	je	LBB0_20
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	cmpl	$32, %r12d
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movzbl	%r15b, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movzbl	(%r13), %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	movsbl	%r15b, %eax
	cmpl	%r12d, %eax
	je	LBB0_21
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movsbl	(%r13), %eax
	incq	%r13
	cmpl	%ebx, %eax
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsbl	1(%r13), %eax
	incq	%r13
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=3
	cmpl	%ebx, %eax
	jne	LBB0_16
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_21
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	(%r13), %r15b
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rdi,%rax,8)
	leal	16(,%rax,8), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_xrealloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_D_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_plog
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	incq	-48(%rbp)                       ## 8-byte Folded Spill
	movq	%r13, %r14
	testb	%r15b, %r15b
	jne	LBB0_1
LBB0_24:
	movq	_D_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_amuDebug
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_26
## %bb.25:
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_plog
LBB0_26:
	movl	%ebx, %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax,%rcx,8)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_STR,4,2                      ## @D_STR
	.comm	_XLOG_DEBUG,4,2                 ## @XLOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strsplit saved \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"strsplit saved a total of %d strings"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strsplit                       ; -- Begin function strsplit
	.p2align	2
_strsplit:                              ; @strsplit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	mov	w0, #8
	bl	_xmalloc
	mov	x19, x0
	mov	x24, #0
Lloh0:
	adrp	x26, _D_STR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _D_STR@GOTPAGEOFF]
Lloh2:
	adrp	x25, _XLOG_DEBUG@GOTPAGE
Lloh3:
	ldr	x25, [x25, _XLOG_DEBUG@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
	ldrb	w8, [x23]
	cbnz	w8, LBB0_4
	b	LBB0_21
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=2
	cmp	w21, w8, sxtb
	b.ne	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	strb	wzr, [x23]
	ldrb	w8, [x23, #1]!
	cbz	w8, LBB0_21
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w21, #32
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	and	w0, w8, #0xff
	bl	_isascii
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldrb	w0, [x23]
	bl	_isspace
	cbnz	x0, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w28, [x23]
	cbz	w28, LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x27, x23
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w28, [x27]
	cbz	w28, LBB0_18
LBB0_10:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
	cmp	w21, #32
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	and	w0, w28, #0xff
	bl	_isascii
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w0, [x27]
	bl	_isspace
	cbz	x0, LBB0_14
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=2
	cmp	w21, w28, sxtb
	b.eq	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=2
	ldrsb	w8, [x27], #1
	cmp	w8, w20
	b.ne	LBB0_9
LBB0_15:                                ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsb	w8, [x27, #1]!
	cmp	w8, #0
	ccmp	w8, w20, #4, ne
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, w20
	cinc	x27, x27, eq
	b	LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w28, [x27]
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	strb	wzr, [x27], #1
	str	x23, [x19, x24, lsl #3]
	lsl	w8, w24, #3
	add	w1, w8, #16
	mov	x0, x19
	bl	_xrealloc
	mov	x19, x0
	ldr	w0, [x26]
	bl	_amuDebug
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x25]
	str	x23, [sp]
	mov	x1, x22
	bl	_plog
LBB0_20:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x24, x24, #1
	mov	x23, x27
	tst	w28, #0xff
	b.ne	LBB0_1
LBB0_21:
	ldr	w0, [x26]
	bl	_amuDebug
	cbz	x0, LBB0_23
; %bb.22:
	ldr	w0, [x25]
	str	x24, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
LBB0_23:
	str	xzr, [x19, w24, uxtw #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_D_STR,4,2                      ; @D_STR
	.comm	_XLOG_DEBUG,4,2                 ; @XLOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strsplit saved \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"strsplit saved a total of %d strings"

.subsections_via_symbols
