	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_partition_disengaged       ## -- Begin function xpc_partition_disengaged
	.p2align	4, 0x90
_xpc_partition_disengaged:              ## @xpc_partition_disengaged
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_XPC_PARTID
	movq	_xpc_arch_ops@GOTPCREL(%rip), %r15
	movswl	%ax, %r14d
	movl	%r14d, %edi
	callq	*16(%r15)
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%dl
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.3:
	callq	_time_is_after_jiffies
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.4:
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_info
	movq	_xpc_disengage_timedout@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	%r14d, %edi
	callq	*8(%r15)
LBB0_5:
	movq	$0, 16(%rbx)
	xorl	%eax, %eax
	callq	_in_interrupt
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	8(%rbx), %rdi
	callq	_del_singleshot_timer_sync
LBB0_7:
	movq	(%rbx), %rax
	movq	_XPC_P_AS_DEACTIVATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%cl
	movq	_XPC_P_AS_INACTIVE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_DBUG_ON
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_xpc_wakeup_channel_mgr
LBB0_9:
	movq	%rbx, %rdi
	callq	*(%r15)
	movl	$1, %eax
	jmp	LBB0_10
LBB0_1:
	movb	%dl, %al
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_arch_ops,24,3              ## @xpc_arch_ops
	.comm	_xpc_part,4,2                   ## @xpc_part
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deactivate request to remote partition %d timed out\n"

	.comm	_xpc_disengage_timedout,4,2     ## @xpc_disengage_timedout
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ## @XPC_P_AS_DEACTIVATING
	.comm	_XPC_P_AS_INACTIVE,8,3          ## @XPC_P_AS_INACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_partition_disengaged       ; -- Begin function xpc_partition_disengaged
	.p2align	2
_xpc_partition_disengaged:              ; @xpc_partition_disengaged
	.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
	bl	_XPC_PARTID
	mov	x20, x0
Lloh0:
	adrp	x21, _xpc_arch_ops@GOTPAGE
Lloh1:
	ldr	x21, [x21, _xpc_arch_ops@GOTPAGEOFF]
	ldr	x8, [x21, #16]
	blr	x8
	mov	x9, x0
	cmp	w0, #0
	cset	w0, eq
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.1:
	cbz	w9, LBB0_5
; %bb.2:
	mov	x0, x8
	bl	_time_is_after_jiffies
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_10
LBB0_4:
Lloh2:
	adrp	x8, _xpc_part@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xpc_part@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_info
Lloh7:
	adrp	x8, _xpc_disengage_timedout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _xpc_disengage_timedout@GOTPAGEOFF]
	mov	w9, #1
Lloh9:
	str	w9, [x8]
	ldr	x8, [x21, #8]
	mov	x0, x20
	blr	x8
LBB0_5:
	str	xzr, [x19, #16]
	bl	_in_interrupt
	cbnz	w0, LBB0_7
; %bb.6:
	add	x0, x19, #8
	bl	_del_singleshot_timer_sync
LBB0_7:
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _XPC_P_AS_DEACTIVATING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _XPC_P_AS_DEACTIVATING@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh13:
	adrp	x20, _XPC_P_AS_INACTIVE@GOTPAGE
Lloh14:
	ldr	x20, [x20, _XPC_P_AS_INACTIVE@GOTPAGEOFF]
	ldr	x9, [x20]
	ccmp	x8, x9, #4, ne
	cset	w0, ne
	bl	_DBUG_ON
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_xpc_wakeup_channel_mgr
LBB0_9:
	ldr	x8, [x21]
	mov	x0, x19
	blr	x8
	mov	w0, #1
LBB0_10:
	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 AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_arch_ops,24,3              ; @xpc_arch_ops
	.comm	_xpc_part,4,2                   ; @xpc_part
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deactivate request to remote partition %d timed out\n"

	.comm	_xpc_disengage_timedout,4,2     ; @xpc_disengage_timedout
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ; @XPC_P_AS_DEACTIVATING
	.comm	_XPC_P_AS_INACTIVE,8,3          ; @XPC_P_AS_INACTIVE
.subsections_via_symbols
