	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t1_espi_intr_enable            ## -- Begin function t1_espi_intr_enable
	.p2align	4, 0x90
_t1_espi_intr_enable:                   ## @t1_espi_intr_enable
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_A_PL_ENABLE@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_t1_is_T1B
	xorl	%edi, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ESPI_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_2:
	movq	(%rbx), %rax
	movq	_A_ESPI_INTR_ENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_writel
	movq	_F_PL_INTR_ESPI@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	(%rbx), %rax
	movq	(%r15), %rsi
	addq	(%rax), %rsi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_PL_ENABLE,8,3                ## @A_PL_ENABLE
	.comm	_ESPI_INTR_MASK,4,2             ## @ESPI_INTR_MASK
	.comm	_A_ESPI_INTR_ENABLE,8,3         ## @A_ESPI_INTR_ENABLE
	.comm	_F_PL_INTR_ESPI,4,2             ## @F_PL_INTR_ESPI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t1_espi_intr_enable            ; -- Begin function t1_espi_intr_enable
	.p2align	2
_t1_espi_intr_enable:                   ; @t1_espi_intr_enable
	.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, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x21, _A_PL_ENABLE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _A_PL_ENABLE@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	ldr	x0, [x19]
	bl	_t1_is_T1B
Lloh2:
	adrp	x8, _ESPI_INTR_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ESPI_INTR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _A_ESPI_INTR_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _A_ESPI_INTR_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh8:
	adrp	x8, _F_PL_INTR_ESPI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _F_PL_INTR_ESPI@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w0, w8, w20
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_A_PL_ENABLE,8,3                ; @A_PL_ENABLE
	.comm	_ESPI_INTR_MASK,4,2             ; @ESPI_INTR_MASK
	.comm	_A_ESPI_INTR_ENABLE,8,3         ; @A_ESPI_INTR_ENABLE
	.comm	_F_PL_INTR_ESPI,4,2             ; @F_PL_INTR_ESPI
.subsections_via_symbols
