	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_process_activate_IRQ_rcvd_uv
_xpc_process_activate_IRQ_rcvd_uv:      ## @xpc_process_activate_IRQ_rcvd_uv
	.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_activate_IRQ_rcvd@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_DBUG_ON
	movq	_xpc_activate_IRQ_rcvd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_XP_MAX_NPARTITIONS_UV@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	testw	%ax, %ax
	jle	LBB0_18
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_xpc_activate_partition
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rbx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpc_activate_IRQ_rcvd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, (%rbx)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_XP_MAX_NPARTITIONS_UV@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movswq	%ax, %rcx
	addq	$24, %r12
	cmpq	%rcx, %r13
	jge	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_xpc_partitions@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	cmpq	$0, 8(%r14,%r12)
	je	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	setle	%dil
	callq	_BUG_ON
	movq	8(%r14,%r12), %r15
	movq	$0, 8(%r14,%r12)
	movq	_xpc_activate_IRQ_rcvd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	_XPC_P_ASR_ACTIVATE_UV@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14,%r12), %rax
	movq	_XPC_P_AS_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_P_AS_DEACTIVATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rbx
	jne	LBB0_15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_P_ASR_REACTIVATE_UV@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14,%r12), %rax
	movq	_XPC_P_AS_INACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rbx
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_xpc_activate_partition
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XPC_P_ASR_DEACTIVATE_UV@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14,%r12), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_XPC_DEACTIVATE_PARTITION
	jmp	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpReactivating@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_XPC_DEACTIVATE_PARTITION
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_14
LBB0_18:
	movq	_xpc_activate_IRQ_rcvd_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_xpc_activate_IRQ_rcvd,8,3      ## @xpc_activate_IRQ_rcvd
	.comm	_xpc_activate_IRQ_rcvd_lock,4,2 ## @xpc_activate_IRQ_rcvd_lock
	.comm	_XP_MAX_NPARTITIONS_UV,2,1      ## @XP_MAX_NPARTITIONS_UV
	.comm	_xpc_partitions,8,3             ## @xpc_partitions
	.comm	_XPC_P_ASR_ACTIVATE_UV,8,3      ## @XPC_P_ASR_ACTIVATE_UV
	.comm	_XPC_P_AS_INACTIVE,8,3          ## @XPC_P_AS_INACTIVE
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ## @XPC_P_AS_DEACTIVATING
	.comm	_xpReactivating,4,2             ## @xpReactivating
	.comm	_XPC_P_ASR_REACTIVATE_UV,8,3    ## @XPC_P_ASR_REACTIVATE_UV
	.comm	_XPC_P_ASR_DEACTIVATE_UV,8,3    ## @XPC_P_ASR_DEACTIVATE_UV
	.no_dead_strip	_xpc_process_activate_IRQ_rcvd_uv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_process_activate_IRQ_rcvd_uv
_xpc_process_activate_IRQ_rcvd_uv:      ; @xpc_process_activate_IRQ_rcvd_uv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, _xpc_activate_IRQ_rcvd@GOTPAGE
Lloh1:
	ldr	x21, [x21, _xpc_activate_IRQ_rcvd@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
	bl	_DBUG_ON
Lloh2:
	adrp	x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh4:
	adrp	x22, _XP_MAX_NPARTITIONS_UV@GOTPAGE
Lloh5:
	ldr	x22, [x22, _XP_MAX_NPARTITIONS_UV@GOTPAGEOFF]
	ldrsh	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh6:
	adrp	x25, _xpc_partitions@GOTPAGE
Lloh7:
	ldr	x25, [x25, _xpc_partitions@GOTPAGEOFF]
Lloh8:
	adrp	x19, _xpc_activate_IRQ_rcvd_lock@GOTPAGE
Lloh9:
	ldr	x19, [x19, _xpc_activate_IRQ_rcvd_lock@GOTPAGEOFF]
Lloh10:
	adrp	x26, _XPC_P_ASR_ACTIVATE_UV@GOTPAGE
Lloh11:
	ldr	x26, [x26, _XPC_P_ASR_ACTIVATE_UV@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_xpc_activate_partition
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	cbz	x8, LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrh	w8, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	add	x23, x23, #24
	cmp	x24, w8, sxth
	b.ge	LBB0_17
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x25]
	add	x20, x28, x23
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	subs	x8, x8, #1
	str	x8, [x21]
	cset	w0, lt
	bl	_BUG_ON
	ldr	x27, [x20, #8]
	str	xzr, [x20, #8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x8, [x26]
	cmp	x27, x8
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x28, x23]
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.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x9, _XPC_P_AS_DEACTIVATING@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XPC_P_AS_DEACTIVATING@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh18:
	adrp	x8, _XPC_P_ASR_REACTIVATE_UV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XPC_P_ASR_REACTIVATE_UV@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x28, x23]
Lloh21:
	adrp	x9, _XPC_P_AS_INACTIVE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _XPC_P_AS_INACTIVE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x8, _xpReactivating@GOTPAGE
Lloh25:
	ldr	x8, [x8, _xpReactivating@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh27:
	adrp	x8, _XPC_P_ASR_DEACTIVATE_UV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XPC_P_ASR_DEACTIVATE_UV@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x28, x23
	ldr	w1, [x8, #16]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_XPC_DEACTIVATE_PARTITION
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_BUG
	b	LBB0_3
LBB0_17:
Lloh30:
	adrp	x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGE
Lloh31:
	ldr	x0, [x0, _xpc_activate_IRQ_rcvd_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_xpc_activate_IRQ_rcvd,8,3      ; @xpc_activate_IRQ_rcvd
	.comm	_xpc_activate_IRQ_rcvd_lock,4,2 ; @xpc_activate_IRQ_rcvd_lock
	.comm	_XP_MAX_NPARTITIONS_UV,2,1      ; @XP_MAX_NPARTITIONS_UV
	.comm	_xpc_partitions,8,3             ; @xpc_partitions
	.comm	_XPC_P_ASR_ACTIVATE_UV,8,3      ; @XPC_P_ASR_ACTIVATE_UV
	.comm	_XPC_P_AS_INACTIVE,8,3          ; @XPC_P_AS_INACTIVE
	.comm	_XPC_P_AS_DEACTIVATING,8,3      ; @XPC_P_AS_DEACTIVATING
	.comm	_xpReactivating,4,2             ; @xpReactivating
	.comm	_XPC_P_ASR_REACTIVATE_UV,8,3    ; @XPC_P_ASR_REACTIVATE_UV
	.comm	_XPC_P_ASR_DEACTIVATE_UV,8,3    ; @XPC_P_ASR_DEACTIVATE_UV
	.no_dead_strip	_xpc_process_activate_IRQ_rcvd_uv
.subsections_via_symbols
