	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_buffer_list_setup
_test_buffer_list_setup:                ## @test_buffer_list_setup
	.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	%rdi, %r14
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	movq	%rax, %r15
	xorl	%edi, %edi
	callq	_buffer_list_new
	movq	%rax, 24(%r15)
	movl	$3, %edi
	callq	_buffer_list_new
	movq	%rax, %rbx
	movq	%rax, 16(%r15)
	movq	_teststr1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_buffer_list_push
	movq	_teststr2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_buffer_list_push
	movq	_teststr3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_buffer_list_push
	movl	$2, %edi
	callq	_buffer_list_new
	movq	%rax, %rbx
	movq	%rax, 8(%r15)
	leaq	L_.str(%rip), %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_buffer_list_push
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_buffer_list_push
	movl	$2, %edi
	callq	_buffer_list_new
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movl	$0, -36(%rbp)
	leaq	-36(%rbp), %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_buffer_list_push_data
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_buffer_list_push_data
	movq	%r15, (%r14)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_teststr1,8,3                   ## @teststr1
	.comm	_teststr2,8,3                   ## @teststr2
	.comm	_teststr3,8,3                   ## @teststr3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_test_buffer_list_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_buffer_list_setup
_test_buffer_list_setup:                ; @test_buffer_list_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	mov	x20, x0
	mov	w0, #0
	bl	_buffer_list_new
	str	x0, [x20, #24]
	mov	w0, #3
	bl	_buffer_list_new
	mov	x21, x0
	str	x0, [x20, #16]
Lloh0:
	adrp	x8, _teststr1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _teststr1@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	bl	_buffer_list_push
Lloh3:
	adrp	x8, _teststr2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _teststr2@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x0, x21
	bl	_buffer_list_push
Lloh6:
	adrp	x8, _teststr3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _teststr3@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x0, x21
	bl	_buffer_list_push
	mov	w0, #2
	bl	_buffer_list_new
	mov	x21, x0
	str	x0, [x20, #8]
Lloh9:
	adrp	x22, l_.str@PAGE
Lloh10:
	add	x22, x22, l_.str@PAGEOFF
	mov	x1, x22
	bl	_buffer_list_push
	mov	x0, x21
	mov	x1, x22
	bl	_buffer_list_push
	mov	w0, #2
	bl	_buffer_list_new
	mov	x21, x0
	str	x0, [x20]
	str	wzr, [sp, #12]
	add	x1, sp, #12
	mov	w2, #0
	bl	_buffer_list_push_data
	add	x1, sp, #12
	mov	x0, x21
	mov	w2, #0
	bl	_buffer_list_push_data
	str	x20, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_teststr1,8,3                   ; @teststr1
	.comm	_teststr2,8,3                   ; @teststr2
	.comm	_teststr3,8,3                   ; @teststr3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_test_buffer_list_setup
.subsections_via_symbols
