	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtm_irq                        ## -- Begin function rtm_irq
	.p2align	4, 0x90
_rtm_irq:                               ## @rtm_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_B2_RTM_CRTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_ADDR
	movq	_TIM_CL_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_outpw
	movl	(%r13), %edi
	callq	_ADDR
	movl	%eax, %edi
	callq	_inpw
	movq	_TIM_RES_TOK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_FM_CMDREG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FM_A
	movq	_FM_ICL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_outpw
	leaq	L_.str(%rip), %rdi
	callq	_DB_RMT
	movq	_FDDI_RING_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_FDDI_SMT_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_FDDI_RTT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_smt_get_event_word
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_AIX_EVENT
LBB0_2:
	movl	(%r13), %edi
	callq	_ADDR
	movq	_TIM_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outpw                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B2_RTM_CRTL,4,2                ## @B2_RTM_CRTL
	.comm	_TIM_CL_IRQ,4,2                 ## @TIM_CL_IRQ
	.comm	_TIM_RES_TOK,4,2                ## @TIM_RES_TOK
	.comm	_FM_CMDREG1,4,2                 ## @FM_CMDREG1
	.comm	_FM_ICL,4,2                     ## @FM_ICL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RMT: fddiPATHT_Rmode expired"

	.comm	_FDDI_RING_STATUS,8,3           ## @FDDI_RING_STATUS
	.comm	_FDDI_SMT_EVENT,8,3             ## @FDDI_SMT_EVENT
	.comm	_FDDI_RTT,8,3                   ## @FDDI_RTT
	.comm	_TIM_START,4,2                  ## @TIM_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtm_irq                        ; -- Begin function rtm_irq
	.p2align	2
_rtm_irq:                               ; @rtm_irq
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _B2_RTM_CRTL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _B2_RTM_CRTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_ADDR
Lloh2:
	adrp	x8, _TIM_CL_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIM_CL_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_outpw
	ldr	w0, [x23]
	bl	_ADDR
	bl	_inpw
Lloh5:
	adrp	x8, _TIM_RES_TOK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TIM_RES_TOK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _FM_CMDREG1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FM_CMDREG1@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_FM_A
Lloh11:
	adrp	x8, _FM_ICL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FM_ICL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_outpw
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DB_RMT
Lloh16:
	adrp	x8, _FDDI_RING_STATUS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FDDI_RING_STATUS@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
Lloh19:
	adrp	x8, _FDDI_SMT_EVENT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FDDI_SMT_EVENT@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
Lloh22:
	adrp	x8, _FDDI_RTT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FDDI_RTT@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_smt_get_event_word
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_AIX_EVENT
LBB0_2:
	ldr	w0, [x23]
	bl	_ADDR
Lloh25:
	adrp	x8, _TIM_START@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TIM_START@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	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
	b	_outpw
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_B2_RTM_CRTL,4,2                ; @B2_RTM_CRTL
	.comm	_TIM_CL_IRQ,4,2                 ; @TIM_CL_IRQ
	.comm	_TIM_RES_TOK,4,2                ; @TIM_RES_TOK
	.comm	_FM_CMDREG1,4,2                 ; @FM_CMDREG1
	.comm	_FM_ICL,4,2                     ; @FM_ICL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RMT: fddiPATHT_Rmode expired"

	.comm	_FDDI_RING_STATUS,8,3           ; @FDDI_RING_STATUS
	.comm	_FDDI_SMT_EVENT,8,3             ; @FDDI_SMT_EVENT
	.comm	_FDDI_RTT,8,3                   ; @FDDI_RTT
	.comm	_TIM_START,4,2                  ; @TIM_START
.subsections_via_symbols
