	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pccard_interrupt
_pccard_interrupt:                      ## @pccard_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	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_vrc4171_get_irq_status
	movl	%eax, %r12d
	movq	_IRQ_A@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_vrc4171_sockets@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_CARD_SLOTA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, %rbx
	shlq	$4, %rbx
	movq	(%r15,%rbx), %rax
	movq	_SLOT_INITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	8(%r15,%rbx), %eax
	btl	%eax, %r12d
	jae	LBB0_5
## %bb.3:
	callq	_get_events
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	(%r15,%rbx), %rdi
	addq	$12, %rdi
	movl	%eax, %esi
	callq	_pcmcia_parse_events
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	_IRQ_B@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.6:
	movq	_vrc4171_sockets@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_CARD_SLOTB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, %rbx
	shlq	$4, %rbx
	movq	(%r15,%rbx), %rax
	movq	_SLOT_INITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movl	8(%r15,%rbx), %eax
	btl	%eax, %r12d
	jae	LBB0_10
## %bb.8:
	callq	_get_events
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	(%r15,%rbx), %rdi
	addq	$12, %rdi
	movl	%eax, %esi
	callq	_pcmcia_parse_events
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_A,4,2                      ## @IRQ_A
	.comm	_vrc4171_sockets,8,3            ## @vrc4171_sockets
	.comm	_CARD_SLOTA,8,3                 ## @CARD_SLOTA
	.comm	_SLOT_INITIALIZED,8,3           ## @SLOT_INITIALIZED
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_B,4,2                      ## @IRQ_B
	.comm	_CARD_SLOTB,8,3                 ## @CARD_SLOTB
	.no_dead_strip	_pccard_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pccard_interrupt
_pccard_interrupt:                      ; @pccard_interrupt
	.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
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_vrc4171_get_irq_status
	mov	x20, x0
Lloh3:
	adrp	x8, _IRQ_A@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_A@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x23, _vrc4171_sockets@GOTPAGE
Lloh7:
	ldr	x23, [x23, _vrc4171_sockets@GOTPAGEOFF]
Lloh8:
	adrp	x22, _SLOT_INITIALIZED@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SLOT_INITIALIZED@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.1:
	ldr	x24, [x23]
Lloh10:
	adrp	x8, _CARD_SLOTA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CARD_SLOTA@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	lsl	x8, x21, #4
	ldr	x8, [x24, x8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	add	x8, x24, x21, lsl #4
	ldr	w8, [x8, #8]
	lsr	w8, w20, w8
	tbz	w8, #0, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_get_events
	cbz	w0, LBB0_5
; %bb.4:
	mov	x1, x0
	add	x8, x24, x21, lsl #4
	add	x0, x8, #12
	bl	_pcmcia_parse_events
Lloh13:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
LBB0_5:
Lloh16:
	adrp	x8, _IRQ_B@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_B@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.6:
	ldr	x23, [x23]
Lloh19:
	adrp	x8, _CARD_SLOTB@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CARD_SLOTB@GOTPAGEOFF]
Lloh21:
	ldr	x21, [x8]
	lsl	x8, x21, #4
	ldr	x8, [x23, x8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
	add	x8, x23, x21, lsl #4
	ldr	w8, [x8, #8]
	lsr	w8, w20, w8
	tbz	w8, #0, LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_get_events
	cbz	w0, LBB0_10
; %bb.9:
	mov	x1, x0
	add	x8, x23, x21, lsl #4
	add	x0, x8, #12
	bl	_pcmcia_parse_events
Lloh22:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
LBB0_10:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_A,4,2                      ; @IRQ_A
	.comm	_vrc4171_sockets,8,3            ; @vrc4171_sockets
	.comm	_CARD_SLOTA,8,3                 ; @CARD_SLOTA
	.comm	_SLOT_INITIALIZED,8,3           ; @SLOT_INITIALIZED
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_B,4,2                      ; @IRQ_B
	.comm	_CARD_SLOTB,8,3                 ; @CARD_SLOTB
	.no_dead_strip	_pccard_interrupt
.subsections_via_symbols
