	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_split
_check_split:                           ## @check_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_printf
	leaq	-36(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_atf_text_split
	movl	%eax, %edi
	callq	_CE
	movq	%r14, %rdi
	callq	_array_size
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	callq	_atf_list_size
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_array_size
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ATF_CHECK_EQ
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	-36(%rbp), %rdi
	xorl	%esi, %esi
	callq	_atf_list_index_c
	movq	(%r14), %rsi
	movq	%rax, %rdi
	callq	_ATF_CHECK_STREQ
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.2:
	movl	$1, %ebx
	leaq	L_.str.2(%rip), %r15
	leaq	-36(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_atf_list_index_c
	movq	(%r14,%rbx,8), %rsi
	movq	%rax, %rdi
	callq	_ATF_CHECK_STREQ
	cmpq	$0, 8(%r14,%rbx,8)
	leaq	1(%rbx), %rbx
	jne	LBB0_3
LBB0_4:
	leaq	-36(%rbp), %rdi
	callq	_atf_list_fini
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Splitting '%s' with delimiter '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"Expecting %zd words\n"

L_.str.2:                               ## @.str.2
	.asciz	"Word at position %zd should be '%s'\n"

	.no_dead_strip	_check_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_split
_check_split:                           ; @check_split
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	stp	x0, x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	add	x2, sp, #28
	mov	x0, x21
	mov	x1, x20
	bl	_atf_text_split
	bl	_CE
	mov	x0, x19
	bl	_array_size
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	x0, sp, #28
	bl	_atf_list_size
	mov	x20, x0
	mov	x0, x19
	bl	_array_size
	mov	x1, x0
	mov	x0, x20
	bl	_ATF_CHECK_EQ
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	stp	xzr, x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	x0, sp, #28
	mov	x1, #0
	bl	_atf_list_index_c
	ldr	x1, [x19]
	bl	_ATF_CHECK_STREQ
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x8, #0
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x8, #1
	add	x22, x19, x8, lsl #3
	ldr	x8, [x22, #8]
	stp	x21, x8, [sp]
	mov	x0, x20
	bl	_printf
	add	x0, sp, #28
	mov	x1, x21
	bl	_atf_list_index_c
	ldr	x1, [x22, #8]
	bl	_ATF_CHECK_STREQ
	ldr	x9, [x22, #16]
	mov	x8, x21
	cbnz	x9, LBB0_3
LBB0_4:
	add	x0, sp, #28
	bl	_atf_list_fini
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Splitting '%s' with delimiter '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"Expecting %zd words\n"

l_.str.2:                               ; @.str.2
	.asciz	"Word at position %zd should be '%s'\n"

	.no_dead_strip	_check_split
.subsections_via_symbols
