	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function core_get_resync_work
_core_get_resync_work:                  ## @core_get_resync_work
	.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, %r15
	movq	(%rdi), %rbx
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	xorl	%r14d, %r14d
	cmpq	%rsi, %rdx
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%rbx), %edi
	callq	_find_next_zero_bit_le
	movq	%rax, (%r15)
	incq	%rax
	movq	%rax, (%rbx)
	movq	(%r15), %rsi
	cmpq	8(%rbx), %rsi
	jge	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	16(%rbx), %edi
	callq	_log_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	jmp	LBB0_1
LBB0_4:
	movl	16(%rbx), %esi
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	callq	_log_set_bit
	movl	$1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_core_get_resync_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function core_get_resync_work
_core_get_resync_work:                  ; @core_get_resync_work
	.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	x20, x1
	ldr	x19, [x0]
	ldp	x2, x1, [x19]
	cmp	x2, x1
	b.ge	LBB0_4
; %bb.1:
	ldr	w0, [x19, #20]
	bl	_find_next_zero_bit_le
	str	x0, [x20]
	add	x8, x0, #1
	str	x8, [x19]
	ldr	x1, [x20]
	ldr	x8, [x19, #8]
	cmp	x1, x8
	b.ge	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	bl	_log_test_bit
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x2, x1, [x19]
	ldr	w0, [x19, #20]
	bl	_find_next_zero_bit_le
	str	x0, [x20]
	add	x8, x0, #1
	str	x8, [x19]
	ldr	x1, [x20]
	ldr	x8, [x19, #8]
	cmp	x1, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w1, [x19, #16]
	ldr	x2, [x20]
	mov	x0, x19
	bl	_log_set_bit
	mov	w0, #1
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_core_get_resync_work
.subsections_via_symbols
