	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brigade_flush
_brigade_flush:                         ## @brigade_flush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %edx
	movq	(%rbx), %rcx
	movq	_APR_BUCKET_BUFF_SIZE@GOTPCREL(%rip), %r14
	movq	(%r14), %r8
	callq	_apr_brigade_write
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rdx
	movq	$-1, %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	%rcx, 16(%rbx)
	addq	(%r14), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rax, %rcx
LBB0_2:
	movq	%rcx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.comm	_APR_BUCKET_BUFF_SIZE,8,3       ## @APR_BUCKET_BUFF_SIZE
	.no_dead_strip	_brigade_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brigade_flush
_brigade_flush:                         ; @brigade_flush
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #40]
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
	ldr	w2, [x19, #24]
	ldr	x3, [x19]
Lloh0:
	adrp	x20, _APR_BUCKET_BUFF_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _APR_BUCKET_BUFF_SIZE@GOTPAGEOFF]
	ldr	x4, [x20]
	bl	_apr_brigade_write
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x9, x9, x8
	stp	x9, x8, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.comm	_APR_BUCKET_BUFF_SIZE,8,3       ; @APR_BUCKET_BUFF_SIZE
	.no_dead_strip	_brigade_flush
.subsections_via_symbols
