	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_espi_intr
_fsl_espi_intr:                         ## @fsl_espi_intr
	.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
	callq	_FSL_ESPI_LOCK
	movq	_FSL_ESPI_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_ESPI_SPIE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_FSL_ESPI_READ
	movl	%eax, %r14d
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_FSL_ESPI_WRITE
	movq	%rbx, %rdi
	callq	_fsl_espi_fill_fifo
	movq	%rbx, %rdi
	callq	_fsl_espi_drain_fifo
	movq	_ESPI_SPIE_DON@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.2:
	movl	4(%rbx), %edi
	callq	_wakeup
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FSL_ESPI_UNLOCK                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_ESPI_BUSY,4,2              ## @FSL_ESPI_BUSY
	.comm	_ESPI_SPIE,4,2                  ## @ESPI_SPIE
	.comm	_ESPI_SPIE_DON,4,2              ## @ESPI_SPIE_DON
	.no_dead_strip	_fsl_espi_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_espi_intr
_fsl_espi_intr:                         ; @fsl_espi_intr
	.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
	bl	_FSL_ESPI_LOCK
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _FSL_ESPI_BUSY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSL_ESPI_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, _ESPI_SPIE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ESPI_SPIE@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_FSL_ESPI_READ
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_FSL_ESPI_WRITE
	mov	x0, x19
	bl	_fsl_espi_fill_fifo
	mov	x0, x19
	bl	_fsl_espi_drain_fifo
Lloh5:
	adrp	x8, _ESPI_SPIE_DON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ESPI_SPIE_DON@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	bl	_wakeup
LBB0_3:
	mov	x0, x19
	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	_FSL_ESPI_UNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_ESPI_BUSY,4,2              ; @FSL_ESPI_BUSY
	.comm	_ESPI_SPIE,4,2                  ; @ESPI_SPIE
	.comm	_ESPI_SPIE_DON,4,2              ; @ESPI_SPIE_DON
	.no_dead_strip	_fsl_espi_intr
.subsections_via_symbols
