	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsm_backend_shutdown           ## -- Begin function dsm_backend_shutdown
	.p2align	4, 0x90
_dsm_backend_shutdown:                  ## @dsm_backend_shutdown
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_dsm_segment_list@GOTPCREL(%rip), %rdi
	callq	_dlist_is_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_dsm_segment@GOTPCREL(%rip), %r14
	movq	_node@GOTPCREL(%rip), %r15
	movq	_dsm_segment_list@GOTPCREL(%rip), %rbx
	movq	_seg@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	(%r15), %esi
	movq	%rbx, %rdx
	callq	_dlist_head_element
	movl	%eax, (%r12)
	movl	%eax, %edi
	callq	_dsm_detach
	movq	%rbx, %rdi
	callq	_dlist_is_empty
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dsm_segment_list,4,2           ## @dsm_segment_list
	.comm	_dsm_segment,4,2                ## @dsm_segment
	.comm	_seg,4,2                        ## @seg
	.comm	_node,4,2                       ## @node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsm_backend_shutdown           ; -- Begin function dsm_backend_shutdown
	.p2align	2
_dsm_backend_shutdown:                  ; @dsm_backend_shutdown
	.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
Lloh0:
	adrp	x0, _dsm_segment_list@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dsm_segment_list@GOTPAGEOFF]
	bl	_dlist_is_empty
	cbnz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x20, _dsm_segment@GOTPAGE
Lloh3:
	ldr	x20, [x20, _dsm_segment@GOTPAGEOFF]
Lloh4:
	adrp	x21, _node@GOTPAGE
Lloh5:
	ldr	x21, [x21, _node@GOTPAGEOFF]
Lloh6:
	adrp	x19, _dsm_segment_list@GOTPAGE
Lloh7:
	ldr	x19, [x19, _dsm_segment_list@GOTPAGEOFF]
Lloh8:
	adrp	x22, _seg@GOTPAGE
Lloh9:
	ldr	x22, [x22, _seg@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	x2, x19
	bl	_dlist_head_element
	str	w0, [x22]
	bl	_dsm_detach
	mov	x0, x19
	bl	_dlist_is_empty
	cbz	w0, LBB0_2
LBB0_3:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_dsm_segment_list,4,2           ; @dsm_segment_list
	.comm	_dsm_segment,4,2                ; @dsm_segment
	.comm	_seg,4,2                        ; @seg
	.comm	_node,4,2                       ; @node
.subsections_via_symbols
