	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_client_process_attach          ## -- Begin function client_process_attach
	.p2align	4, 0x90
_client_process_attach:                 ## @client_process_attach
	.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	_client_tls@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_platform_tls_create
	movq	%rax, %rcx
	movq	_KHR_SUCCESS@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpq	(%rbx), %rcx
	jne	LBB0_5
## %bb.1:
	movq	_client_mutex@GOTPCREL(%rip), %rdi
	callq	_platform_mutex_create
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_RPC_INIT
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_client_mutex@GOTPCREL(%rip), %rdi
	callq	_platform_mutex_destroy
LBB0_4:
	movl	(%r14), %edi
	callq	_platform_tls_destroy
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_client_tls,4,2                 ## @client_tls
	.comm	_KHR_SUCCESS,8,3                ## @KHR_SUCCESS
	.comm	_client_mutex,4,2               ## @client_mutex
	.comm	_client_tls_mutex,4,2           ## @client_tls_mutex
	.comm	_client_tls_process,4,2         ## @client_tls_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_client_process_attach          ; -- Begin function client_process_attach
	.p2align	2
_client_process_attach:                 ; @client_process_attach
	.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, _client_tls@GOTPAGE
Lloh1:
	ldr	x19, [x19, _client_tls@GOTPAGEOFF]
	mov	x0, x19
	bl	_platform_tls_create
Lloh2:
	adrp	x20, _KHR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _KHR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
Lloh4:
	adrp	x0, _client_mutex@GOTPAGE
Lloh5:
	ldr	x0, [x0, _client_mutex@GOTPAGEOFF]
	bl	_platform_mutex_create
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	bl	_RPC_INIT
	cbz	w0, LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x0, _client_mutex@GOTPAGE
Lloh7:
	ldr	x0, [x0, _client_mutex@GOTPAGEOFF]
	bl	_platform_mutex_destroy
LBB0_5:
	ldr	w0, [x19]
	bl	_platform_tls_destroy
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_client_tls,4,2                 ; @client_tls
	.comm	_KHR_SUCCESS,8,3                ; @KHR_SUCCESS
	.comm	_client_mutex,4,2               ; @client_mutex
	.comm	_client_tls_mutex,4,2           ; @client_tls_mutex
	.comm	_client_tls_process,4,2         ; @client_tls_process
.subsections_via_symbols
