	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_die_deactivate
_xpc_die_deactivate:                    ## @xpc_die_deactivate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_xpc_die_disconnecting@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_cmpxchg
	testq	%rax, %rax
	je	LBB0_1
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_xpc_exiting@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_xpc_arch_ops@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	callq	*32(%r15)
	movq	_xp_max_npartitions@GOTPCREL(%rip), %rax
	cmpw	$0, (%rax)
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	movq	_xpc_partitions@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%rbx, %r14
	movq	%r14, %rdi
	callq	*24(%r15)
	movq	%r14, %rdi
	callq	*16(%r15)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	_xp_max_npartitions@GOTPCREL(%rip), %rax
	movswq	(%rax), %rax
	addq	$8, %rbx
	cmpq	%rax, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r14
	movswl	%r12w, %edi
	callq	*8(%r15)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14,%r12,8), %rax
	movq	_XPC_P_AS_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	_xpc_disengage_timelimit@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_XPC_DEACTIVATE_PRINTMSG_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	*(%r15)
	testl	%eax, %eax
	je	LBB0_19
## %bb.8:
	imull	$5000, %ebx, %eax               ## imm = 0x1388
	movslq	%eax, %r14
	imull	$5000, %r12d, %eax              ## imm = 0x1388
	movslq	%eax, %rbx
	decq	%rbx
	movq	_xpc_part@GOTPCREL(%rip), %r13
	movabsq	$3777893186295716171, %r12      ## imm = 0x346DC5D63886594B
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$200, %edi
	callq	_udelay
	xorl	%eax, %eax
	callq	*(%r15)
	decq	%rbx
	testl	%eax, %eax
	je	LBB0_19
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$-1, %rbx
	je	LBB0_10
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	subq	$1, %r14
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rax
	imulq	%r12
	movl	(%r13), %edi
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$10, %rdx
	addq	%rax, %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_XPC_DEACTIVATE_PRINTMSG_INTERVAL@GOTPCREL(%rip), %rax
	imull	$5000, (%rax), %eax             ## imm = 0x1388
	movslq	%eax, %r14
	jmp	LBB0_18
LBB0_19:
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_10:
	movq	_xp_max_npartitions@GOTPCREL(%rip), %rax
	cmpw	$0, (%rax)
	jle	LBB0_15
