	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evbuffer_get_waste
_evbuffer_get_waste:                    ## @evbuffer_get_waste
	.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), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	xorl	%r8d, %r8d
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %r9
	movq	8(%rax), %r11
	addq	%r11, %r10
	movq	24(%rax), %rdi
	testq	%r9, %r9
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %rax
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.6:
	xorl	%r9d, %r9d
	jmp	LBB0_2
LBB0_1:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%r10d, %r10d
	jmp	LBB0_2
LBB0_7:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	cmpq	$0, (%rdi)
	je	LBB0_10
## %bb.11:
	movq	16(%rax), %rax
	addq	%r9, %rax
	subq	%rax, %r11
	movq	%r11, %r8
	jmp	LBB0_12
LBB0_8:
	xorl	%r8d, %r8d
	jmp	LBB0_2
LBB0_10:
	xorl	%r8d, %r8d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rdi), %r14
	addq	%rbx, %r11
	subq	%r11, %rax
	testq	%r14, %r14
	cmoveq	%r14, %rax
	addq	%rax, %r8
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %r11
	movq	8(%rdi), %rax
	addq	%rax, %r10
	movq	16(%rdi), %rbx
	addq	%rbx, %r8
	addq	%r11, %r9
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_13
LBB0_2:
	movq	%r10, (%rsi)
	movq	%r8, (%rdx)
	movq	%r9, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_evbuffer_get_waste
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evbuffer_get_waste
_evbuffer_get_waste:                    ; @evbuffer_get_waste
	.cfi_startproc
; %bb.0:
	ldr	x11, [x0]
	cbz	x11, LBB0_5
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x12, [x11]
	add	x8, x12, x8
	ldr	x10, [x11, #24]
	cbnz	x9, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, x10
	cbnz	x10, LBB0_2
; %bb.4:
	mov	x9, #0
	b	LBB0_13
LBB0_5:
	mov	x9, #0
	mov	x8, #0
	b	LBB0_13
LBB0_6:
	cbz	x10, LBB0_9
; %bb.7:
	ldr	x13, [x10]
	cbz	x13, LBB0_10
; %bb.8:
	ldr	x11, [x11, #16]
	add	x11, x9, x11
	sub	x11, x12, x11
	b	LBB0_12
LBB0_9:
	mov	x11, #0
	b	LBB0_13
LBB0_10:
	mov	x11, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x15, [x10]
	add	x12, x12, x14
	sub	x12, x13, x12
	cmp	x15, #0
	csel	x12, xzr, x12, eq
	add	x11, x11, x12
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x12, x13, [x10]
	add	x8, x13, x8
	ldp	x14, x10, [x10, #16]
	add	x11, x14, x11
	add	x9, x12, x9
	cbnz	x10, LBB0_11
LBB0_13:
	str	x8, [x1]
	str	x11, [x2]
	str	x9, [x3]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_evbuffer_get_waste
.subsections_via_symbols
