	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_identify_activate_IRQ_req_sn2
_xpc_identify_activate_IRQ_req_sn2:     ## @xpc_identify_activate_IRQ_req_sn2
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	_xpc_remote_copy_buffer_sn2@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	leaq	-88(%rbp), %rcx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_xpc_get_remote_rp
	movq	_xpSuccess@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_1
## %bb.2:
	movq	24(%rbx), %rdi
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -80(%rbp)
	movswq	16(%rbx), %rcx
	movq	_xpc_partitions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,4), %rbx
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rbx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_xpc_get_remote_vars_sn2
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.4:
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	28(%r14,%rbx,8), %r8d
	incl	%r8d
	movl	%r8d, 28(%r14,%rbx,8)
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r13), %r9d
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_dev_dbg
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_xpc_partition_disengaged
	testq	%rax, %rax
	movq	%r14, %r12
	movq	%rbx, %r14
	je	LBB0_8
## %bb.5:
	movq	(%r15), %rax
	movq	_XPC_P_AS_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	-88(%rbp), %rcx
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	callq	_xpc_update_partition_info_sn2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_xpc_partition_deactivation_requested_sn2
	testl	%eax, %eax
	jne	LBB0_18
## %bb.7:
	movq	%r15, %rdi
	callq	_xpc_activate_partition
	jmp	LBB0_18
LBB0_1:
	movq	_xpc_part@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_dev_warn
	jmp	LBB0_18
LBB0_3:
	movl	%eax, %r14d
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_dev_warn
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	jmp	LBB0_17
LBB0_8:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	$0, 24(%r12,%r14,8)
	sete	%dil
	callq	_DBUG_ON
	xorl	%edi, %edi
	cmpq	$0, 32(%r12,%r14,8)
	sete	%dil
	callq	_DBUG_ON
	movq	%r12, %r13
	movq	%r12, %rbx
	movq	%r14, %r12
	movq	8(%rbx,%r14,8), %r14
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	cmpq	%r14, %rbx
	je	LBB0_10
## %bb.9:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edi
	callq	_xpc_partition_engaged_sn2
	movl	%eax, %edi
	callq	_DBUG_ON
	movl	%r15d, %edi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	callq	_xpc_partition_deactivation_requested_sn2
	movl	%eax, %edi
	callq	_DBUG_ON
	movq	-88(%rbp), %rcx
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	callq	_xpc_update_partition_info_sn2
LBB0_10:
	cmpq	$0, 16(%r13,%r12,8)
	jle	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_xpc_partition_disengaged
	testq	%rax, %rax
	je	LBB0_18
LBB0_12:
	cmpq	%r14, %rbx
	jne	LBB0_13
## %bb.14:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_xpc_partition_deactivation_requested_sn2
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movq	_xpOtherGoingDown@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_xpReactivating@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	movq	%r15, %rdi
LBB0_17:
	callq	_XPC_DEACTIVATE_PARTITION
LBB0_18:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_remote_copy_buffer_sn2,8,3 ## @xpc_remote_copy_buffer_sn2
	.comm	_xpSuccess,4,2                  ## @xpSuccess
	.comm	_xpc_part,4,2                   ## @xpc_part
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get reserved page from nasid %d, which sent interrupt, reason=%d\n"

	.comm	_xpc_partitions,8,3             ## @xpc_partitions
L_.str.1:                               ## @.str.1
	.asciz	"unable to get XPC variables from nasid %d, which sent interrupt, reason=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"partid for nasid %d is %d; IRQs = %d; HB = %lld:0x%lx\n"

	.comm	_XPC_P_AS_INACTIVE,8,3          ## @XPC_P_AS_INACTIVE
	.comm	_xpReactivating,4,2             ## @xpReactivating
	.comm	_xpOtherGoingDown,4,2           ## @xpOtherGoingDown
	.no_dead_strip	_xpc_identify_activate_IRQ_req_sn2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_identify_activate_IRQ_req_sn2
_xpc_identify_activate_IRQ_req_sn2:     ; @xpc_identify_activate_IRQ_req_sn2
	.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
	mov	x24, x0
Lloh0:
	adrp	x23, _xpc_remote_copy_buffer_sn2@GOTPAGE
Lloh1:
	ldr	x23, [x23, _xpc_remote_copy_buffer_sn2@GOTPAGEOFF]
	ldr	x19, [x23]
	add	x3, sp, #8
	mov	x1, #0
	mov	x2, x19
	bl	_xpc_get_remote_rp
Lloh2:
	adrp	x28, _xpSuccess@GOTPAGE
