	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_irq_dynamic_ena
_ice_irq_dynamic_ena:                   ## @ice_irq_dynamic_ena
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	testq	%rdx, %rdx
	jne	LBB0_3
LBB0_2:
	movq	(%r14), %rdx
LBB0_3:
	movq	_ICE_ITR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_GLINT_DYN_CTL_INTENA_M@GOTPCREL(%rip), %rax
	movq	_GLINT_DYN_CTL_ITR_INDX_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_GLINT_DYN_CTL_CLEARPBA_M@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	shll	%cl, %r12d
	orl	(%rax), %ebx
	movl	(%rdx), %r15d
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	movq	___ICE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	orl	%r12d, %ebx
	movl	%r15d, %edi
	callq	_GLINT_DYN_CTL
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ITR_NONE,4,2               ## @ICE_ITR_NONE
	.comm	_GLINT_DYN_CTL_INTENA_M,4,2     ## @GLINT_DYN_CTL_INTENA_M
	.comm	_GLINT_DYN_CTL_CLEARPBA_M,4,2   ## @GLINT_DYN_CTL_CLEARPBA_M
	.comm	_GLINT_DYN_CTL_ITR_INDX_S,4,2   ## @GLINT_DYN_CTL_ITR_INDX_S
	.comm	___ICE_DOWN,4,2                 ## @__ICE_DOWN
	.no_dead_strip	_ice_irq_dynamic_ena
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_irq_dynamic_ena
_ice_irq_dynamic_ena:                   ; @ice_irq_dynamic_ena
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	cbnz	x2, LBB0_3
LBB0_2:
	ldr	x2, [x19]
LBB0_3:
	ldr	w20, [x2]
Lloh0:
	adrp	x8, _ICE_ITR_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_ITR_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _GLINT_DYN_CTL_INTENA_M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLINT_DYN_CTL_INTENA_M@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _GLINT_DYN_CTL_CLEARPBA_M@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLINT_DYN_CTL_CLEARPBA_M@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
Lloh9:
	adrp	x8, _GLINT_DYN_CTL_ITR_INDX_S@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLINT_DYN_CTL_ITR_INDX_S@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	cbz	x1, LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, ___ICE_DOWN@GOTPAGE
Lloh13:
	ldr	x8, [x8, ___ICE_DOWN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x1]
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	orr	w8, w24, w22
	lsl	w9, w21, w23
	orr	w21, w8, w9
	mov	x0, x20
	bl	_GLINT_DYN_CTL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ITR_NONE,4,2               ; @ICE_ITR_NONE
	.comm	_GLINT_DYN_CTL_INTENA_M,4,2     ; @GLINT_DYN_CTL_INTENA_M
	.comm	_GLINT_DYN_CTL_CLEARPBA_M,4,2   ; @GLINT_DYN_CTL_CLEARPBA_M
	.comm	_GLINT_DYN_CTL_ITR_INDX_S,4,2   ; @GLINT_DYN_CTL_ITR_INDX_S
	.comm	___ICE_DOWN,4,2                 ; @__ICE_DOWN
	.no_dead_strip	_ice_irq_dynamic_ena
.subsections_via_symbols
