	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_disconnect                 ## -- Begin function xpc_disconnect
	.p2align	4, 0x90
_xpc_disconnect:                        ## @xpc_disconnect
	.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
	movl	%edi, %r15d
	testl	%edi, %edi
	sets	%al
	movq	_XPC_MAX_NCHANNELS@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	setle	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_DBUG_ON
	movq	_xpc_registrations@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movslq	%r15d, %rax
	imulq	$56, %rax, %rbx
	leaq	(%r12,%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 48(%r12,%rbx)
	je	LBB0_3
## %bb.1:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r12,%rbx)
	movups	%xmm0, 24(%r12,%rbx)
	movups	%xmm0, 8(%r12,%rbx)
	movq	_xpc_interface@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	callq	*%rax
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XPC_MAX_NCHANNELS,4,2          ## @XPC_MAX_NCHANNELS
	.comm	_xpc_registrations,8,3          ## @xpc_registrations
	.comm	_xpc_interface,8,3              ## @xpc_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_disconnect                 ; -- Begin function xpc_disconnect
	.p2align	2
_xpc_disconnect:                        ; @xpc_disconnect
	.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
	mov	x19, x0
	cmp	w0, #0
Lloh0:
	adrp	x8, _XPC_MAX_NCHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPC_MAX_NCHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, w0, #4, ge
	cset	w0, le
	bl	_DBUG_ON
Lloh3:
	adrp	x8, _xpc_registrations@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xpc_registrations@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	mov	w8, #56
	smaddl	x20, w19, w8, x21
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_3
; %bb.1:
	sxtw	x8, w19
	mov	w9, #56
	madd	x8, x8, x9, x21
	movi.2d	v0, #0000000000000000
	stur	q0, [x8, #40]
	stur	q0, [x8, #24]
	stur	q0, [x8, #8]
Lloh6:
	adrp	x8, _xpc_interface@GOTPAGE
Lloh7:
	ldr	x8, [x8, _xpc_interface@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	blr	x8
LBB0_3:
	mov	x0, x20
	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
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_XPC_MAX_NCHANNELS,4,2          ; @XPC_MAX_NCHANNELS
	.comm	_xpc_registrations,8,3          ; @xpc_registrations
	.comm	_xpc_interface,8,3              ; @xpc_interface
.subsections_via_symbols
