	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_write_putstrs
_test_write_putstrs:                    ## @test_write_putstrs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_p@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_apr_bucket_alloc_create
	movq	%rax, %r15
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_apr_brigade_create
	movq	%rax, %r14
	movl	$30, -84(%rbp)
	leaq	L_.str.1(%rip), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_apr_bucket_heap_create
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_APR_BRIGADE_INSERT_HEAD
	leaq	L_.str.11(%rip), %r10
	leaq	L_.str.10(%rip), %r11
	leaq	L_.str.9(%rip), %r12
	leaq	L_.str.8(%rip), %r13
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %r9
	movq	%r14, %rdi
	movl	$0, %esi
	movl	$0, %edx
	xorl	%eax, %eax
	pushq	$0
	pushq	%r10
	pushq	%r11
	pushq	%r12
	pushq	%r13
	leaq	L_.str.7(%rip), %rbx
	pushq	%rbx
	leaq	L_.str.6(%rip), %rbx
	pushq	%rbx
	leaq	L_.str.5(%rip), %rbx
	pushq	%rbx
	callq	_apr_brigade_putstrs
	addq	$64, %rsp
	leaq	L_.str.12(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_apr_brigade_putstrs
	leaq	-80(%rbp), %r12
	leaq	-84(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_apr_brigade_flatten
	leaq	L_.str.13(%rip), %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_apr_assert_success
	leaq	L_.str(%rip), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_ABTS_STR_NEQUAL
	movq	%r14, %rdi
	callq	_apr_brigade_destroy
	movq	%r15, %rdi
	callq	_apr_bucket_alloc_destroy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_p,4,2                          ## @p
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"123456789abcdefghij"

L_.str.1:                               ## @.str.1
	.asciz	"1"

L_.str.2:                               ## @.str.2
	.asciz	"2"

L_.str.3:                               ## @.str.3
	.asciz	"34"

L_.str.4:                               ## @.str.4
	.asciz	"567"

L_.str.5:                               ## @.str.5
	.asciz	"8"

L_.str.6:                               ## @.str.6
	.asciz	"9a"

L_.str.7:                               ## @.str.7
	.asciz	"bcd"

L_.str.8:                               ## @.str.8
	.asciz	"e"

L_.str.9:                               ## @.str.9
	.asciz	"f"

L_.str.10:                              ## @.str.10
	.asciz	"gh"

L_.str.11:                              ## @.str.11
	.asciz	"i"

L_.str.12:                              ## @.str.12
	.asciz	"j"

L_.str.13:                              ## @.str.13
	.asciz	"apr_brigade_flatten"

	.no_dead_strip	_test_write_putstrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_write_putstrs
_test_write_putstrs:                    ; @test_write_putstrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _p@GOTPAGE
Lloh4:
	ldr	x21, [x21, _p@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_apr_bucket_alloc_create
	mov	x20, x0
	ldr	w0, [x21]
	mov	x1, x20
	bl	_apr_brigade_create
	mov	x21, x0
	mov	w8, #30
	stur	w8, [x29, #-76]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #1
	mov	x2, #0
	mov	x3, x20
	bl	_apr_bucket_heap_create
	mov	x1, x0
	mov	x0, x21
	bl	_APR_BRIGADE_INSERT_HEAD
Lloh7:
	adrp	x8, l_.str.11@PAGE
Lloh8:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh9:
	adrp	x9, l_.str.10@PAGE
Lloh10:
	add	x9, x9, l_.str.10@PAGEOFF
	stp	x8, xzr, [sp, #56]
Lloh11:
	adrp	x10, l_.str.9@PAGE
Lloh12:
	add	x10, x10, l_.str.9@PAGEOFF
Lloh13:
	adrp	x11, l_.str.8@PAGE
Lloh14:
	add	x11, x11, l_.str.8@PAGEOFF
	stp	x10, x9, [sp, #40]
Lloh15:
	adrp	x8, l_.str.7@PAGE
Lloh16:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh17:
	adrp	x9, l_.str.6@PAGE
Lloh18:
	add	x9, x9, l_.str.6@PAGEOFF
	stp	x8, x11, [sp, #24]
Lloh19:
	adrp	x10, l_.str.5@PAGE
Lloh20:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh21:
	adrp	x11, l_.str.4@PAGE
Lloh22:
	add	x11, x11, l_.str.4@PAGEOFF
	stp	x10, x9, [sp, #8]
Lloh23:
	adrp	x3, l_.str.2@PAGE
Lloh24:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh25:
	adrp	x4, l_.str.3@PAGE
Lloh26:
	add	x4, x4, l_.str.3@PAGEOFF
	str	x11, [sp]
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	bl	_apr_brigade_putstrs
Lloh27:
	adrp	x3, l_.str.12@PAGE
Lloh28:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	x4, #0
	bl	_apr_brigade_putstrs
	sub	x1, x29, #70
	sub	x2, x29, #76
	mov	x0, x21
	bl	_apr_brigade_flatten
	mov	x2, x0
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_apr_assert_success
Lloh31:
	adrp	x22, l_.str@PAGE
Lloh32:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strlen
	mov	x3, x0
	sub	x2, x29, #70
	mov	x0, x19
	mov	x1, x22
	bl	_ABTS_STR_NEQUAL
	mov	x0, x21
	bl	_apr_brigade_destroy
	mov	x0, x20
	bl	_apr_bucket_alloc_destroy
	ldur	x8, [x29, #-40]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_p,4,2                          ; @p
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"123456789abcdefghij"

l_.str.1:                               ; @.str.1
	.asciz	"1"

l_.str.2:                               ; @.str.2
	.asciz	"2"

l_.str.3:                               ; @.str.3
	.asciz	"34"

l_.str.4:                               ; @.str.4
	.asciz	"567"

l_.str.5:                               ; @.str.5
	.asciz	"8"

l_.str.6:                               ; @.str.6
	.asciz	"9a"

l_.str.7:                               ; @.str.7
	.asciz	"bcd"

l_.str.8:                               ; @.str.8
	.asciz	"e"

l_.str.9:                               ; @.str.9
	.asciz	"f"

l_.str.10:                              ; @.str.10
	.asciz	"gh"

l_.str.11:                              ; @.str.11
	.asciz	"i"

l_.str.12:                              ; @.str.12
	.asciz	"j"

l_.str.13:                              ; @.str.13
	.asciz	"apr_brigade_flatten"

	.no_dead_strip	_test_write_putstrs
.subsections_via_symbols
