	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_simple
_test_simple:                           ## @test_simple
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_p@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_apr_bucket_alloc_create
	movq	%rax, %r14
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_apr_brigade_create
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_APR_BRIGADE_FIRST
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_APR_BRIGADE_SENTINEL
	xorl	%edx, %edx
	cmpq	%rax, %rbx
	sete	%dl
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movq	%r14, %rdi
	callq	_apr_bucket_flush_create
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_APR_BRIGADE_INSERT_HEAD
	movq	%r12, %rdi
	callq	_APR_BRIGADE_FIRST
	xorl	%edx, %edx
	cmpq	%r13, %rax
	sete	%dl
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movq	%r13, %rdi
	callq	_APR_BUCKET_NEXT
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_APR_BRIGADE_SENTINEL
	xorl	%edx, %edx
	cmpq	%rax, %rbx
	sete	%dl
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	leaq	L_.str.3(%rip), %rdi
	movl	$3, %esi
	movq	%r14, %rdx
	callq	_apr_bucket_transient_create
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_APR_BUCKET_INSERT_BEFORE
	movq	%r13, %rdi
	callq	_APR_BUCKET_PREV
	xorl	%edx, %edx
	cmpq	%rbx, %rax
	sete	%dl
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movq	%rbx, %rdi
	callq	_APR_BUCKET_NEXT
	xorl	%edx, %edx
	cmpq	%r13, %rax
	sete	%dl
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movq	%rbx, %rdi
	callq	_APR_BUCKET_PREV
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_APR_BRIGADE_SENTINEL
	xorl	%edx, %edx
	cmpq	%rax, %rbx
	sete	%dl
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movq	%r12, %rdi
	callq	_apr_brigade_cleanup
	movq	%r12, %rdi
	callq	_APR_BRIGADE_EMPTY
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ABTS_ASSERT
	movq	%r12, %rdi
	callq	_apr_brigade_destroy
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apr_bucket_alloc_destroy       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_p,4,2                          ## @p
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"first bucket of empty brigade is sentinel"

L_.str.1:                               ## @.str.1
	.asciz	"first bucket of brigade is flush"

L_.str.2:                               ## @.str.2
	.asciz	"bucket after flush is sentinel"

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

L_.str.4:                               ## @.str.4
	.asciz	"bucket before flush now transient"

L_.str.5:                               ## @.str.5
	.asciz	"bucket after transient is flush"

L_.str.6:                               ## @.str.6
	.asciz	"bucket before transient is sentinel"

L_.str.7:                               ## @.str.7
	.asciz	"cleaned up brigade was empty"

	.no_dead_strip	_test_simple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_simple
_test_simple:                           ; @test_simple
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x21, _p@GOTPAGE
Lloh1:
	ldr	x21, [x21, _p@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_apr_bucket_alloc_create
	mov	x19, x0
	ldr	w0, [x21]
	mov	x1, x19
	bl	_apr_brigade_create
	mov	x21, x0
	bl	_APR_BRIGADE_FIRST
	mov	x22, x0
	mov	x0, x21
	bl	_APR_BRIGADE_SENTINEL
	cmp	x22, x0
	cset	w2, eq
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
	mov	x0, x19
	bl	_apr_bucket_flush_create
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_APR_BRIGADE_INSERT_HEAD
	mov	x0, x21
	bl	_APR_BRIGADE_FIRST
	cmp	x0, x22
	cset	w2, eq
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
	mov	x0, x22
	bl	_APR_BUCKET_NEXT
	mov	x23, x0
	mov	x0, x21
	bl	_APR_BRIGADE_SENTINEL
	cmp	x23, x0
	cset	w2, eq
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #3
	mov	x2, x19
	bl	_apr_bucket_transient_create
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_APR_BUCKET_INSERT_BEFORE
	mov	x0, x22
	bl	_APR_BUCKET_PREV
	cmp	x0, x23
	cset	w2, eq
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
	mov	x0, x23
	bl	_APR_BUCKET_NEXT
	cmp	x0, x22
	cset	w2, eq
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
	mov	x0, x23
	bl	_APR_BUCKET_PREV
	mov	x22, x0
	mov	x0, x21
	bl	_APR_BRIGADE_SENTINEL
	cmp	x22, x0
	cset	w2, eq
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
	mov	x0, x21
	bl	_apr_brigade_cleanup
	mov	x0, x21
	bl	_APR_BRIGADE_EMPTY
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_ABTS_ASSERT
	mov	x0, x21
	bl	_apr_brigade_destroy
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_apr_bucket_alloc_destroy
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_p,4,2                          ; @p
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"first bucket of empty brigade is sentinel"

l_.str.1:                               ; @.str.1
	.asciz	"first bucket of brigade is flush"

l_.str.2:                               ; @.str.2
	.asciz	"bucket after flush is sentinel"

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

l_.str.4:                               ; @.str.4
	.asciz	"bucket before flush now transient"

l_.str.5:                               ; @.str.5
	.asciz	"bucket after transient is flush"

l_.str.6:                               ; @.str.6
	.asciz	"bucket before transient is sentinel"

l_.str.7:                               ; @.str.7
	.asciz	"cleaned up brigade was empty"

	.no_dead_strip	_test_simple
.subsections_via_symbols
