	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsm_create_descriptor
_dsm_create_descriptor:                 ## @dsm_create_descriptor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_ResourceOwnerEnlargeDSMs
LBB0_2:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$48, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %rbx
	leaq	44(%rax), %rsi
	movq	_dsm_segment_list@GOTPCREL(%rip), %rdi
	callq	_dlist_push_head
	movq	_INVALID_CONTROL_SLOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	movq	(%r14), %rdi
	movq	%rdi, 8(%rbx)
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rsi
	callq	_ResourceOwnerRememberDSM
LBB0_4:
	movq	%rbx, %rdi
	callq	_slist_init
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentResourceOwner,8,3       ## @CurrentResourceOwner
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_dsm_segment_list,4,2           ## @dsm_segment_list
	.comm	_INVALID_CONTROL_SLOT,4,2       ## @INVALID_CONTROL_SLOT
	.no_dead_strip	_dsm_create_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsm_create_descriptor
_dsm_create_descriptor:                 ; @dsm_create_descriptor
	.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
Lloh0:
	adrp	x20, _CurrentResourceOwner@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CurrentResourceOwner@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_ResourceOwnerEnlargeDSMs
LBB0_2:
Lloh2:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #48
	bl	_MemoryContextAlloc
	mov	x19, x0
	add	x1, x0, #44
Lloh5:
	adrp	x0, _dsm_segment_list@GOTPAGE
Lloh6:
	ldr	x0, [x0, _dsm_segment_list@GOTPAGEOFF]
	bl	_dlist_push_head
Lloh7:
	adrp	x8, _INVALID_CONTROL_SLOT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INVALID_CONTROL_SLOT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	stp	xzr, xzr, [x19, #24]
	ldr	x0, [x20]
	stp	x0, xzr, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x19
	bl	_ResourceOwnerRememberDSM
LBB0_4:
	mov	x0, x19
	bl	_slist_init
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentResourceOwner,8,3       ; @CurrentResourceOwner
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_dsm_segment_list,4,2           ; @dsm_segment_list
	.comm	_INVALID_CONTROL_SLOT,4,2       ; @INVALID_CONTROL_SLOT
	.no_dead_strip	_dsm_create_descriptor
.subsections_via_symbols
