	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yenta_interrupt
_yenta_interrupt:                       ## @yenta_interrupt
	.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	%rsi, %r14
	movq	_CB_SOCKET_EVENT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_cb_readl
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_cb_writel
	movq	_I365_CSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_exca_readb
	movl	%eax, %r12d
	movl	%ebx, %eax
	orl	%r12d, %eax
	je	LBB0_1
## %bb.2:
	movq	_CB_CD1EVENT@GOTPCREL(%rip), %rax
	movq	_CB_CD2EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	%ebx, %ecx
	movq	_I365_CSC_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	xorl	%r15d, %r15d
	orl	%ecx, %eax
	je	LBB0_4
## %bb.3:
	movq	_SS_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	movq	_I365_INTCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_exca_readb
	movq	_I365_PC_IOCARD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.5:
	movq	_I365_CSC_STSCHG@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	je	LBB0_14
## %bb.6:
	movq	_SS_STSCHG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_14
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_7:
	movq	_I365_CSC_BVD1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	je	LBB0_9
## %bb.8:
	movq	_SS_BATDEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	_I365_CSC_BVD2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r12d, %ecx
	je	LBB0_11
## %bb.10:
	movq	_SS_BATWARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_11:
	orl	%r15d, %eax
	movq	_I365_CSC_READY@GOTPCREL(%rip), %rdx
	andl	(%rdx), %r12d
	je	LBB0_13
## %bb.12:
	movq	_SS_READY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
LBB0_13:
	orl	%ecx, %eax
	movl	%r12d, %r15d
	movl	%eax, %r12d
LBB0_14:
	orl	%r12d, %r15d
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_pcmcia_parse_events
LBB0_16:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CB_SOCKET_EVENT,4,2            ## @CB_SOCKET_EVENT
	.comm	_I365_CSC,4,2                   ## @I365_CSC
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_CB_CD1EVENT,4,2                ## @CB_CD1EVENT
	.comm	_CB_CD2EVENT,4,2                ## @CB_CD2EVENT
	.comm	_SS_DETECT,4,2                  ## @SS_DETECT
	.comm	_I365_CSC_DETECT,4,2            ## @I365_CSC_DETECT
	.comm	_I365_INTCTL,4,2                ## @I365_INTCTL
	.comm	_I365_PC_IOCARD,4,2             ## @I365_PC_IOCARD
	.comm	_I365_CSC_STSCHG,4,2            ## @I365_CSC_STSCHG
	.comm	_SS_STSCHG,4,2                  ## @SS_STSCHG
	.comm	_I365_CSC_BVD1,4,2              ## @I365_CSC_BVD1
	.comm	_SS_BATDEAD,4,2                 ## @SS_BATDEAD
	.comm	_I365_CSC_BVD2,4,2              ## @I365_CSC_BVD2
	.comm	_SS_BATWARN,4,2                 ## @SS_BATWARN
	.comm	_I365_CSC_READY,4,2             ## @I365_CSC_READY
	.comm	_SS_READY,4,2                   ## @SS_READY
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_yenta_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yenta_interrupt
_yenta_interrupt:                       ; @yenta_interrupt
	.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
Lloh0:
	adrp	x20, _CB_SOCKET_EVENT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CB_SOCKET_EVENT@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_cb_readl
	mov	x21, x0
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x21
	bl	_cb_writel
Lloh2:
	adrp	x8, _I365_CSC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I365_CSC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_exca_readb
	orr	w8, w21, w0
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x8, _CB_CD1EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CB_CD1EVENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CB_CD2EVENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CB_CD2EVENT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _I365_CSC_DETECT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _I365_CSC_DETECT@GOTPAGEOFF]
	and	w8, w8, w21
Lloh13:
	ldr	w9, [x9]
	and	w9, w9, w0
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _SS_DETECT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SS_DETECT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w21, wzr, w9, eq
Lloh17:
	adrp	x8, _I365_INTCTL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I365_INTCTL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_exca_readb
Lloh20:
	adrp	x8, _I365_PC_IOCARD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I365_PC_IOCARD@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.2:
Lloh23:
	adrp	x8, _I365_CSC_STSCHG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _I365_CSC_STSCHG@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _SS_STSCHG@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SS_STSCHG@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, wzr, w9, eq
	orr	w1, w8, w21
	cbz	w1, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_pcmcia_parse_events
LBB0_4:
Lloh29:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh31:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [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
	ret
LBB0_7:
Lloh33:
	adrp	x8, _I365_CSC_BVD1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I365_CSC_BVD1@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _SS_BATDEAD@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SS_BATDEAD@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, wzr, w9, eq
	orr	w8, w8, w21
Lloh39:
	adrp	x9, _I365_CSC_BVD2@GOTPAGE
Lloh40:
	ldr	x9, [x9, _I365_CSC_BVD2@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x10, _SS_BATWARN@GOTPAGE
Lloh43:
	ldr	x10, [x10, _SS_BATWARN@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh45:
	adrp	x9, _I365_CSC_READY@GOTPAGE
Lloh46:
	ldr	x9, [x9, _I365_CSC_READY@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _SS_READY@GOTPAGE
Lloh49:
	ldr	x10, [x10, _SS_READY@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w21, wzr, w10, eq
	orr	w1, w8, w21
	cbnz	w1, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_CB_SOCKET_EVENT,4,2            ; @CB_SOCKET_EVENT
	.comm	_I365_CSC,4,2                   ; @I365_CSC
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_CB_CD1EVENT,4,2                ; @CB_CD1EVENT
	.comm	_CB_CD2EVENT,4,2                ; @CB_CD2EVENT
	.comm	_SS_DETECT,4,2                  ; @SS_DETECT
	.comm	_I365_CSC_DETECT,4,2            ; @I365_CSC_DETECT
	.comm	_I365_INTCTL,4,2                ; @I365_INTCTL
	.comm	_I365_PC_IOCARD,4,2             ; @I365_PC_IOCARD
	.comm	_I365_CSC_STSCHG,4,2            ; @I365_CSC_STSCHG
	.comm	_SS_STSCHG,4,2                  ; @SS_STSCHG
	.comm	_I365_CSC_BVD1,4,2              ; @I365_CSC_BVD1
	.comm	_SS_BATDEAD,4,2                 ; @SS_BATDEAD
	.comm	_I365_CSC_BVD2,4,2              ; @I365_CSC_BVD2
	.comm	_SS_BATWARN,4,2                 ; @SS_BATWARN
	.comm	_I365_CSC_READY,4,2             ; @I365_CSC_READY
	.comm	_SS_READY,4,2                   ; @SS_READY
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_yenta_interrupt
.subsections_via_symbols
