	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_text_split                 ## -- Begin function atf_text_split
	.p2align	4, 0x90
_atf_text_split:                        ## @atf_text_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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_atf_list_init
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_11
LBB0_1:
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %r13
	xorl	%edi, %edi
	cmpb	$0, (%r12,%r13)
	sete	%dil
	callq	_INV
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addq	%r12, %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	cltq
	addq	%rax, %rbx
	movq	%rbx, %r12
	cmpq	%r13, %rbx
	jae	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_INV
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strstr
	movq	%rax, %rbx
	testq	%rax, %rax
	cmoveq	%r13, %rbx
	xorl	%edi, %edi
	cmpq	%r12, %rbx
	setae	%dil
	callq	_INV
	cmpq	%r12, %rbx
	jbe	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %r14
	movl	%ebx, %edx
	subl	%r12d, %edx
	leaq	-60(%rbp), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_atf_dynstr_init_raw
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_atf_dynstr_fini_disown
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$1, %edx
	callq	_atf_list_append
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	movq	%r14, %r15
	je	LBB0_9
	jmp	LBB0_6
LBB0_10:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_atf_is_error
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_INV
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_atf_list_fini
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_text_split                 ; -- Begin function atf_text_split
	.p2align	2
_atf_text_split:                        ; @atf_text_split
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_atf_list_init
	mov	x20, x0
	bl	_atf_is_error
	cbnz	x0, LBB0_8
; %bb.1:
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
	add	x24, x22, w0, sxtw
	ldrb	w8, [x24]
	cmp	w8, #0
	cset	w0, eq
	bl	_INV
	cmp	w23, #1
	b.ge	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_atf_is_error
	cmp	x0, #0
	cset	w0, eq
	bl	_INV
	b	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_strlen
	add	x22, x23, w0, sxtw
	cmp	x22, x24
	b.hs	LBB0_2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, #0
	cset	w0, ne
	bl	_INV
	mov	x0, x22
	mov	x1, x21
	bl	_strstr
	cmp	x0, #0
	csel	x23, x24, x0, eq
	cmp	x23, x22
	cset	w0, hs
	bl	_INV
	cmp	x23, x22
	b.ls	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w2, w23, w22
	add	x0, sp, #12
	mov	x1, x22
	bl	_atf_dynstr_init_raw
	mov	x20, x0
	bl	_atf_is_error
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_atf_dynstr_fini_disown
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_atf_list_append
	mov	x20, x0
	bl	_atf_is_error
	cbz	x0, LBB0_3
LBB0_7:
	mov	x0, x19
	bl	_atf_list_fini
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
