	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateAuxProcessResourceOwner  ## -- Begin function CreateAuxProcessResourceOwner
	.p2align	4, 0x90
_CreateAuxProcessResourceOwner:         ## @CreateAuxProcessResourceOwner
	.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	_AuxProcessResourceOwner@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	sete	%dil
	callq	_Assert
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_Assert
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_ResourceOwnerCreate
	movq	%rax, (%r14)
	movq	%rax, (%rbx)
	movq	_ReleaseAuxProcessResourcesCallback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_on_shmem_exit                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AuxProcessResourceOwner,8,3    ## @AuxProcessResourceOwner
	.comm	_CurrentResourceOwner,8,3       ## @CurrentResourceOwner
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AuxiliaryProcess"

	.comm	_ReleaseAuxProcessResourcesCallback,4,2 ## @ReleaseAuxProcessResourcesCallback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CreateAuxProcessResourceOwner  ; -- Begin function CreateAuxProcessResourceOwner
	.p2align	2
_CreateAuxProcessResourceOwner:         ; @CreateAuxProcessResourceOwner
	.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	x19, _AuxProcessResourceOwner@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AuxProcessResourceOwner@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh2:
	adrp	x20, _CurrentResourceOwner@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CurrentResourceOwner@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_ResourceOwnerCreate
	str	x0, [x19]
	str	x0, [x20]
Lloh6:
	adrp	x8, _ReleaseAuxProcessResourcesCallback@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ReleaseAuxProcessResourcesCallback@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_on_shmem_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AuxProcessResourceOwner,8,3    ; @AuxProcessResourceOwner
	.comm	_CurrentResourceOwner,8,3       ; @CurrentResourceOwner
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AuxiliaryProcess"

	.comm	_ReleaseAuxProcessResourcesCallback,4,2 ; @ReleaseAuxProcessResourcesCallback
.subsections_via_symbols
