	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecHashTableDetach            ## -- Begin function ExecHashTableDetach
	.p2align	4, 0x90
_ExecHashTableDetach:                   ## @ExecHashTableDetach
	.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	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.3:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rax,%rbx,8), %edi
	callq	_sts_end_write
	movq	24(%r15), %rax
	movl	-8(%rax,%rbx,8), %edi
	callq	_sts_end_write
	movq	24(%r15), %rax
	movl	-4(%rax,%rbx,8), %edi
	callq	_sts_end_parallel_scan
	movq	24(%r15), %rax
	movl	-8(%rax,%rbx,8), %edi
	callq	_sts_end_parallel_scan
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r15), %rax
	incq	%rbx
	jmp	LBB0_4
LBB0_6:
	leaq	4(%r14), %rdi
	callq	_BarrierDetach
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movl	(%r14), %edi
	callq	_DsaPointerIsValid
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	16(%r15), %edi
	movl	(%r14), %esi
	callq	_dsa_free
	movq	_InvalidDsaPointer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_9:
	movq	$0, 8(%r15)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidDsaPointer,4,2          ## @InvalidDsaPointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecHashTableDetach            ; -- Begin function ExecHashTableDetach
	.p2align	2
_ExecHashTableDetach:                   ; @ExecHashTableDetach
	.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
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x21, #0
	mov	w22, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	bl	_sts_end_write
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x21]
	bl	_sts_end_write
	ldr	x8, [x19, #24]
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	bl	_sts_end_parallel_scan
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x21]
	bl	_sts_end_parallel_scan
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	add	x21, x21, #8
	add	x22, x22, #1
	b	LBB0_4
LBB0_6:
	add	x0, x20, #4
	bl	_BarrierDetach
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x20]
	bl	_DsaPointerIsValid
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x19, #16]
	ldr	w1, [x20]
	bl	_dsa_free
Lloh0:
	adrp	x8, _InvalidDsaPointer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidDsaPointer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_9:
	str	xzr, [x19, #8]
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidDsaPointer,4,2          ; @InvalidDsaPointer
.subsections_via_symbols
