	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hscx_int_main
_hscx_int_main:                         ## @hscx_int_main
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testb	$1, %r14b
	je	LBB0_11
## %bb.1:
	movq	8(%rbx), %r12
	movq	_HSCX_EXIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_READHSCX
	movl	%eax, %r15d
	testb	$64, %r15b
	jne	LBB0_2
## %bb.8:
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_2:
	leaq	48(%r12), %rdi
	cmpl	$1, (%rdi)
	jne	LBB0_4
## %bb.3:
	callq	_hscx_fill_fifo
	jmp	LBB0_11
LBB0_4:
	movq	80(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	64(%r12), %rsi
	callq	_skb_push
	movl	64(%r12), %eax
	addl	%eax, 72(%r12)
	movq	$0, 64(%r12)
LBB0_6:
	movl	56(%r12), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_WriteHSCXCMDR
	movq	_L1_DEB_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.7:
	leaq	L_.str(%rip), %rsi
LBB0_10:
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_debugl1
LBB0_11:
	testb	$-8, %r14b
	je	LBB0_15
## %bb.12:
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_debugl1
LBB0_14:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_hscx_interrupt
LBB0_15:
	testb	$2, %r14b
	je	LBB0_26
## %bb.16:
	movq	8(%rbx), %r12
	movq	_HSCX_EXIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_READHSCX
	movl	%eax, %r15d
	testb	$64, %r15b
	jne	LBB0_17
## %bb.23:
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_26
## %bb.24:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_25
LBB0_17:
	movslq	(%r12), %rax
	movq	_L1_MODE_TRANS@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	callq	_hscx_fill_fifo
	jmp	LBB0_26
LBB0_19:
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	movq	16(%r12), %rsi
	callq	_skb_push
	movl	16(%r12), %eax
	addl	%eax, 24(%r12)
	movq	$0, 16(%r12)
LBB0_21:
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_WriteHSCXCMDR
	movq	_L1_DEB_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_26
## %bb.22:
	leaq	L_.str.3(%rip), %rsi
LBB0_25:
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_debugl1
LBB0_26:
	testb	$4, %r14b
	jne	LBB0_27
## %bb.30:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	_HSCX_ISTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_READHSCX
	movl	%eax, %r14d
	movq	_L1_DEB_HSCX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_29
## %bb.28:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_debugl1
LBB0_29:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hscx_interrupt                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HSCX_EXIR,4,2                  ## @HSCX_EXIR
	.comm	_L1_DEB_WARN,4,2                ## @L1_DEB_WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HSCX B EXIR %x Lost TX"

	.comm	_L1_DEB_HSCX,4,2                ## @L1_DEB_HSCX
L_.str.1:                               ## @.str.1
	.asciz	"HSCX B EXIR %x"

L_.str.2:                               ## @.str.2
	.asciz	"HSCX B interrupt %x"

	.comm	_L1_MODE_TRANS,8,3              ## @L1_MODE_TRANS
L_.str.3:                               ## @.str.3
	.asciz	"HSCX A EXIR %x Lost TX"

L_.str.4:                               ## @.str.4
	.asciz	"HSCX A EXIR %x"

	.comm	_HSCX_ISTA,4,2                  ## @HSCX_ISTA
L_.str.5:                               ## @.str.5
	.asciz	"HSCX A interrupt %x"

	.no_dead_strip	_hscx_int_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hscx_int_main
_hscx_int_main:                         ; @hscx_int_main
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _HSCX_EXIR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HSCX_EXIR@GOTPAGEOFF]
	tbz	w1, #0, LBB0_11
; %bb.1:
	ldr	x22, [x19, #8]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #1
	bl	_READHSCX
	mov	x21, x0
	tbnz	w0, #6, LBB0_4
; %bb.2:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_4:
	add	x0, x22, #48
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.5:
	bl	_hscx_fill_fifo
	b	LBB0_11
LBB0_6:
	ldr	x0, [x22, #80]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x1, [x22, #64]
	bl	_skb_push
	ldr	w8, [x22, #64]
	ldr	w9, [x22, #72]
	add	w8, w9, w8
	str	w8, [x22, #72]
	str	xzr, [x22, #64]
LBB0_8:
	ldr	w1, [x22, #56]
	mov	x0, x19
	mov	w2, #1
	bl	_WriteHSCXCMDR
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _L1_DEB_WARN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _L1_DEB_WARN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
LBB0_10:
	mov	x0, x19
	mov	x2, x21
	bl	_debugl1
LBB0_11:
	tst	w20, #0xf8
	b.eq	LBB0_15
; %bb.12:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_debugl1
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_hscx_interrupt
LBB0_15:
	tbz	w20, #1, LBB0_26
; %bb.16:
	ldr	x22, [x19, #8]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #0
	bl	_READHSCX
	mov	x21, x0
	tbnz	w0, #6, LBB0_19
; %bb.17:
	ldr	w8, [x19]
Lloh17:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh18:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.18:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_25
LBB0_19:
	ldrsw	x8, [x22]
Lloh22:
	adrp	x9, _L1_MODE_TRANS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _L1_MODE_TRANS@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x22
	bl	_hscx_fill_fifo
	b	LBB0_26
LBB0_21:
	ldr	x0, [x22, #32]
	cbz	x0, LBB0_23
; %bb.22:
	ldr	x1, [x22, #16]
	bl	_skb_push
	ldr	w8, [x22, #16]
	ldr	w9, [x22, #24]
	add	w8, w9, w8
	str	w8, [x22, #24]
	str	xzr, [x22, #16]
LBB0_23:
	ldr	w1, [x22, #8]
	mov	x0, x19
	mov	w2, #1
	bl	_WriteHSCXCMDR
	ldr	w8, [x19]
Lloh25:
	adrp	x9, _L1_DEB_WARN@GOTPAGE
Lloh26:
	ldr	x9, [x9, _L1_DEB_WARN@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.24:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_25:
	mov	x0, x19
	mov	x2, x21
	bl	_debugl1
LBB0_26:
	tbnz	w20, #2, LBB0_28
; %bb.27:
	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
LBB0_28:
Lloh30:
	adrp	x8, _HSCX_ISTA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HSCX_ISTA@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_READHSCX
	mov	x20, x0
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _L1_DEB_HSCX@GOTPAGE
Lloh34:
	ldr	x9, [x9, _L1_DEB_HSCX@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.29:
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_debugl1
LBB0_30:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	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	_hscx_interrupt
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_HSCX_EXIR,4,2                  ; @HSCX_EXIR
	.comm	_L1_DEB_WARN,4,2                ; @L1_DEB_WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HSCX B EXIR %x Lost TX"

	.comm	_L1_DEB_HSCX,4,2                ; @L1_DEB_HSCX
l_.str.1:                               ; @.str.1
	.asciz	"HSCX B EXIR %x"

l_.str.2:                               ; @.str.2
	.asciz	"HSCX B interrupt %x"

	.comm	_L1_MODE_TRANS,8,3              ; @L1_MODE_TRANS
l_.str.3:                               ; @.str.3
	.asciz	"HSCX A EXIR %x Lost TX"

l_.str.4:                               ; @.str.4
	.asciz	"HSCX A EXIR %x"

	.comm	_HSCX_ISTA,4,2                  ; @HSCX_ISTA
l_.str.5:                               ; @.str.5
	.asciz	"HSCX A interrupt %x"

	.no_dead_strip	_hscx_int_main
.subsections_via_symbols
