	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slgt_interrupt
_slgt_interrupt:                        ## @slgt_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	%rsi, %r15
	movslq	12(%rsi), %rdi
	callq	_DBGISR
	leaq	16(%r15), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	_GSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rd_reg32
	movl	%eax, %r12d
	andl	$-256, %r12d
	je	LBB0_13
## %bb.1:
	movq	_BIT17@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_GSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rd_reg32
	movl	%eax, %r12d
	andl	$-256, %r12d
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	%r12d, %edi
	callq	_DBGISR
	movl	$1, (%r15)
	cmpl	$0, 4(%r15)
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	movl	4(%r15), %eax
	addl	$2, %r13d
	cmpq	%rax, %rbx
	jae	LBB0_2
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	56(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	_BIT8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	testl	%r12d, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	callq	_isr_serial
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	_BIT16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	testl	%r12d, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	56(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_isr_rdma
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%r14), %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	testl	%r12d, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	56(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_isr_tdma
	jmp	LBB0_12
LBB0_13:
	cmpq	$0, 64(%r15)
	je	LBB0_22
## %bb.14:
	movq	_IOSR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_rd_reg32
	testl	%eax, %eax
	je	LBB0_22
## %bb.15:
	movl	%eax, %r12d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_rd_reg32
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_22
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movl	%r12d, %edi
	callq	_DBGISR
	movq	_IOVR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rd_reg32
	movl	%eax, %ebx
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_wr_reg32
	movl	4(%r15), %eax
	testl	%eax, %eax
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	incq	%r13
	movl	%eax, %ecx
	cmpq	%rcx, %r13
	jae	LBB0_16
LBB0_19:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	56(%r15), %rcx
	movq	(%rcx,%r13,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_isr_gpio
	movl	4(%r15), %eax
	jmp	LBB0_21
LBB0_22:
	movl	4(%r15), %eax
	testl	%eax, %eax
	je	LBB0_32
## %bb.23:
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_32
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rcx
	movq	(%rcx,%rbx,8), %r14
	testq	%r14, %r14
	je	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	$0, 48(%r14)
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	$0, 40(%r14)
	je	LBB0_31
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	cmpq	$0, 32(%r14)
	je	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$0, 28(%r14)
	jne	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$0, 8(%r14)
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_24 Depth=1
	movslq	24(%r14), %rdi
	callq	_DBGISR
	leaq	20(%r14), %rdi
	callq	_schedule_work
	movl	$1, 8(%r14)
	movl	4(%r15), %eax
	jmp	LBB0_31
LBB0_32:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movslq	12(%r15), %rdi
	callq	_DBGISR
	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	_GSR,4,2                        ## @GSR
	.comm	_BIT8,4,2                       ## @BIT8
	.comm	_BIT16,4,2                      ## @BIT16
	.comm	_BIT17,4,2                      ## @BIT17
	.comm	_IOSR,4,2                       ## @IOSR
	.comm	_IOVR,4,2                       ## @IOVR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_slgt_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slgt_interrupt
_slgt_interrupt:                        ; @slgt_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldrsw	x0, [x1, #12]
	bl	_DBGISR
	add	x20, x19, #16
	mov	x0, x20
	bl	_spin_lock
Lloh0:
	adrp	x21, _GSR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GSR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rd_reg32
	ands	w26, w0, #0xffffff00
	b.eq	LBB0_13
; %bb.1:
	mov	w22, #1
Lloh2:
	adrp	x23, _BIT8@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BIT8@GOTPAGEOFF]
Lloh4:
	adrp	x24, _BIT16@GOTPAGE
Lloh5:
	ldr	x24, [x24, _BIT16@GOTPAGEOFF]
Lloh6:
	adrp	x25, _BIT17@GOTPAGE
Lloh7:
	ldr	x25, [x25, _BIT17@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rd_reg32
	ands	w26, w0, #0xffffff00
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	w0, w26
	bl	_DBGISR
	str	w22, [x19]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
	mov	x28, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x28, x28, #1
	ldr	w8, [x19, #4]
	add	w27, w27, #2
	cmp	x28, x8
	b.hs	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #56]
	ldr	x0, [x8, x28, lsl #3]
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x23]
	lsl	w8, w8, w28
	tst	w8, w26
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	bl	_isr_serial
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x24]
	lsl	w8, w8, w27
	tst	w8, w26
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x19, #56]
	ldr	x0, [x8, x28, lsl #3]
	bl	_isr_rdma
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x25]
	lsl	w8, w8, w27
	tst	w8, w26
	b.eq	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x19, #56]
	ldr	x0, [x8, x28, lsl #3]
	bl	_isr_tdma
	b	LBB0_5
LBB0_13:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_22
; %bb.14:
Lloh8:
	adrp	x23, _IOSR@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IOSR@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rd_reg32
	cbz	w0, LBB0_22
; %bb.15:
	mov	x21, x0
Lloh10:
	adrp	x24, _IOVR@GOTPAGE
Lloh11:
	ldr	x24, [x24, _IOVR@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rd_reg32
	mov	x21, x0
	cbz	w0, LBB0_22
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	mov	w0, w21
	bl	_DBGISR
	ldr	w1, [x24]
	mov	x0, x19
	bl	_rd_reg32
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_wr_reg32
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x25, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x25, x25, #1
	cmp	x25, w8, uxtw
	b.hs	LBB0_16
LBB0_20:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #56]
	ldr	x0, [x9, x25, lsl #3]
	cbz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x1, x21
	mov	x2, x22
	bl	_isr_gpio
	ldr	w8, [x19, #4]
	b	LBB0_19
LBB0_22:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_32
; %bb.23:
	mov	x21, #0
	mov	w22, #1
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, uxtw
	b.hs	LBB0_32
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #56]
	ldr	x23, [x9, x21, lsl #3]
	cbz	x23, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x23, #48]
	cbnz	x9, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x23, #40]
	cbz	x9, LBB0_24
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x23, #32]
	cbz	x9, LBB0_24
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x23, #28]
	cbnz	w9, LBB0_24
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x23, #8]
	cbnz	w9, LBB0_24
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	ldrsw	x0, [x23, #24]
	bl	_DBGISR
	add	x0, x23, #20
	bl	_schedule_work
	str	w22, [x23, #8]
	ldr	w8, [x19, #4]
	b	LBB0_24
LBB0_32:
	mov	x0, x20
	bl	_spin_unlock
	ldrsw	x0, [x19, #12]
	bl	_DBGISR
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GSR,4,2                        ; @GSR
	.comm	_BIT8,4,2                       ; @BIT8
	.comm	_BIT16,4,2                      ; @BIT16
	.comm	_BIT17,4,2                      ; @BIT17
	.comm	_IOSR,4,2                       ; @IOSR
	.comm	_IOVR,4,2                       ; @IOVR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_slgt_interrupt
.subsections_via_symbols
