	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function act2000_isa_select_irq
_act2000_isa_select_irq:                ## @act2000_isa_select_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ISA_PORT_COR@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_inb
	movq	_ISA_COR_IRQOFF@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	notb	%cl
	andb	%al, %cl
	movq	_ISA_COR_PERR@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	movl	(%rbx), %eax
	addl	$-3, %eax
	cmpl	$12, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_ISA_COR_IRQ03@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_ISA_COR_IRQ05@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_ISA_COR_IRQ07@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_ISA_COR_IRQ10@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ISA_COR_IRQ12@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ISA_COR_IRQ15@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_ISA_COR_IRQ11@GOTPCREL(%rip), %rax
LBB0_9:
	movb	(%rax), %cl
LBB0_10:
	movl	(%r14), %esi
	movzbl	%cl, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ISA_PORT_COR,4,2               ## @ISA_PORT_COR
	.comm	_ISA_COR_IRQOFF,1,0             ## @ISA_COR_IRQOFF
	.comm	_ISA_COR_PERR,1,0               ## @ISA_COR_PERR
	.comm	_ISA_COR_IRQ03,1,0              ## @ISA_COR_IRQ03
	.comm	_ISA_COR_IRQ05,1,0              ## @ISA_COR_IRQ05
	.comm	_ISA_COR_IRQ07,1,0              ## @ISA_COR_IRQ07
	.comm	_ISA_COR_IRQ10,1,0              ## @ISA_COR_IRQ10
	.comm	_ISA_COR_IRQ11,1,0              ## @ISA_COR_IRQ11
	.comm	_ISA_COR_IRQ12,1,0              ## @ISA_COR_IRQ12
	.comm	_ISA_COR_IRQ15,1,0              ## @ISA_COR_IRQ15
	.no_dead_strip	_act2000_isa_select_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function act2000_isa_select_irq
_act2000_isa_select_irq:                ; @act2000_isa_select_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _ISA_PORT_COR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ISA_PORT_COR@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_inb
Lloh2:
	adrp	x8, _ISA_COR_IRQOFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISA_COR_IRQOFF@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh4:
	adrp	x9, _ISA_COR_PERR@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ISA_COR_PERR@GOTPAGEOFF]
	bic	w8, w0, w8
	ldrb	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	sub	w9, w9, #3
	cmp	w9, #12
	b.hi	LBB0_10
; %bb.1:
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh8:
	adrp	x8, _ISA_COR_IRQ03@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISA_COR_IRQ03@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
Lloh10:
	adrp	x8, _ISA_COR_IRQ05@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ISA_COR_IRQ05@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh12:
	adrp	x8, _ISA_COR_IRQ07@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISA_COR_IRQ07@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh14:
	adrp	x8, _ISA_COR_IRQ10@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISA_COR_IRQ10@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh16:
	adrp	x8, _ISA_COR_IRQ12@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ISA_COR_IRQ12@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh18:
	adrp	x8, _ISA_COR_IRQ15@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ISA_COR_IRQ15@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x8, _ISA_COR_IRQ11@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ISA_COR_IRQ11@GOTPAGEOFF]
LBB0_9:
	ldrb	w8, [x8]
LBB0_10:
	ldr	w1, [x20]
	and	w0, w8, #0xff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_ISA_PORT_COR,4,2               ; @ISA_PORT_COR
	.comm	_ISA_COR_IRQOFF,1,0             ; @ISA_COR_IRQOFF
	.comm	_ISA_COR_PERR,1,0               ; @ISA_COR_PERR
	.comm	_ISA_COR_IRQ03,1,0              ; @ISA_COR_IRQ03
	.comm	_ISA_COR_IRQ05,1,0              ; @ISA_COR_IRQ05
	.comm	_ISA_COR_IRQ07,1,0              ; @ISA_COR_IRQ07
	.comm	_ISA_COR_IRQ10,1,0              ; @ISA_COR_IRQ10
	.comm	_ISA_COR_IRQ11,1,0              ; @ISA_COR_IRQ11
	.comm	_ISA_COR_IRQ12,1,0              ; @ISA_COR_IRQ12
	.comm	_ISA_COR_IRQ15,1,0              ; @ISA_COR_IRQ15
	.no_dead_strip	_act2000_isa_select_irq
.subsections_via_symbols