## %bb.11:
	leaq	L_.str.1(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	movq	_xp_max_npartitions@GOTPCREL(%rip), %rax
	movswl	(%rax), %eax
	cmpl	%eax, %ebx
	jge	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movswl	%bx, %edi
	callq	*8(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_die_disconnecting,4,2      ## @xpc_die_disconnecting
	.comm	_xpc_exiting,4,2                ## @xpc_exiting
	.comm	_xpc_arch_ops,40,3              ## @xpc_arch_ops
	.comm	_xp_max_npartitions,2,1         ## @xp_max_npartitions
	.comm	_xpc_partitions,8,3             ## @xpc_partitions
	.comm	_XPC_P_AS_INACTIVE,8,3          ## @XPC_P_AS_INACTIVE
	.comm	_xpc_disengage_timelimit,4,2    ## @xpc_disengage_timelimit
	.comm	_XPC_DEACTIVATE_PRINTMSG_INTERVAL,4,2 ## @XPC_DEACTIVATE_PRINTMSG_INTERVAL
	.comm	_xpc_part,4,2                   ## @xpc_part
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"all partitions have deactivated\n"

L_.str.1:                               ## @.str.1
	.asciz	"deactivate from remote partition %d timed out\n"

L_.str.2:                               ## @.str.2
	.asciz	"waiting for remote partitions to deactivate, timeout in %ld seconds\n"

	.no_dead_strip	_xpc_die_deactivate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_die_deactivate
_xpc_die_deactivate:                    ; @xpc_die_deactivate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x0, _xpc_die_disconnecting@GOTPAGE
Lloh1:
	ldr	x0, [x0, _xpc_die_disconnecting@GOTPAGEOFF]
	mov	w19, #1
	mov	w1, #0
	mov	w2, #1
	bl	_cmpxchg
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
Lloh2:
	adrp	x8, _xpc_exiting@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xpc_exiting@GOTPAGEOFF]
Lloh4:
	str	w19, [x8]
Lloh5:
	adrp	x20, _xpc_arch_ops@GOTPAGE
Lloh6:
	ldr	x20, [x20, _xpc_arch_ops@GOTPAGEOFF]
	ldr	x8, [x20, #32]
	blr	x8
Lloh7:
	adrp	x21, _xp_max_npartitions@GOTPAGE
Lloh8:
	ldr	x21, [x21, _xp_max_npartitions@GOTPAGEOFF]
	ldrsh	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x22, #0
	mov	x23, #0
Lloh9:
	adrp	x24, _xpc_partitions@GOTPAGE
Lloh10:
	ldr	x24, [x24, _xpc_partitions@GOTPAGEOFF]
Lloh11:
	adrp	x25, _XPC_P_AS_INACTIVE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _XPC_P_AS_INACTIVE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, x22
	ldr	x8, [x20, #24]
	mov	x0, x19
	blr	x8
	ldr	x8, [x20, #16]
	mov	x0, x19
	blr	x8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldrsh	x8, [x21]
	add	x22, x22, #8
	cmp	x23, x8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x24]
	ldr	x8, [x20, #8]
	sxth	w0, w23
	blr	x8
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, x23, lsl #3]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_5
LBB0_8:
Lloh13:
	adrp	x8, _xpc_disengage_timelimit@GOTPAGE
Lloh14:
	ldr	x8, [x8, _xpc_disengage_timelimit@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
Lloh16:
	adrp	x23, _XPC_DEACTIVATE_PRINTMSG_INTERVAL@GOTPAGE
Lloh17:
	ldr	x23, [x23, _XPC_DEACTIVATE_PRINTMSG_INTERVAL@GOTPAGEOFF]
	ldr	w25, [x23]
	ldr	x8, [x20]
	blr	x8
Lloh18:
	adrp	x22, _xpc_part@GOTPAGE
Lloh19:
	ldr	x22, [x22, _xpc_part@GOTPAGEOFF]
	cbz	w0, LBB0_15
; %bb.9:
	mov	w24, #5000
	mul	w8, w25, w24
	sxtw	x27, w8
	mul	w8, w19, w24
	sxtw	x8, w8
	sub	x25, x8, #1
	mov	x26, #22859
	movk	x26, #14470, lsl #16
	movk	x26, #50646, lsl #32
	movk	x26, #13421, lsl #48
Lloh20:
	adrp	x19, l_.str.2@PAGE
Lloh21:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x27, x27, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #200
	bl	_udelay
	ldr	x8, [x20]
	blr	x8
	sub	x25, x25, #1
	cbz	w0, LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cmn	x25, #1
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cbnz	x27, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x22]
	smulh	x8, x25, x26
	asr	x9, x8, #10
	add	x8, x9, x8, lsr #63
	str	x8, [sp]
	mov	x1, x19
	bl	_dev_info
	ldr	w8, [x23]
	mul	w8, w8, w24
	sxtw	x27, w8
	b	LBB0_11
LBB0_15:
	ldr	w0, [x22]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dev_info
LBB0_16:
	ldrsh	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.17:
	mov	w23, #0
Lloh24:
	adrp	x19, l_.str.1@PAGE
Lloh25:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	w23, w23, #1
	ldrsh	w8, [x21]
	cmp	w23, w8
	b.ge	LBB0_1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	sxth	w0, w23
	blr	x8
	cbz	x0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x22]
	str	x23, [sp]
	mov	x1, x19
	bl	_dev_info
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_die_disconnecting,4,2      ; @xpc_die_disconnecting
	.comm	_xpc_exiting,4,2                ; @xpc_exiting
	.comm	_xpc_arch_ops,40,3              ; @xpc_arch_ops
	.comm	_xp_max_npartitions,2,1         ; @xp_max_npartitions
	.comm	_xpc_partitions,8,3             ; @xpc_partitions
	.comm	_XPC_P_AS_INACTIVE,8,3          ; @XPC_P_AS_INACTIVE
	.comm	_xpc_disengage_timelimit,4,2    ; @xpc_disengage_timelimit
	.comm	_XPC_DEACTIVATE_PRINTMSG_INTERVAL,4,2 ; @XPC_DEACTIVATE_PRINTMSG_INTERVAL
	.comm	_xpc_part,4,2                   ; @xpc_part
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"all partitions have deactivated\n"

l_.str.1:                               ; @.str.1
	.asciz	"deactivate from remote partition %d timed out\n"

l_.str.2:                               ; @.str.2
	.asciz	"waiting for remote partitions to deactivate, timeout in %ld seconds\n"

	.no_dead_strip	_xpc_die_deactivate
.subsections_via_symbols
