	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __batch_hydration
___batch_hydration:                     ## @__batch_hydration
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rax
	movl	(%rax), %edi
	callq	_READ_ONCE
	movl	%eax, %r15d
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	(%r14), %esi
	cmpl	%r15d, %esi
	jae	LBB0_5
## %bb.2:
	movq	(%rax), %rcx
	addq	%rsi, %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_5
## %bb.3:
	addq	$8, %rbx
	addq	$8, %rax
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_list_add_tail
	movl	(%r14), %esi
	incl	%esi
	movl	%esi, (%r14)
	cmpl	%r15d, %esi
	jb	LBB0_8
## %bb.4:
	movq	8(%r14), %rax
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rax, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hydration_copy
	movq	$0, 8(%r14)
	movl	$0, (%r14)
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_6:
	cmpl	$1, %r15d
	ja	LBB0_7
## %bb.9:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hydration_copy                 ## TAILCALL
LBB0_7:
	leaq	8(%rbx), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	%rbx, 8(%r14)
	movl	$1, (%r14)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___batch_hydration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __batch_hydration
___batch_hydration:                     ; @__batch_hydration
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #16]
	ldr	w0, [x8]
	bl	_READ_ONCE
	mov	x21, x0
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w1, [x19]
	cmp	w1, w21
	b.hs	LBB0_5
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x20]
	add	x8, x8, x1
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	add	x8, x20, #8
	add	x1, x0, #8
	mov	x0, x8
	bl	_list_add_tail
	ldr	w8, [x19]
	add	w1, w8, #1
	str	w1, [x19]
	cmp	w1, w21
	b.lo	LBB0_9
; %bb.4:
	mov	x20, #0
	ldr	x0, [x19, #8]
LBB0_5:
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_hydration_copy
	str	xzr, [x19, #8]
	str	wzr, [x19]
	cbz	x20, LBB0_9
LBB0_6:
	cmp	w21, #1
	b.hi	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	w1, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hydration_copy
LBB0_8:
	add	x0, x20, #8
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	str	x20, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___batch_hydration
.subsections_via_symbols
