	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function passdown_double_checking_shared_status
_passdown_double_checking_shared_status: ## @passdown_double_checking_shared_status
	.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	%rsi, %rdx
	movl	$1, -44(%rbp)
	movq	(%rdi), %r12
	movq	24(%rdi), %rsi
	movq	(%rsi), %r14
	movq	8(%rdi), %r15
	addq	%r12, %r15
	subq	16(%rdi), %r15
	leaq	-48(%rbp), %rdi
	callq	_begin_discard
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	xorl	%r13d, %r13d
	cmpq	%r15, %r12
	je	LBB0_15
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	jge	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	movq	%r12, %rsi
	leaq	-44(%rbp), %rdx
	callq	_dm_pool_block_is_shared
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$0, -44(%rbp)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	incq	%r12
	cmpq	%r15, %r12
	jl	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r15, %r12
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%r12), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, %r15
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	(%r14), %edi
	movq	%rbx, %rsi
	leaq	-44(%rbp), %rdx
	callq	_dm_pool_block_is_shared
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%rbx
	cmpl	$0, -44(%rbp)
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	decq	%rbx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rbx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_issue_discard
	movq	%rbx, %r12
	testl	%eax, %eax
	je	LBB0_1
LBB0_14:
	movl	%eax, %r13d
LBB0_15:
	leaq	-48(%rbp), %rdi
	movl	%r13d, %esi
	callq	_end_discard
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_passdown_double_checking_shared_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function passdown_double_checking_shared_status
_passdown_double_checking_shared_status: ; @passdown_double_checking_shared_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x2, x1
	mov	w8, #1
	str	w8, [sp, #12]
	ldp	x8, x1, [x0, #16]
	ldr	x21, [x1]
	ldp	x19, x9, [x0]
	add	x9, x9, x19
	sub	x22, x9, x8
	add	x0, sp, #8
	bl	_begin_discard
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	cmp	x19, x22
	b.eq	LBB0_16
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	b.ge	LBB0_6
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21]
	add	x2, sp, #12
	mov	x1, x19
	bl	_dm_pool_block_is_shared
	cbnz	w0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x19, x19, #1
	cmp	x19, x22
	b.lt	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	x19, x22
	b.eq	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x19, #1
LBB0_8:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x22, x20
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x21]
	add	x2, sp, #12
	mov	x1, x20
	bl	_dm_pool_block_is_shared
	cbnz	w0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [sp, #12]
	add	x20, x20, #1
	cbz	w8, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	sub	x20, x20, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, x22
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_issue_discard
	mov	x1, x0
	mov	x19, x20
	cbz	w1, LBB0_1
	b	LBB0_15
LBB0_14:
	mov	x1, x0
LBB0_15:
	add	x0, sp, #8
	bl	_end_discard
	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
	add	sp, sp, #64
	ret
LBB0_16:
	mov	w1, #0
	b	LBB0_15
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_passdown_double_checking_shared_status
.subsections_via_symbols
