	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd2401_modem_interrupt
_cd2401_modem_interrupt:                ## @cd2401_modem_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	%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	_BASE_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_CyLICR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%r14,%rax), %eax
	shrq	$2, %rax
	movq	_cy_port@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	leaq	(%rax,%rax,2), %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15,%rbx,8)
	movq	_CyMISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%r14,%rax), %r13d
	movq	_CyMSVR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%r14,%rax), %esi
	movq	8(%r15,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	leaq	(%r15,%rbx,8), %r12
	movq	_CyDCD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r13d, %eax
	je	LBB0_7
## %bb.2:
	movq	_ASYNC_CHECK_CD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_7
## %bb.3:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %eax
	je	LBB0_5
## %bb.4:
	leaq	(%r15,%rbx,8), %rdi
	addq	$16, %rdi
	callq	_wake_up_interruptible
	jmp	LBB0_6
LBB0_5:
	callq	_tty_hangup
	leaq	(%r15,%rbx,8), %rdi
	addq	$16, %rdi
	callq	_wake_up_interruptible
	movq	_ASYNC_NORMAL_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
LBB0_6:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_7:
	movq	_CyCTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r13d, %eax
	je	LBB0_14
## %bb.8:
	movq	_ASYNC_CTS_FLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_14
## %bb.9:
	leaq	(%r15,%rbx,8), %rcx
	addq	$8, %rcx
	movq	(%rcx), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_12
## %bb.10:
	testl	%esi, %eax
	je	LBB0_14
## %bb.11:
	movl	$0, (%rdx)
	movq	_CyTxMpty@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_CyIER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orb	%al, (%r14,%rdx)
	movq	(%rcx), %rdi
	callq	_tty_wakeup
	jmp	LBB0_14
LBB0_12:
	testl	%esi, %eax
	jne	LBB0_14
## %bb.13:
	movl	$1, (%rdx)
	movq	_CyTxMpty@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_CyTxRdy@GOTPCREL(%rip), %rcx
	orb	(%rcx), %al
	notb	%al
	movq	_CyIER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andb	%al, (%r14,%rcx)
LBB0_14:
	movq	_CyMEOIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%r14,%rax)
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BASE_ADDR,8,3                  ## @BASE_ADDR
	.comm	_CyLICR,8,3                     ## @CyLICR
	.comm	_cy_port,8,3                    ## @cy_port
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_CyMISR,8,3                     ## @CyMISR
	.comm	_CyMSVR1,8,3                    ## @CyMSVR1
	.comm	_CyDCD,4,2                      ## @CyDCD
	.comm	_ASYNC_CHECK_CD,4,2             ## @ASYNC_CHECK_CD
	.comm	_ASYNC_NORMAL_ACTIVE,4,2        ## @ASYNC_NORMAL_ACTIVE
	.comm	_CyCTS,4,2                      ## @CyCTS
	.comm	_ASYNC_CTS_FLOW,4,2             ## @ASYNC_CTS_FLOW
	.comm	_CyTxMpty,1,0                   ## @CyTxMpty
	.comm	_CyIER,8,3                      ## @CyIER
	.comm	_CyTxRdy,1,0                    ## @CyTxRdy
	.comm	_CyDSR,4,2                      ## @CyDSR
	.comm	_CyMEOIR,8,3                    ## @CyMEOIR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_cd2401_modem_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd2401_modem_interrupt
_cd2401_modem_interrupt:                ; @cd2401_modem_interrupt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _BASE_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BASE_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _CyLICR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CyLICR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldrb	w8, [x19, x8]
	lsr	x24, x8, #2
Lloh6:
	adrp	x8, _cy_port@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cy_port@GOTPAGEOFF]
