	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kv_do_enable_didt
_kv_do_enable_didt:                     ## @kv_do_enable_didt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_kv_get_pi
	movq	%rax, %rbx
	cmpq	$0, 24(%rax)
	je	LBB0_2
## %bb.1:
	movq	_ixDIDT_SQ_CTRL0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32_DIDT
	movq	_DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testl	%r14d, %r14d
	cmovnel	%ecx, %esi
	movl	(%r15), %edi
	callq	_WREG32_DIDT
LBB0_2:
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ixDIDT_DB_CTRL0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32_DIDT
	movq	_DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testl	%r14d, %r14d
	cmovnel	%ecx, %esi
	movl	(%r15), %edi
	callq	_WREG32_DIDT
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_ixDIDT_TD_CTRL0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32_DIDT
	movq	_DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testl	%r14d, %r14d
	cmovnel	%ecx, %esi
	movl	(%r15), %edi
	callq	_WREG32_DIDT
LBB0_6:
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.8:
	movq	_ixDIDT_TCP_CTRL0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32_DIDT
	movq	_DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testl	%r14d, %r14d
	cmovnel	%ecx, %esi
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_DIDT                    ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ixDIDT_SQ_CTRL0,4,2            ## @ixDIDT_SQ_CTRL0
	.comm	_DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK,4,2 ## @DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK
	.comm	_ixDIDT_DB_CTRL0,4,2            ## @ixDIDT_DB_CTRL0
	.comm	_DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK,4,2 ## @DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK
	.comm	_ixDIDT_TD_CTRL0,4,2            ## @ixDIDT_TD_CTRL0
	.comm	_DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK,4,2 ## @DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK
	.comm	_ixDIDT_TCP_CTRL0,4,2           ## @ixDIDT_TCP_CTRL0
	.comm	_DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK,4,2 ## @DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK
	.no_dead_strip	_kv_do_enable_didt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kv_do_enable_didt
_kv_do_enable_didt:                     ; @kv_do_enable_didt
	.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	x19, x1
	bl	_kv_get_pi
	mov	x20, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _ixDIDT_SQ_CTRL0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ixDIDT_SQ_CTRL0@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32_DIDT
Lloh2:
	adrp	x8, _DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w1, w8, w9, eq
	ldr	w0, [x21]
	bl	_WREG32_DIDT
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x21, _ixDIDT_DB_CTRL0@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ixDIDT_DB_CTRL0@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32_DIDT
Lloh7:
	adrp	x8, _DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w1, w8, w9, eq
	ldr	w0, [x21]
	bl	_WREG32_DIDT
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh10:
	adrp	x21, _ixDIDT_TD_CTRL0@GOTPAGE
Lloh11:
	ldr	x21, [x21, _ixDIDT_TD_CTRL0@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32_DIDT
Lloh12:
	adrp	x8, _DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w1, w8, w9, eq
	ldr	w0, [x21]
	bl	_WREG32_DIDT
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.7:
Lloh15:
	adrp	x20, _ixDIDT_TCP_CTRL0@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ixDIDT_TCP_CTRL0@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32_DIDT
Lloh17:
	adrp	x8, _DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w19, #0
	csel	w1, w8, w9, eq
	ldr	w0, [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	_WREG32_DIDT
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ixDIDT_SQ_CTRL0,4,2            ; @ixDIDT_SQ_CTRL0
	.comm	_DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK,4,2 ; @DIDT_SQ_CTRL0__DIDT_CTRL_EN_MASK
	.comm	_ixDIDT_DB_CTRL0,4,2            ; @ixDIDT_DB_CTRL0
	.comm	_DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK,4,2 ; @DIDT_DB_CTRL0__DIDT_CTRL_EN_MASK
	.comm	_ixDIDT_TD_CTRL0,4,2            ; @ixDIDT_TD_CTRL0
	.comm	_DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK,4,2 ; @DIDT_TD_CTRL0__DIDT_CTRL_EN_MASK
	.comm	_ixDIDT_TCP_CTRL0,4,2           ; @ixDIDT_TCP_CTRL0
	.comm	_DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK,4,2 ; @DIDT_TCP_CTRL0__DIDT_CTRL_EN_MASK
	.no_dead_strip	_kv_do_enable_didt
.subsections_via_symbols
