	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function softing_startstop
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_softing_startstop
	.p2align	4, 0x90
_softing_startstop:                     ## @softing_startstop
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	64(%rax), %r12
	cmpl	$0, 12(%r12)
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_mutex_lock_interruptible
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_15
## %bb.2:
	xorl	%r14d, %r14d
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.3:
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movb	(%rbx), %cl
	movl	$1, %r14d
	shll	%cl, %r14d
LBB0_5:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jle	LBB0_16
## %bb.6:
	movq	_CAN_STATE_STOPPED@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r15), %eax
	movl	%eax, 16(%r13)
	movq	(%r12), %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%rdi,%rbx,8), %r14
	testq	%r14, %r14
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	movl	$0, %ecx
	cmovel	%ecx, %eax
	orl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r13)
	movq	$0, 56(%r13)
	movq	%r14, %rdi
	callq	_close_candev
	jmp	LBB0_7
LBB0_14:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	$0, 40(%r12)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_softing_enable_irq
	movq	%r12, %rdi
	callq	_softing_reset_chip
	movl	%eax, %r14d
	testl	%eax, %eax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_17
## %bb.22:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_64
## %bb.23:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %eax
	notl	%eax
	testb	$3, %al
	jne	LBB0_25
## %bb.24:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	callq	_softing_error_reporting
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	8(%rax), %rdi
	callq	_softing_error_reporting
	cmpq	%rax, %r14
	jne	LBB0_41
LBB0_25:
	testb	$1, %bl
	jne	LBB0_36
LBB0_26:
	testb	$2, %bl
	jne	LBB0_42
LBB0_27:
	movq	16(%r12), %rax
	movq	_DPRAM_FCT_PARAM@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$24, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$32, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$40, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$48, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$56, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$64, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$72, %rsi
	movl	$1, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$80, %rsi
	movl	$1, %edi
	callq	_iowrite16
	leaq	L_.str.9(%rip), %rdx
	movq	%r12, %rdi
	movl	$17, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.28:
	leaq	L_.str.10(%rip), %rdx
	movq	%r12, %rdi
	movl	$36, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.29:
	leaq	L_.str.11(%rip), %rdx
	movq	%r12, %rdi
	movl	$13, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.30:
	leaq	L_.str.12(%rip), %rdx
	movq	%r12, %rdi
	movl	$14, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.31:
	leaq	L_.str.13(%rip), %rdx
	movq	%r12, %rdi
	movl	$11, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.32:
	movq	_DPRAM_INFO_BUSSTATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r12), %rsi
	xorl	%edi, %edi
	callq	_iowrite8
	movq	_DPRAM_INFO_BUSSTATE2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r12), %rsi
	xorl	%edi, %edi
	callq	_iowrite8
	movq	24(%r12), %rax
	cmpl	$1, (%rax)
	jg	LBB0_34
## %bb.33:
	movq	_DPRAM_V2_IRQ_TOHOST@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r12), %rsi
	xorl	%edi, %edi
	callq	_iowrite8
	xorl	%eax, %eax
	callq	_wmb
LBB0_34:
	movq	%r12, %rdi
	callq	_softing_initialize_timestamp
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_CAN_ERR_FLAG@GOTPCREL(%rip), %rax
	movq	_CAN_ERR_RESTARTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -64(%rbp)
	movq	_CAN_ERR_DLC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_63
## %bb.35:
	xorl	%ebx, %ebx
	movq	_CAN_STATE_ERROR_ACTIVE@GOTPCREL(%rip), %r14
	jmp	LBB0_49