Lloh8:
	ldr	x25, [x8]
	mov	w8, #24
	madd	x22, x24, x8, x25
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _CyMISR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CyMISR@GOTPAGEOFF]
	str	w8, [x22, #20]
Lloh14:
	ldr	x8, [x9]
	ldrb	w23, [x19, x8]
Lloh15:
	adrp	x8, _CyMSVR1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CyMSVR1@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldrb	w21, [x19, x8]
	mov	x20, x22
	ldr	x0, [x20, #8]!
	cbz	x0, LBB0_13
; %bb.1:
Lloh18:
	adrp	x8, _CyDCD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CyDCD@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_6
; %bb.2:
	ldr	w9, [x22]
Lloh21:
	adrp	x10, _ASYNC_CHECK_CD@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ASYNC_CHECK_CD@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.3:
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #24
	madd	x8, x24, x8, x25
	add	x0, x8, #16
	bl	_wake_up_interruptible
	b	LBB0_6
LBB0_5:
	bl	_tty_hangup
	mov	w8, #24
	madd	x8, x24, x8, x25
	add	x0, x8, #16
	bl	_wake_up_interruptible
Lloh24:
	adrp	x8, _ASYNC_NORMAL_ACTIVE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ASYNC_NORMAL_ACTIVE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x22]
	bic	w8, w9, w8
	str	w8, [x22]
LBB0_6:
Lloh27:
	adrp	x8, _CyCTS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CyCTS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x8]
	tst	w9, w23
	b.eq	LBB0_13
; %bb.7:
	ldr	w8, [x22]
Lloh30:
	adrp	x10, _ASYNC_CTS_FLOW@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ASYNC_CTS_FLOW@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.8:
	ldr	x8, [x20]
	ldr	w10, [x8]
	and	w9, w9, w21
	cbz	w10, LBB0_11
; %bb.9:
	cbz	w9, LBB0_13
; %bb.10:
	str	wzr, [x8]
Lloh33:
	adrp	x8, _CyTxMpty@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CyTxMpty@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh35:
	adrp	x9, _CyIER@GOTPAGE
Lloh36:
	ldr	x9, [x9, _CyIER@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	ldrb	w10, [x19, x9]
	orr	w8, w10, w8
	strb	w8, [x19, x9]
	ldr	x0, [x20]
	bl	_tty_wakeup
	b	LBB0_13
LBB0_11:
	cbnz	w9, LBB0_13
; %bb.12:
	mov	w9, #1
	str	w9, [x8]
Lloh38:
	adrp	x8, _CyTxMpty@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CyTxMpty@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh40:
	adrp	x9, _CyTxRdy@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CyTxRdy@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w9, w8
Lloh42:
	adrp	x9, _CyIER@GOTPAGE
Lloh43:
	ldr	x9, [x9, _CyIER@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	ldrb	w10, [x19, x9]
	bic	w8, w10, w8
	strb	w8, [x19, x9]
LBB0_13:
Lloh45:
	adrp	x8, _CyMEOIR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _CyMEOIR@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	strb	wzr, [x19, x8]
Lloh48:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_BASE_ADDR,8,3                  ; @BASE_ADDR
	.comm	_CyLICR,8,3                     ; @CyLICR
	.comm	_cy_port,8,3                    ; @cy_port
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_CyMISR,8,3                     ; @CyMISR
	.comm	_CyMSVR1,8,3                    ; @CyMSVR1
	.comm	_CyDCD,4,2                      ; @CyDCD
	.comm	_ASYNC_CHECK_CD,4,2             ; @ASYNC_CHECK_CD
	.comm	_ASYNC_NORMAL_ACTIVE,4,2        ; @ASYNC_NORMAL_ACTIVE
	.comm	_CyCTS,4,2                      ; @CyCTS
	.comm	_ASYNC_CTS_FLOW,4,2             ; @ASYNC_CTS_FLOW
	.comm	_CyTxMpty,1,0                   ; @CyTxMpty
	.comm	_CyIER,8,3                      ; @CyIER
	.comm	_CyTxRdy,1,0                    ; @CyTxRdy
	.comm	_CyDSR,4,2                      ; @CyDSR
	.comm	_CyMEOIR,8,3                    ; @CyMEOIR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_cd2401_modem_interrupt
.subsections_via_symbols
