	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_deactivate_partition       ## -- Begin function xpc_deactivate_partition
	.p2align	4, 0x90
_xpc_deactivate_partition:              ## @xpc_deactivate_partition
	.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	%edx, %r14d
	movq	%rsi, %rbx
	movl	%edi, %r12d
	leaq	32(%rsi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	movq	_XPC_P_AS_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_XPC_SET_REASON
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_xpReactivating@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_9
## %bb.2:
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*8(%rax)                        ## TAILCALL
LBB0_3:
	movq	_XPC_P_AS_DEACTIVATING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_8
## %bb.4:
	movq	_xpUnloading@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%rbx)
	sete	%cl
	movl	%r14d, %edx
	cmpq	%rdx, %rax
	setne	%al
	testb	%al, %cl
	jne	LBB0_6
## %bb.5:
	movq	_xpReactivating@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_XPC_SET_REASON
LBB0_7:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rcx, (%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_XPC_SET_REASON
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_xpc_disengage_timelimit@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rcx, %rdx
	addq	(%rax), %rdx
	movq	%rdx, 24(%rbx)
	leaq	16(%rbx), %rdi
	movq	%rdx, 16(%rbx)
	callq	_add_timer
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_XPC_PARTID
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_dev_dbg
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xpc_partition_going_down       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XPC_P_AS_INACTIVE,8,3          ## @XPC_P_AS_INACTIVE
	.comm	_xpReactivating,4,2             ## @xpReactivating
	.comm	_xpc_arch_ops,16,3              ## @xpc_arch_ops
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ## @XPC_P_AS_DEACTIVATING
	.comm	_xpUnloading,8,3                ## @xpUnloading
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_xpc_disengage_timelimit,4,2    ## @xpc_disengage_timelimit
	.comm	_HZ,4,2                         ## @HZ
	.comm	_xpc_part,4,2                   ## @xpc_part
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bringing partition %d down, reason = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xpc_deactivate_partition       ; -- Begin function xpc_deactivate_partition
	.p2align	2
_xpc_deactivate_partition:              ; @xpc_deactivate_partition
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	add	x21, x1, #32
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _XPC_P_AS_INACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XPC_P_AS_INACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_XPC_SET_REASON
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh3:
	adrp	x8, _xpReactivating@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xpReactivating@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8, #8]
	mov	x0, x19
	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
	br	x1
LBB0_3:
Lloh9:
	adrp	x9, _XPC_P_AS_DEACTIVATING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _XPC_P_AS_DEACTIVATING@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _xpUnloading@GOTPAGE
Lloh13:
	ldr	x9, [x9, _xpUnloading@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, w20, uxtw
	ccmp	x8, x9, #0, ne
Lloh15:
	adrp	x8, _xpReactivating@GOTPAGE
Lloh16:
	ldr	x8, [x8, _xpReactivating@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ccmp	w8, w20, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_XPC_SET_REASON
LBB0_6:
	mov	x0, x21
	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	_spin_unlock_irqrestore
LBB0_7:
	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
LBB0_8:
	str	x9, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_XPC_SET_REASON
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh18:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh19:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
Lloh21:
	adrp	x8, _jiffies@GOTPAGE
Lloh22:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _xpc_disengage_timelimit@GOTPAGE
Lloh25:
	ldr	x9, [x9, _xpc_disengage_timelimit@GOTPAGEOFF]
Lloh26:
	ldrsw	x9, [x9]
Lloh27:
	adrp	x10, _HZ@GOTPAGE
Lloh28:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh29:
	ldrsw	x10, [x10]
	madd	x8, x10, x9, x8
	str	x8, [x19, #24]
	mov	x0, x19
	str	x8, [x0, #16]!
	bl	_add_timer
Lloh30:
	adrp	x8, _xpc_part@GOTPAGE
Lloh31:
	ldr	x8, [x8, _xpc_part@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_XPC_PARTID
	mov	x2, x0
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_dev_dbg
	mov	x0, x19
	mov	x1, 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	_xpc_partition_going_down
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_XPC_P_AS_INACTIVE,8,3          ; @XPC_P_AS_INACTIVE
	.comm	_xpReactivating,4,2             ; @xpReactivating
	.comm	_xpc_arch_ops,16,3              ; @xpc_arch_ops
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ; @XPC_P_AS_DEACTIVATING
	.comm	_xpUnloading,8,3                ; @xpUnloading
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_xpc_disengage_timelimit,4,2    ; @xpc_disengage_timelimit
	.comm	_HZ,4,2                         ; @HZ
	.comm	_xpc_part,4,2                   ; @xpc_part
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bringing partition %d down, reason = %d\n"

.subsections_via_symbols