LBB0_36:
	movq	(%r12), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_softing_error_reporting
	movl	20(%r13), %edi
	movq	16(%r12), %rax
	movq	_DPRAM_FCT_PARAM@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	callq	_iowrite16
	movl	24(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	callq	_iowrite16
	movl	32(%r13), %edi
	addl	28(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$24, %rsi
	callq	_iowrite16
	movl	36(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$32, %rsi
	callq	_iowrite16
	movq	_CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	8(%r13), %eax
	setne	%dil
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$40, %rsi
	callq	_iowrite16
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.37:
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.38:
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	movl	$2047, %edi                     ## imm = 0x7FF
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$24, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$32, %rsi
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$40, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$48, %rsi
	movl	$8191, %edi                     ## imm = 0x1FFF
	callq	_iowrite16
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	$7, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.39:
	movl	4(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	callq	_iowrite16
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jns	LBB0_26
	jmp	LBB0_53
LBB0_41:
	movq	32(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_alert
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_17
LBB0_42:
	movq	(%r12), %rax
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_softing_error_reporting
	movl	20(%r13), %edi
	movq	16(%r12), %rax
	movq	_DPRAM_FCT_PARAM@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	callq	_iowrite16
	movl	24(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	callq	_iowrite16
	movl	32(%r13), %edi
	addl	28(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$24, %rsi
	callq	_iowrite16
	movl	36(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$32, %rsi
	callq	_iowrite16
	movq	_CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	8(%r13), %eax
	setne	%dil
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$40, %rsi
	callq	_iowrite16
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.43:
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.44:
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	movl	$2047, %edi                     ## imm = 0x7FF
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$24, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$32, %rsi
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$40, %rsi
	xorl	%edi, %edi
	callq	_iowrite16
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$48, %rsi
	movl	$8191, %edi                     ## imm = 0x1FFF
	callq	_iowrite16
	leaq	L_.str.7(%rip), %rdx
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	js	LBB0_53
## %bb.45:
	movl	4(%r13), %edi
	movq	16(%r12), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$8, %rsi
	callq	_iowrite16
	leaq	L_.str.8(%rip), %rdx
	movq	%r12, %rdi
	movl	$6, %esi
	callq	_softing_fct_cmd
	testl	%eax, %eax
	jns	LBB0_27
LBB0_53:
	movl	%eax, %r14d
LBB0_17:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_softing_enable_irq
	movq	%r12, %rdi
	callq	_softing_reset_chip
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_15
## %bb.18:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%rdi,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rax, %rdi
	callq	_dev_close
	movq	(%r12), %rdi
	jmp	LBB0_19
LBB0_47:                                ##   in Loop: Header=BB0_49 Depth=1
	movq	%r15, %rdi
	callq	_netif_wake_queue
LBB0_48:                                ##   in Loop: Header=BB0_49 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_63
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_48
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %r15
	testq	%r15, %r15
	je	LBB0_48
## %bb.51:                              ##   in Loop: Header=BB0_49 Depth=1
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movl	(%r14), %eax
	movl	%eax, 16(%r13)
	movq	%r15, %rdi
	callq	_open_candev
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_47
## %bb.52:                              ##   in Loop: Header=BB0_49 Depth=1
	movq	%r15, %rdi
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	callq	_softing_netdev_rx
	incl	12(%r13)
	jmp	LBB0_47
LBB0_63:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_softing_enable_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_17
LBB0_64:
	movq	%r15, %rdi
	callq	_mutex_unlock
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_CAN_STATE_STOPPED,4,2          ## @CAN_STATE_STOPPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"err_reporting flag differs for busses\n"

	.comm	_DPRAM_FCT_PARAM,4,2            ## @DPRAM_FCT_PARAM
	.comm	_CAN_CTRLMODE_3_SAMPLES,4,2     ## @CAN_CTRLMODE_3_SAMPLES
L_.str.1:                               ## @.str.1
	.asciz	"initialize_chip[0]"

L_.str.2:                               ## @.str.2
	.asciz	"set_mode[0]"

L_.str.3:                               ## @.str.3
	.asciz	"set_filter[0]"

L_.str.4:                               ## @.str.4
	.asciz	"set_output[0]"

L_.str.5:                               ## @.str.5
	.asciz	"initialize_chip[1]"

L_.str.6:                               ## @.str.6
	.asciz	"set_mode[1]"

L_.str.7:                               ## @.str.7
	.asciz	"set_filter[1]"

L_.str.8:                               ## @.str.8
	.asciz	"set_output[1]"

L_.str.9:                               ## @.str.9
	.asciz	"initialize_interface"

L_.str.10:                              ## @.str.10
	.asciz	"enable_fifo"

L_.str.11:                              ## @.str.11
	.asciz	"fifo_tx_ack[0]"

L_.str.12:                              ## @.str.12
	.asciz	"fifo_tx_ack[1]"

L_.str.13:                              ## @.str.13
	.asciz	"start_chip"

	.comm	_DPRAM_INFO_BUSSTATE,8,3        ## @DPRAM_INFO_BUSSTATE
	.comm	_DPRAM_INFO_BUSSTATE2,8,3       ## @DPRAM_INFO_BUSSTATE2
	.comm	_DPRAM_V2_IRQ_TOHOST,8,3        ## @DPRAM_V2_IRQ_TOHOST
	.comm	_CAN_ERR_FLAG,4,2               ## @CAN_ERR_FLAG
	.comm	_CAN_ERR_RESTARTED,4,2          ## @CAN_ERR_RESTARTED
	.comm	_CAN_ERR_DLC,4,2                ## @CAN_ERR_DLC
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ## @CAN_STATE_ERROR_ACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_softing_startstop              ; -- Begin function softing_startstop
	.p2align	2
_softing_startstop:                     ; @softing_startstop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	x19, [x0, #64]
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_14
; %bb.1:
	mov	x24, x0
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_lock_interruptible
	mov	x23, x0
	cbnz	w0, LBB0_15
; %bb.2:
	mov	w25, #0
	cbz	x21, LBB0_5
; %bb.3:
	cbz	w22, LBB0_5
; %bb.4:
	ldr	w8, [x24]
	mov	w9, #1
	lsl	w25, w9, w8
LBB0_5:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.6:
	mov	x24, #0
Lloh0:
	adrp	x26, _CAN_STATE_STOPPED@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CAN_STATE_STOPPED@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x26]
	str	w8, [x22, #16]
	ldr	x0, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	cmp	x24, w0, sxtw
	b.ge	LBB0_16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x23, [x0, x24, lsl #3]
	cbz	x23, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_netdev_priv
	mov	x22, x0
	cmp	x23, x21
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_netif_stop_queue
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_netif_running
	cbz	x0, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	lsl	w8, w27, w24
	cmp	x23, x21
	csel	w8, wzr, w8, eq
	orr	w25, w8, w25
	stp	xzr, xzr, [x22, #40]
	str	xzr, [x22, #56]
	mov	x0, x23
	bl	_close_candev
	b	LBB0_7
LBB0_14:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_15:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	str	xzr, [x19, #40]
	mov	x0, x19
	mov	w1, #0
	bl	_softing_enable_irq
	mov	x0, x19
	bl	_softing_reset_chip
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.17:
	cbz	w25, LBB0_53
; %bb.18:
	mvn	w8, w25
	tst	w8, #0x3
	b.ne	LBB0_20
; %bb.19:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_softing_error_reporting
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_softing_error_reporting
	cmp	x22, x0
	b.ne	LBB0_35
LBB0_20:
	tbnz	w25, #0, LBB0_31
LBB0_21:
	tbnz	w25, #1, LBB0_36
LBB0_22:
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x22, _DPRAM_FCT_PARAM@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DPRAM_FCT_PARAM@GOTPAGEOFF]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #24
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #32
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #40
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #48
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #56
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #64
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #72
	mov	w0, #1
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #80
	mov	w0, #1
	bl	_iowrite16
Lloh7:
	adrp	x2, l_.str.9@PAGE
Lloh8:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #17
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.23:
Lloh9:
	adrp	x2, l_.str.10@PAGE
Lloh10:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w1, #36
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.24:
Lloh11:
	adrp	x2, l_.str.11@PAGE
Lloh12:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	w1, #13
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.25:
Lloh13:
	adrp	x2, l_.str.12@PAGE
Lloh14:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w1, #14
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.26:
Lloh15:
	adrp	x2, l_.str.13@PAGE
Lloh16:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x0, x19
	mov	w1, #11
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.27:
	ldr	x8, [x19, #16]
Lloh17:
	adrp	x9, _DPRAM_INFO_BUSSTATE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DPRAM_INFO_BUSSTATE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	w0, #0
	bl	_iowrite8
	ldr	x8, [x19, #16]
Lloh20:
	adrp	x9, _DPRAM_INFO_BUSSTATE2@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DPRAM_INFO_BUSSTATE2@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	w0, #0
	bl	_iowrite8
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	cmp	w8, #1
	b.gt	LBB0_29
; %bb.28:
	ldr	x8, [x19, #16]
Lloh23:
	adrp	x9, _DPRAM_V2_IRQ_TOHOST@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DPRAM_V2_IRQ_TOHOST@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	w0, #0
	bl	_iowrite8
	bl	_wmb
LBB0_29:
	mov	x0, x19
	bl	_softing_initialize_timestamp
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh26:
	adrp	x8, _CAN_ERR_FLAG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CAN_ERR_FLAG@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _CAN_ERR_RESTARTED@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CAN_ERR_RESTARTED@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh32:
	adrp	x9, _CAN_ERR_DLC@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CAN_ERR_DLC@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_52
; %bb.30:
	mov	x24, #0
Lloh35:
	adrp	x26, _CAN_STATE_ERROR_ACTIVE@GOTPAGE
Lloh36:
	ldr	x26, [x26, _CAN_STATE_ERROR_ACTIVE@GOTPAGEOFF]
	b	LBB0_48
LBB0_31:
	ldr	x8, [x19]
	ldr	x23, [x8]
	mov	x0, x23
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x23
	bl	_softing_error_reporting
	ldr	w0, [x22, #20]
	ldr	x8, [x19, #16]
Lloh37:
	adrp	x24, _DPRAM_FCT_PARAM@GOTPAGE
Lloh38:
	ldr	x24, [x24, _DPRAM_FCT_PARAM@GOTPAGEOFF]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	bl	_iowrite16
	ldr	w0, [x22, #24]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	bl	_iowrite16
	ldp	w8, w9, [x22, #28]
	add	w0, w9, w8
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #24
	bl	_iowrite16
	ldr	w0, [x22, #36]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #32
	bl	_iowrite16
	ldr	w8, [x22, #8]
Lloh39:
	adrp	x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh40:
	ldr	x9, [x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #40
	bl	_iowrite16
Lloh42:
	adrp	x2, l_.str.1@PAGE
Lloh43:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.32:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	mov	w0, #0
	bl	_iowrite16
Lloh44:
	adrp	x2, l_.str.2@PAGE
Lloh45:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #3
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.33:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	mov	w0, #2047
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #24
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #32
	mov	w0, #65535
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #40
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #48
	mov	w0, #8191
	bl	_iowrite16
Lloh46:
	adrp	x2, l_.str.3@PAGE
Lloh47:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #7
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.34:
	ldr	w0, [x22, #4]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	bl	_iowrite16
Lloh48:
	adrp	x2, l_.str.4@PAGE
Lloh49:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #5
	bl	_softing_fct_cmd
	tbz	w0, #31, LBB0_21
	b	LBB0_40
LBB0_35:
	ldr	x0, [x19, #32]
Lloh50:
	adrp	x1, l_.str@PAGE
Lloh51:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_alert
Lloh52:
	adrp	x8, _EINVAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_41
LBB0_36:
	ldr	x8, [x19]
	ldr	x23, [x8, #8]
	mov	x0, x23
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x23
	bl	_softing_error_reporting
	ldr	w0, [x22, #20]
	ldr	x8, [x19, #16]
Lloh55:
	adrp	x24, _DPRAM_FCT_PARAM@GOTPAGE
Lloh56:
	ldr	x24, [x24, _DPRAM_FCT_PARAM@GOTPAGEOFF]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	bl	_iowrite16
	ldr	w0, [x22, #24]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	bl	_iowrite16
	ldp	w8, w9, [x22, #28]
	add	w0, w9, w8
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #24
	bl	_iowrite16
	ldr	w0, [x22, #36]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #32
	bl	_iowrite16
	ldr	w8, [x22, #8]
Lloh57:
	adrp	x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh58:
	ldr	x9, [x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #40
	bl	_iowrite16
Lloh60:
	adrp	x2, l_.str.5@PAGE
Lloh61:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #2
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.37:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	mov	w0, #0
	bl	_iowrite16
Lloh62:
	adrp	x2, l_.str.6@PAGE
Lloh63:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #4
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.38:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #16
	mov	w0, #2047
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #24
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #32
	mov	w0, #65535
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #40
	mov	w0, #0
	bl	_iowrite16
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #48
	mov	w0, #8191
	bl	_iowrite16
Lloh64:
	adrp	x2, l_.str.7@PAGE
Lloh65:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #8
	bl	_softing_fct_cmd
	tbnz	w0, #31, LBB0_40
; %bb.39:
	ldr	w0, [x22, #4]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x24]
	add	x8, x8, x9, lsl #2
	add	x1, x8, #8
	bl	_iowrite16
Lloh66:
	adrp	x2, l_.str.8@PAGE
Lloh67:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #6
	bl	_softing_fct_cmd
	tbz	w0, #31, LBB0_22
LBB0_40:
	mov	x23, x0
LBB0_41:
	mov	x0, x19
	mov	w1, #0
	bl	_softing_enable_irq
	mov	x0, x19
	bl	_softing_reset_chip
	mov	x0, x20
	bl	_mutex_unlock
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.42:
	mov	x20, #0
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.ge	LBB0_15
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x8, [x0, x20, lsl #3]
	cbz	x8, LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	mov	x0, x8
	bl	_dev_close
	ldr	x0, [x19]
	b	LBB0_43
LBB0_46:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x22
	bl	_netif_wake_queue
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=1
	add	x24, x24, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x24, w0, sxtw
	b.ge	LBB0_52
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	lsr	w8, w25, w24
	tbz	w8, #0, LBB0_47
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
	ldr	x8, [x19]
	ldr	x22, [x8, x24, lsl #3]
	cbz	x22, LBB0_47
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x22
	bl	_netdev_priv
	mov	x23, x0
	ldr	w8, [x26]
	str	w8, [x0, #16]
	mov	x0, x22
	bl	_open_candev
	cmp	x22, x21
	b.eq	LBB0_46
; %bb.51:                               ;   in Loop: Header=BB0_48 Depth=1
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #0
	bl	_softing_netdev_rx
	ldr	w8, [x23, #12]
	add	w8, w8, #1
	str	w8, [x23, #12]
	b	LBB0_46
LBB0_52:
	mov	x0, x19
	mov	w1, #1
	bl	_softing_enable_irq
	mov	x23, x0
	cbnz	w0, LBB0_41
LBB0_53:
	mov	x0, x20
	bl	_mutex_unlock
	mov	w23, #0
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_CAN_STATE_STOPPED,4,2          ; @CAN_STATE_STOPPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"err_reporting flag differs for busses\n"

	.comm	_DPRAM_FCT_PARAM,4,2            ; @DPRAM_FCT_PARAM
	.comm	_CAN_CTRLMODE_3_SAMPLES,4,2     ; @CAN_CTRLMODE_3_SAMPLES
l_.str.1:                               ; @.str.1
	.asciz	"initialize_chip[0]"

l_.str.2:                               ; @.str.2
	.asciz	"set_mode[0]"

l_.str.3:                               ; @.str.3
	.asciz	"set_filter[0]"

l_.str.4:                               ; @.str.4
	.asciz	"set_output[0]"

l_.str.5:                               ; @.str.5
	.asciz	"initialize_chip[1]"

l_.str.6:                               ; @.str.6
	.asciz	"set_mode[1]"

l_.str.7:                               ; @.str.7
	.asciz	"set_filter[1]"

l_.str.8:                               ; @.str.8
	.asciz	"set_output[1]"

l_.str.9:                               ; @.str.9
	.asciz	"initialize_interface"

l_.str.10:                              ; @.str.10
	.asciz	"enable_fifo"

l_.str.11:                              ; @.str.11
	.asciz	"fifo_tx_ack[0]"

l_.str.12:                              ; @.str.12
	.asciz	"fifo_tx_ack[1]"

l_.str.13:                              ; @.str.13
	.asciz	"start_chip"

	.comm	_DPRAM_INFO_BUSSTATE,8,3        ; @DPRAM_INFO_BUSSTATE
	.comm	_DPRAM_INFO_BUSSTATE2,8,3       ; @DPRAM_INFO_BUSSTATE2
	.comm	_DPRAM_V2_IRQ_TOHOST,8,3        ; @DPRAM_V2_IRQ_TOHOST
	.comm	_CAN_ERR_FLAG,4,2               ; @CAN_ERR_FLAG
	.comm	_CAN_ERR_RESTARTED,4,2          ; @CAN_ERR_RESTARTED
	.comm	_CAN_ERR_DLC,4,2                ; @CAN_ERR_DLC
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ; @CAN_STATE_ERROR_ACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
