	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_ivtes_directed
_update_ivtes_directed:                 ## @update_ivtes_directed
	.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	%rdi, %r13
	movq	(%rdi), %r14
	movq	_STARTED@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	%r15, %r14
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_terminate_process_element
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%r13, %rdi
	callq	_remove_process_element
	movl	%eax, %edi
	callq	_WARN_ON
LBB0_2:
	movq	_CXL_IRQ_RANGES@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_cpu_to_be16
	movq	24(%r13), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_cpu_to_be16
	movq	24(%r13), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	cmpq	%r15, %r14
	jne	LBB0_6
## %bb.7:
	movq	%r13, %rdi
	callq	_add_process_element
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STARTED,8,3                    ## @STARTED
	.comm	_CXL_IRQ_RANGES,4,2             ## @CXL_IRQ_RANGES
	.no_dead_strip	_update_ivtes_directed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_ivtes_directed
_update_ivtes_directed:                 ; @update_ivtes_directed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STARTED@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cmp	x20, x21
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_terminate_process_element
	bl	_WARN_ON
	mov	x0, x19
	bl	_remove_process_element
	bl	_WARN_ON
LBB0_2:
Lloh3:
	adrp	x22, _CXL_IRQ_RANGES@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CXL_IRQ_RANGES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	lsl	x24, x23, #2
	ldr	w0, [x8, x24]
	bl	_cpu_to_be16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	lsl	x25, x23, #3
	str	x0, [x8, x25]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x24]
	bl	_cpu_to_be16
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	str	x0, [x8, x25]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_4
LBB0_5:
	cmp	x20, x21
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_add_process_element
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WARN_ON
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STARTED,8,3                    ; @STARTED
	.comm	_CXL_IRQ_RANGES,4,2             ; @CXL_IRQ_RANGES
	.no_dead_strip	_update_ivtes_directed
.subsections_via_symbols
