	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sja1000_interrupt              ## -- Begin function sja1000_interrupt
	.p2align	4, 0x90
_sja1000_interrupt:                     ## @sja1000_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, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_REG_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_IRQ_OFF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_26
## %bb.1:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_3:
	movq	_REG_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	xorl	%r13d, %r13d
	movq	_SJA1000_MAX_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_20
## %bb.4:
	cmpl	$0, (%rcx)
	jle	LBB0_20
## %bb.5:
	movl	%eax, %r12d
	xorl	%r13d, %r13d
	movq	_REG_SR@GOTPCREL(%rip), %rax
	movq	_IRQ_WUI@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r13d
	testl	%r12d, (%r15)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_IRQ_TI@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_REG_FI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	andl	$15, %eax
	addl	%eax, 4(%r14)
	incl	8(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_can_get_echo_skb
	movq	%r14, %rdi
	callq	_netif_wake_queue
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IRQ_RI@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_SR_RBS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_REG_SR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_sja1000_rx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r13d
	movq	_SR_RBS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_IRQ_WUI@GOTPCREL(%rip), %r15
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IRQ_EI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IRQ_DOI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IRQ_BEI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IRQ_EPI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	_IRQ_ALI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r12d, %eax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_sja1000_err
	testq	%rax, %rax
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_REG_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r12d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	_SJA1000_MAX_IRQ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	movq	_REG_SR@GOTPCREL(%rip), %rax
	jl	LBB0_6
	jmp	LBB0_20
LBB0_17:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	_SJA1000_MAX_IRQ@GOTPCREL(%rip), %rcx
LBB0_20:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	movq	%rcx, %rbx
	callq	*%rax
	movq	%rbx, %rcx
LBB0_22:
	cmpl	(%rcx), %r13d
	jl	LBB0_24
## %bb.23:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_dbg
LBB0_24:
	testl	%r13d, %r13d
	jne	LBB0_25
LBB0_26:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_25:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_IER,4,2                    ## @REG_IER
	.comm	_IRQ_OFF,4,2                    ## @IRQ_OFF
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_REG_IR,4,2                     ## @REG_IR
	.comm	_SJA1000_MAX_IRQ,4,2            ## @SJA1000_MAX_IRQ
	.comm	_REG_SR,4,2                     ## @REG_SR
	.comm	_IRQ_WUI,4,2                    ## @IRQ_WUI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wakeup interrupt\n"

	.comm	_IRQ_TI,4,2                     ## @IRQ_TI
	.comm	_REG_FI,4,2                     ## @REG_FI
	.comm	_IRQ_RI,4,2                     ## @IRQ_RI
	.comm	_SR_RBS,4,2                     ## @SR_RBS
	.comm	_IRQ_DOI,4,2                    ## @IRQ_DOI
	.comm	_IRQ_EI,4,2                     ## @IRQ_EI
	.comm	_IRQ_BEI,4,2                    ## @IRQ_BEI
	.comm	_IRQ_EPI,4,2                    ## @IRQ_EPI
	.comm	_IRQ_ALI,4,2                    ## @IRQ_ALI
L_.str.1:                               ## @.str.1
	.asciz	"%d messages handled in ISR"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sja1000_interrupt              ; -- Begin function sja1000_interrupt
	.p2align	2
_sja1000_interrupt:                     ; @sja1000_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
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _REG_IER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_IER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	blr	x8
Lloh3:
	adrp	x8, _IRQ_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_23
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	blr	x8
LBB0_4:
	ldr	x8, [x20]
Lloh8:
	adrp	x26, _REG_IR@GOTPAGE
Lloh9:
	ldr	x26, [x26, _REG_IR@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x20
	blr	x8
Lloh10:
	adrp	x25, _SJA1000_MAX_IRQ@GOTPAGE
Lloh11:
	ldr	x25, [x25, _SJA1000_MAX_IRQ@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_6
; %bb.5:
	mov	w21, #0
	b	LBB0_18
LBB0_6:
	mov	x22, x0
	mov	w21, #0
Lloh12:
	adrp	x27, _REG_SR@GOTPAGE
Lloh13:
	ldr	x27, [x27, _REG_SR@GOTPAGEOFF]
Lloh14:
	adrp	x28, _IRQ_ALI@GOTPAGE
Lloh15:
	ldr	x28, [x28, _IRQ_ALI@GOTPAGEOFF]
Lloh16:
	adrp	x23, _SR_RBS@GOTPAGE
Lloh17:
	ldr	x23, [x23, _SR_RBS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20]
	ldr	w1, [x26]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	ldr	w8, [x25]
	cmp	w0, #0
	ccmp	w21, w8, #0, ne
	b.ge	LBB0_18
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x8, [x20]
	ldr	w1, [x27]
	mov	x0, x20
	blr	x8
	mov	x24, x0
Lloh18:
	adrp	x8, _IRQ_WUI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_WUI@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh23:
	adrp	x8, _IRQ_TI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IRQ_TI@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20]
Lloh26:
	adrp	x9, _REG_FI@GOTPAGE
Lloh27:
	ldr	x9, [x9, _REG_FI@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	and	w8, w0, #0xf
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_can_get_echo_skb
	mov	x0, x19
	bl	_netif_wake_queue
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh29:
	adrp	x8, _IRQ_RI@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQ_RI@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x23]
	tst	w8, w24
	b.eq	LBB0_16
LBB0_14:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_sja1000_rx
	ldr	x8, [x20]
	ldr	w1, [x27]
	mov	x0, x20
	blr	x8
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
Lloh32:
	adrp	x8, _IRQ_DOI@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IRQ_DOI@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _IRQ_EI@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IRQ_EI@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh38:
	adrp	x9, _IRQ_BEI@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IRQ_BEI@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _IRQ_EPI@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IRQ_EPI@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x28]
	orr	w8, w8, w9
	tst	w8, w22
	b.eq	LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_sja1000_err
	cbz	x0, LBB0_7
LBB0_18:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_20
; %bb.19:
	mov	x0, x20
	blr	x8
LBB0_20:
	ldr	w8, [x25]
	cmp	w21, w8
	b.lt	LBB0_22
; %bb.21:
	ldr	w0, [x19]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_dev_dbg
LBB0_22:
Lloh46:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh48:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
LBB0_23:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_IER,4,2                    ; @REG_IER
	.comm	_IRQ_OFF,4,2                    ; @IRQ_OFF
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_REG_IR,4,2                     ; @REG_IR
	.comm	_SJA1000_MAX_IRQ,4,2            ; @SJA1000_MAX_IRQ
	.comm	_REG_SR,4,2                     ; @REG_SR
	.comm	_IRQ_WUI,4,2                    ; @IRQ_WUI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wakeup interrupt\n"

	.comm	_IRQ_TI,4,2                     ; @IRQ_TI
	.comm	_REG_FI,4,2                     ; @REG_FI
	.comm	_IRQ_RI,4,2                     ; @IRQ_RI
	.comm	_SR_RBS,4,2                     ; @SR_RBS
	.comm	_IRQ_DOI,4,2                    ; @IRQ_DOI
	.comm	_IRQ_EI,4,2                     ; @IRQ_EI
	.comm	_IRQ_BEI,4,2                    ; @IRQ_BEI
	.comm	_IRQ_EPI,4,2                    ; @IRQ_EPI
	.comm	_IRQ_ALI,4,2                    ; @IRQ_ALI
l_.str.1:                               ; @.str.1
	.asciz	"%d messages handled in ISR"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