Lloh3:
	ldr	x28, [x28, _xpSuccess@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.1:
	ldr	x21, [x19, #24]
	ldr	w22, [x19]
	ldr	x26, [x19, #8]
	str	x26, [sp]
	ldrsh	x20, [x19, #16]
Lloh4:
	adrp	x8, _xpc_partitions@GOTPAGE
Lloh5:
	ldr	x8, [x8, _xpc_partitions@GOTPAGEOFF]
Lloh6:
	ldr	x27, [x8]
	mov	w8, #40
	madd	x19, x20, x8, x27
	ldr	x23, [x23]
	mov	x0, x21
	mov	x1, x23
	bl	_xpc_get_remote_vars_sn2
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.2:
	mov	w8, #40
	madd	x8, x20, x8, x27
	ldr	w9, [x8, #28]
	add	w4, w9, #1
	str	w4, [x8, #28]
Lloh7:
	adrp	x8, _xpc_part@GOTPAGE
Lloh8:
	ldr	x8, [x8, _xpc_part@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w5, [x23, #8]
	ldr	x8, [x23]
	ldr	w6, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	mov	x3, x20
	bl	_dev_dbg
	mov	x0, x19
	bl	_xpc_partition_disengaged
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _XPC_P_AS_INACTIVE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XPC_P_AS_INACTIVE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	x3, [sp, #8]
	mov	x2, sp
	mov	x0, x19
	mov	x1, x22
	mov	x4, x21
	mov	x5, x23
	bl	_xpc_update_partition_info_sn2
	mov	x0, x20
	bl	_xpc_partition_deactivation_requested_sn2
	cbnz	w0, LBB0_18
; %bb.5:
	mov	x0, x19
	bl	_xpc_activate_partition
	b	LBB0_18
LBB0_6:
	mov	x3, x0
Lloh15:
	adrp	x8, _xpc_part@GOTPAGE
Lloh16:
	ldr	x8, [x8, _xpc_part@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_dev_warn
	b	LBB0_18
LBB0_7:
	mov	x25, x0
Lloh20:
	adrp	x8, _xpc_part@GOTPAGE
Lloh21:
	ldr	x8, [x8, _xpc_part@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_dev_warn
	mov	x0, x19
	mov	x1, x25
	b	LBB0_17
LBB0_8:
	mov	w8, #40
	madd	x24, x20, x8, x27
	ldr	w8, [x24, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_DBUG_ON
	ldr	x8, [x24, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_DBUG_ON
	ldr	x24, [x24, #8]
	cmp	x26, x24
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_xpc_partition_engaged_sn2
	bl	_DBUG_ON
	mov	x0, x20
	bl	_xpc_partition_deactivation_requested_sn2
	bl	_DBUG_ON
	ldr	x3, [sp, #8]
	mov	x2, sp
	mov	x0, x19
	mov	x1, x22
	mov	x4, x21
	mov	x5, x23
	bl	_xpc_update_partition_info_sn2
LBB0_10:
	mov	w8, #40
	madd	x8, x20, x8, x27
	ldr	x8, [x8, #16]
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_xpc_partition_disengaged
	cbz	x0, LBB0_18
LBB0_12:
	cmp	x26, x24
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x20
	bl	_xpc_partition_deactivation_requested_sn2
	cbz	w0, LBB0_18
; %bb.14:
Lloh25:
	adrp	x8, _xpOtherGoingDown@GOTPAGE
Lloh26:
	ldr	x8, [x8, _xpOtherGoingDown@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh27:
	adrp	x8, _xpReactivating@GOTPAGE
Lloh28:
	ldr	x8, [x8, _xpReactivating@GOTPAGEOFF]
LBB0_16:
	ldr	w1, [x8]
	mov	x0, x19
LBB0_17:
	bl	_XPC_DEACTIVATE_PARTITION
LBB0_18:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_remote_copy_buffer_sn2,8,3 ; @xpc_remote_copy_buffer_sn2
	.comm	_xpSuccess,4,2                  ; @xpSuccess
	.comm	_xpc_part,4,2                   ; @xpc_part
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get reserved page from nasid %d, which sent interrupt, reason=%d\n"

	.comm	_xpc_partitions,8,3             ; @xpc_partitions
l_.str.1:                               ; @.str.1
	.asciz	"unable to get XPC variables from nasid %d, which sent interrupt, reason=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"partid for nasid %d is %d; IRQs = %d; HB = %lld:0x%lx\n"

	.comm	_XPC_P_AS_INACTIVE,8,3          ; @XPC_P_AS_INACTIVE
	.comm	_xpReactivating,4,2             ; @xpReactivating
	.comm	_xpOtherGoingDown,4,2           ; @xpOtherGoingDown
	.no_dead_strip	_xpc_identify_activate_IRQ_req_sn2
.subsections_via_symbols
