	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TeleInt_card_msg
_TeleInt_card_msg:                      ## @TeleInt_card_msg
	.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
	cmpl	$131, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_8
## %bb.3:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_reset_TeleInt
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_8
LBB0_4:
	movq	%rbx, %rdi
	callq	_release_io_TeleInt
	jmp	LBB0_8
LBB0_5:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_reset_TeleInt
	movq	%rbx, %rdi
	callq	_inithfc
	movq	%rbx, %rdi
	callq	_clear_pending_isac_ints
	movq	%rbx, %rdi
	callq	_initisac
	movq	_ISAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movq	_ISAC_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65, %edx
	callq	*8(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	99(%rcx), %edx
	movl	$1, %eax
	cmpl	$199, %edx
	jb	LBB0_7
## %bb.6:
	movslq	%ecx, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
LBB0_7:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_add_timer
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISAC_MASK,4,2                  ## @ISAC_MASK
	.comm	_ISAC_CMDR,4,2                  ## @ISAC_CMDR
	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_TeleInt_card_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TeleInt_card_msg
_TeleInt_card_msg:                      ; @TeleInt_card_msg
	.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
	cmp	w1, #131
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.3:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_reset_TeleInt
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_6
LBB0_4:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_reset_TeleInt
	mov	x0, x19
	bl	_inithfc
	mov	x0, x19
	bl	_clear_pending_isac_ints
	mov	x0, x19
	bl	_initisac
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _ISAC_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISAC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _ISAC_CMDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISAC_CMDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #65
	blr	x8
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x8, _HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	add	w8, w8, #99
	cmp	w8, #199
	csinc	w8, w9, wzr, hs
Lloh9:
	adrp	x9, _jiffies@GOTPAGE
Lloh10:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	add	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_add_timer
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_release_io_TeleInt
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISAC_MASK,4,2                  ; @ISAC_MASK
	.comm	_ISAC_CMDR,4,2                  ; @ISAC_CMDR
	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_TeleInt_card_msg
.subsections_via_symbols
