	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m_can_chip_config
_m_can_chip_config:                     ## @m_can_chip_config
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	$1, %r15d
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_m_can_config_endisable
	movq	_M_CAN_RXESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_CAN_RXESC_64BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	_M_CAN_GFC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_m_can_write
	cmpl	$30, (%rbx)
	movq	_M_CAN_TXBC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jne	LBB0_2
## %bb.1:
	movq	_TXBC_NDTB_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movq	24(%rbx), %rax
	movq	_MRAM_TXB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %eax
	jmp	LBB0_3
LBB0_2:
	movq	24(%rbx), %rax
	movq	_MRAM_TXB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %r15d
	movl	4(%rax,%rcx,8), %eax
	movq	_TXBC_TFQS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
LBB0_3:
	orl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_m_can_write
	movq	_M_CAN_TXESC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TXESC_TBDS_64BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	cmpl	$30, (%rbx)
	movq	_M_CAN_TXEFC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.4:
	movq	_TXEFC_EFS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	24(%rbx), %rax
	movq	_MRAM_TXE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %eax
	jmp	LBB0_6
LBB0_5:
	movq	24(%rbx), %rdx
	movq	_MRAM_TXE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_TXEFC_EFS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	4(%rdx,%rdi,8), %eax
	shll	%cl, %eax
	movl	(%rdx,%rdi,8), %edx
	movq	_TXEFC_EFS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
LBB0_6:
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	24(%rbx), %rax
	movq	_MRAM_RXF0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	4(%rax,%rdi,8), %edx
	movq	_RXFC_FS_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	shll	%cl, %edx
	movq	_M_CAN_RXF0C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax,%rdi,8), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	24(%rbx), %rax
	movq	_MRAM_RXF1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	4(%rax,%rdi,8), %edx
	movb	(%r14), %cl
	shll	%cl, %edx
	movq	_M_CAN_RXF1C@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax,%rdi,8), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	_M_CAN_CCCR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_m_can_read
	movl	%eax, %r12d
	movq	_M_CAN_TEST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_m_can_read
	movq	_TEST_LBCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%r15d, %r9d
	notl	%r9d
	andl	%eax, %r9d
	cmpl	$30, (%rbx)
	movq	_CCCR_TEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CCCR_MON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	jne	LBB0_9
## %bb.7:
	movl	%r8d, %r10d
	movq	_CCCR_CMR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_CCCR_CMR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%esi, %r10d
	movq	_CCCR_CME_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CCCR_CME_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	%cl, %edx
	orl	%r10d, %edi
	orl	%edi, %edx
	notl	%edx
	andl	%edx, %r12d
	movl	16(%rbx), %edx
	movq	_CAN_CTRLMODE_FD@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_11
## %bb.8:
	movq	_CCCR_CME_CANFD_BRS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	jmp	LBB0_10
LBB0_9:
	movq	_CCCR_BRSE@GOTPCREL(%rip), %rcx
	movq	_CCCR_FDOE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	movq	_CCCR_NISO@GOTPCREL(%rip), %rdx
	orl	(%rcx), %r11d
	movl	(%rdx), %r10d
	movl	%r11d, %edx
	orl	%esi, %edx
	orl	%r8d, %edx
	orl	%r10d, %edx
	notl	%edx
	andl	%edx, %r12d
	movl	16(%rbx), %edx
	movq	_CAN_CTRLMODE_FD_NON_ISO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	cmovnel	%r10d, %ecx
	movq	_CAN_CTRLMODE_FD@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%edx, %edi
	cmovnel	%r11d, %edi
	orl	%ecx, %edi
LBB0_10:
	orl	%edi, %r12d
LBB0_11:
	movq	_CAN_CTRLMODE_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	orl	%r12d, %esi
	orl	%r8d, %esi
	orl	%eax, %r15d
	testl	%ecx, %ecx
	cmovel	%r12d, %esi
	cmovel	%r9d, %r15d
	movq	_CAN_CTRLMODE_LISTENONLY@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	cmovnel	%r8d, %edx
	orl	%esi, %edx
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_m_can_write
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_m_can_write
	movq	_M_CAN_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IR_ALL_INT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	_CAN_CTRLMODE_BERR_REPORTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_12
## %bb.16:
	movq	_M_CAN_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_12:
	cmpl	$30, (%rbx)
	movq	_M_CAN_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_15
## %bb.13:
	movq	_IR_ERR_LEC_30X@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_15:
	movq	_IR_ERR_LEC_31X@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_m_can_write
LBB0_17:
	movq	_M_CAN_ILS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ILS_ALL_INT0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_m_can_write
	movq	%r14, %rdi
	callq	_m_can_set_bittiming
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_m_can_config_endisable
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CAN_RXESC,4,2                ## @M_CAN_RXESC
	.comm	_M_CAN_RXESC_64BYTES,4,2        ## @M_CAN_RXESC_64BYTES
	.comm	_M_CAN_GFC,4,2                  ## @M_CAN_GFC
	.comm	_M_CAN_TXBC,4,2                 ## @M_CAN_TXBC
	.comm	_TXBC_NDTB_SHIFT,4,2            ## @TXBC_NDTB_SHIFT
	.comm	_MRAM_TXB,8,3                   ## @MRAM_TXB
	.comm	_TXBC_TFQS_SHIFT,4,2            ## @TXBC_TFQS_SHIFT
	.comm	_M_CAN_TXESC,4,2                ## @M_CAN_TXESC
	.comm	_TXESC_TBDS_64BYTES,4,2         ## @TXESC_TBDS_64BYTES
	.comm	_M_CAN_TXEFC,4,2                ## @M_CAN_TXEFC
	.comm	_TXEFC_EFS_SHIFT,4,2            ## @TXEFC_EFS_SHIFT
	.comm	_MRAM_TXE,8,3                   ## @MRAM_TXE
	.comm	_TXEFC_EFS_MASK,4,2             ## @TXEFC_EFS_MASK
	.comm	_M_CAN_RXF0C,4,2                ## @M_CAN_RXF0C
	.comm	_MRAM_RXF0,8,3                  ## @MRAM_RXF0
	.comm	_RXFC_FS_SHIFT,4,2              ## @RXFC_FS_SHIFT
	.comm	_M_CAN_RXF1C,4,2                ## @M_CAN_RXF1C
	.comm	_MRAM_RXF1,8,3                  ## @MRAM_RXF1
	.comm	_M_CAN_CCCR,4,2                 ## @M_CAN_CCCR
	.comm	_M_CAN_TEST,4,2                 ## @M_CAN_TEST
	.comm	_TEST_LBCK,4,2                  ## @TEST_LBCK
	.comm	_CCCR_TEST,4,2                  ## @CCCR_TEST
	.comm	_CCCR_MON,4,2                   ## @CCCR_MON
	.comm	_CCCR_CMR_MASK,4,2              ## @CCCR_CMR_MASK
	.comm	_CCCR_CMR_SHIFT,4,2             ## @CCCR_CMR_SHIFT
	.comm	_CCCR_CME_MASK,4,2              ## @CCCR_CME_MASK
	.comm	_CCCR_CME_SHIFT,4,2             ## @CCCR_CME_SHIFT
	.comm	_CAN_CTRLMODE_FD,4,2            ## @CAN_CTRLMODE_FD
	.comm	_CCCR_CME_CANFD_BRS,4,2         ## @CCCR_CME_CANFD_BRS
	.comm	_CCCR_BRSE,4,2                  ## @CCCR_BRSE
	.comm	_CCCR_FDOE,4,2                  ## @CCCR_FDOE
	.comm	_CCCR_NISO,4,2                  ## @CCCR_NISO
	.comm	_CAN_CTRLMODE_FD_NON_ISO,4,2    ## @CAN_CTRLMODE_FD_NON_ISO
	.comm	_CAN_CTRLMODE_LOOPBACK,4,2      ## @CAN_CTRLMODE_LOOPBACK
	.comm	_CAN_CTRLMODE_LISTENONLY,4,2    ## @CAN_CTRLMODE_LISTENONLY
	.comm	_M_CAN_IR,4,2                   ## @M_CAN_IR
	.comm	_IR_ALL_INT,4,2                 ## @IR_ALL_INT
	.comm	_CAN_CTRLMODE_BERR_REPORTING,4,2 ## @CAN_CTRLMODE_BERR_REPORTING
	.comm	_M_CAN_IE,4,2                   ## @M_CAN_IE
	.comm	_IR_ERR_LEC_30X,4,2             ## @IR_ERR_LEC_30X
	.comm	_IR_ERR_LEC_31X,4,2             ## @IR_ERR_LEC_31X
	.comm	_M_CAN_ILS,4,2                  ## @M_CAN_ILS
	.comm	_ILS_ALL_INT0,4,2               ## @ILS_ALL_INT0
	.no_dead_strip	_m_can_chip_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m_can_chip_config
_m_can_chip_config:                     ; @m_can_chip_config
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	w21, #1
	mov	w1, #1
	bl	_m_can_config_endisable
Lloh0:
	adrp	x8, _M_CAN_RXESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_CAN_RXESC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _M_CAN_RXESC_64BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_CAN_RXESC_64BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_m_can_write
Lloh6:
	adrp	x8, _M_CAN_GFC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_CAN_GFC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_m_can_write
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _M_CAN_TXBC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _M_CAN_TXBC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	cmp	w8, #30
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _TXBC_NDTB_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXBC_NDTB_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsl	w8, w21, w8
	ldr	x9, [x19, #24]
Lloh15:
	adrp	x10, _MRAM_TXB@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MRAM_TXB@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldr	w9, [x9, x10]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #24]
Lloh18:
	adrp	x9, _MRAM_TXB@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MRAM_TXB@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #3
Lloh21:
	adrp	x9, _TXBC_TFQS_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TXBC_TFQS_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ldp	w8, w10, [x8]
	lsl	w9, w10, w9
LBB0_3:
	orr	w2, w9, w8
	mov	x0, x19
	bl	_m_can_write
Lloh24:
	adrp	x8, _M_CAN_TXESC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _M_CAN_TXESC@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _TXESC_TBDS_64BYTES@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TXESC_TBDS_64BYTES@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_m_can_write
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _M_CAN_TXEFC@GOTPAGE
Lloh31:
	ldr	x9, [x9, _M_CAN_TXEFC@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x9]
	cmp	w8, #30
	b.ne	LBB0_5
; %bb.4:
Lloh33:
	adrp	x8, _TXEFC_EFS_SHIFT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TXEFC_EFS_SHIFT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	x9, [x19, #24]
Lloh36:
	adrp	x10, _MRAM_TXE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _MRAM_TXE@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldr	w9, [x9, x10]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19, #24]
Lloh39:
	adrp	x9, _MRAM_TXE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MRAM_TXE@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #3
Lloh42:
	adrp	x9, _TXEFC_EFS_SHIFT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _TXEFC_EFS_SHIFT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	ldp	w8, w10, [x8]
	lsl	w9, w10, w9
Lloh45:
	adrp	x10, _TXEFC_EFS_MASK@GOTPAGE
Lloh46:
	ldr	x10, [x10, _TXEFC_EFS_MASK@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	and	w9, w9, w10
LBB0_6:
	orr	w2, w9, w8
	mov	x0, x19
	bl	_m_can_write
Lloh48:
	adrp	x8, _M_CAN_RXF0C@GOTPAGE
Lloh49:
	ldr	x8, [x8, _M_CAN_RXF0C@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	ldr	x8, [x19, #24]
Lloh51:
	adrp	x9, _MRAM_RXF0@GOTPAGE
Lloh52:
	ldr	x9, [x9, _MRAM_RXF0@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
Lloh54:
	adrp	x21, _RXFC_FS_SHIFT@GOTPAGE
Lloh55:
	ldr	x21, [x21, _RXFC_FS_SHIFT@GOTPAGEOFF]
	add	x8, x8, x9, lsl #3
	ldr	w9, [x21]
	ldp	w8, w10, [x8]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x19
	bl	_m_can_write
Lloh56:
	adrp	x8, _M_CAN_RXF1C@GOTPAGE
Lloh57:
	ldr	x8, [x8, _M_CAN_RXF1C@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	ldr	x8, [x19, #24]
Lloh59:
	adrp	x9, _MRAM_RXF1@GOTPAGE
Lloh60:
	ldr	x9, [x9, _MRAM_RXF1@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #3
	ldr	w9, [x21]
	ldp	w8, w10, [x8]
	lsl	w9, w10, w9
	orr	w2, w9, w8
	mov	x0, x19
	bl	_m_can_write
Lloh62:
	adrp	x22, _M_CAN_CCCR@GOTPAGE
Lloh63:
	ldr	x22, [x22, _M_CAN_CCCR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_m_can_read
	mov	x21, x0
Lloh64:
	adrp	x23, _M_CAN_TEST@GOTPAGE
Lloh65:
	ldr	x23, [x23, _M_CAN_TEST@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_m_can_read
Lloh66:
	adrp	x8, _TEST_LBCK@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TEST_LBCK@GOTPAGEOFF]
Lloh68:
	ldr	w10, [x8]
	bic	w8, w0, w10
Lloh69:
	adrp	x9, _CCCR_TEST@GOTPAGE
Lloh70:
	ldr	x9, [x9, _CCCR_TEST@GOTPAGEOFF]
	ldr	w12, [x19]
Lloh71:
	ldr	w11, [x9]
Lloh72:
	adrp	x9, _CCCR_MON@GOTPAGE
Lloh73:
	ldr	x9, [x9, _CCCR_MON@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w12, #30
	b.ne	LBB0_9
; %bb.7:
	orr	w12, w9, w11
Lloh75:
	adrp	x13, _CCCR_CMR_MASK@GOTPAGE
Lloh76:
	ldr	x13, [x13, _CCCR_CMR_MASK@GOTPAGEOFF]
Lloh77:
	adrp	x14, _CCCR_CMR_SHIFT@GOTPAGE
Lloh78:
	ldr	x14, [x14, _CCCR_CMR_SHIFT@GOTPAGEOFF]
Lloh79:
	ldr	w13, [x13]
Lloh80:
	ldr	w14, [x14]
	lsl	w13, w13, w14
	orr	w12, w12, w13
Lloh81:
	adrp	x13, _CCCR_CME_MASK@GOTPAGE
Lloh82:
	ldr	x13, [x13, _CCCR_CME_MASK@GOTPAGEOFF]
Lloh83:
	ldr	w13, [x13]
Lloh84:
	adrp	x14, _CCCR_CME_SHIFT@GOTPAGE
Lloh85:
	ldr	x14, [x14, _CCCR_CME_SHIFT@GOTPAGEOFF]
Lloh86:
	ldr	w14, [x14]
	lsl	w13, w13, w14
	orr	w12, w12, w13
	bic	w13, w21, w12
	ldr	w12, [x19, #16]
Lloh87:
	adrp	x15, _CAN_CTRLMODE_FD@GOTPAGE
Lloh88:
	ldr	x15, [x15, _CAN_CTRLMODE_FD@GOTPAGEOFF]
Lloh89:
	ldr	w15, [x15]
	tst	w15, w12
	b.eq	LBB0_11
; %bb.8:
Lloh90:
	adrp	x15, _CCCR_CME_CANFD_BRS@GOTPAGE
Lloh91:
	ldr	x15, [x15, _CCCR_CME_CANFD_BRS@GOTPAGEOFF]
Lloh92:
	ldr	w15, [x15]
	lsl	w14, w15, w14
	b	LBB0_10
LBB0_9:
Lloh93:
	adrp	x12, _CCCR_BRSE@GOTPAGE
Lloh94:
	ldr	x12, [x12, _CCCR_BRSE@GOTPAGEOFF]
Lloh95:
	ldr	w12, [x12]
Lloh96:
	adrp	x13, _CCCR_FDOE@GOTPAGE
Lloh97:
	ldr	x13, [x13, _CCCR_FDOE@GOTPAGEOFF]
Lloh98:
	ldr	w13, [x13]
Lloh99:
	adrp	x14, _CCCR_NISO@GOTPAGE
Lloh100:
	ldr	x14, [x14, _CCCR_NISO@GOTPAGEOFF]
Lloh101:
	ldr	w14, [x14]
	orr	w13, w13, w12
	orr	w12, w13, w11
	orr	w12, w12, w9
	orr	w12, w12, w14
	bic	w15, w21, w12
	ldr	w12, [x19, #16]
Lloh102:
	adrp	x16, _CAN_CTRLMODE_FD_NON_ISO@GOTPAGE
Lloh103:
	ldr	x16, [x16, _CAN_CTRLMODE_FD_NON_ISO@GOTPAGEOFF]
Lloh104:
	ldr	w16, [x16]
	tst	w16, w12
	csel	w14, wzr, w14, eq
	orr	w14, w14, w15
Lloh105:
	adrp	x15, _CAN_CTRLMODE_FD@GOTPAGE
Lloh106:
	ldr	x15, [x15, _CAN_CTRLMODE_FD@GOTPAGEOFF]
Lloh107:
	ldr	w15, [x15]
	tst	w15, w12
	csel	w13, wzr, w13, eq
LBB0_10:
	orr	w13, w14, w13
LBB0_11:
Lloh108:
	adrp	x14, _CAN_CTRLMODE_LOOPBACK@GOTPAGE
Lloh109:
	ldr	x14, [x14, _CAN_CTRLMODE_LOOPBACK@GOTPAGEOFF]
Lloh110:
	ldr	w14, [x14]
	orr	w11, w11, w13
	orr	w11, w11, w9
	orr	w10, w10, w0
	tst	w14, w12
	csel	w11, w13, w11, eq
Lloh111:
	adrp	x13, _CAN_CTRLMODE_LISTENONLY@GOTPAGE
Lloh112:
	ldr	x13, [x13, _CAN_CTRLMODE_LISTENONLY@GOTPAGEOFF]
	csel	w21, w8, w10, eq
Lloh113:
	ldr	w8, [x13]
	tst	w8, w12
	csel	w8, wzr, w9, eq
	orr	w2, w8, w11
	ldr	w1, [x22]
	mov	x0, x19
	bl	_m_can_write
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_m_can_write
Lloh114:
	adrp	x8, _M_CAN_IR@GOTPAGE
Lloh115:
	ldr	x8, [x8, _M_CAN_IR@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
Lloh117:
	adrp	x21, _IR_ALL_INT@GOTPAGE
Lloh118:
	ldr	x21, [x21, _IR_ALL_INT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_m_can_write
	ldr	w8, [x19, #16]
Lloh119:
	adrp	x9, _CAN_CTRLMODE_BERR_REPORTING@GOTPAGE
Lloh120:
	ldr	x9, [x9, _CAN_CTRLMODE_BERR_REPORTING@GOTPAGEOFF]
Lloh121:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh122:
	adrp	x8, _M_CAN_IE@GOTPAGE
Lloh123:
	ldr	x8, [x8, _M_CAN_IE@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
	ldr	w2, [x21]
	b	LBB0_17
LBB0_13:
	ldr	w9, [x19]
Lloh125:
	adrp	x8, _M_CAN_IE@GOTPAGE
Lloh126:
	ldr	x8, [x8, _M_CAN_IE@GOTPAGEOFF]
Lloh127:
	ldr	w1, [x8]
	ldr	w8, [x21]
	cmp	w9, #30
	b.ne	LBB0_15
; %bb.14:
Lloh128:
	adrp	x9, _IR_ERR_LEC_30X@GOTPAGE
Lloh129:
	ldr	x9, [x9, _IR_ERR_LEC_30X@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh130:
	adrp	x9, _IR_ERR_LEC_31X@GOTPAGE
Lloh131:
	ldr	x9, [x9, _IR_ERR_LEC_31X@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	bic	w2, w8, w9
LBB0_17:
	mov	x0, x19
	bl	_m_can_write
Lloh132:
	adrp	x8, _M_CAN_ILS@GOTPAGE
Lloh133:
	ldr	x8, [x8, _M_CAN_ILS@GOTPAGEOFF]
Lloh134:
	ldr	w1, [x8]
Lloh135:
	adrp	x8, _ILS_ALL_INT0@GOTPAGE
Lloh136:
	ldr	x8, [x8, _ILS_ALL_INT0@GOTPAGEOFF]
Lloh137:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_m_can_write
	mov	x0, x20
	bl	_m_can_set_bittiming
	mov	x0, x19
	mov	w1, #0
	bl	_m_can_config_endisable
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	cbz	x1, LBB0_19
; %bb.18:
	mov	x0, x19
	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
	br	x1
LBB0_19:
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh79
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CAN_RXESC,4,2                ; @M_CAN_RXESC
	.comm	_M_CAN_RXESC_64BYTES,4,2        ; @M_CAN_RXESC_64BYTES
	.comm	_M_CAN_GFC,4,2                  ; @M_CAN_GFC
	.comm	_M_CAN_TXBC,4,2                 ; @M_CAN_TXBC
	.comm	_TXBC_NDTB_SHIFT,4,2            ; @TXBC_NDTB_SHIFT
	.comm	_MRAM_TXB,8,3                   ; @MRAM_TXB
	.comm	_TXBC_TFQS_SHIFT,4,2            ; @TXBC_TFQS_SHIFT
	.comm	_M_CAN_TXESC,4,2                ; @M_CAN_TXESC
	.comm	_TXESC_TBDS_64BYTES,4,2         ; @TXESC_TBDS_64BYTES
	.comm	_M_CAN_TXEFC,4,2                ; @M_CAN_TXEFC
	.comm	_TXEFC_EFS_SHIFT,4,2            ; @TXEFC_EFS_SHIFT
	.comm	_MRAM_TXE,8,3                   ; @MRAM_TXE
	.comm	_TXEFC_EFS_MASK,4,2             ; @TXEFC_EFS_MASK
	.comm	_M_CAN_RXF0C,4,2                ; @M_CAN_RXF0C
	.comm	_MRAM_RXF0,8,3                  ; @MRAM_RXF0
	.comm	_RXFC_FS_SHIFT,4,2              ; @RXFC_FS_SHIFT
	.comm	_M_CAN_RXF1C,4,2                ; @M_CAN_RXF1C
	.comm	_MRAM_RXF1,8,3                  ; @MRAM_RXF1
	.comm	_M_CAN_CCCR,4,2                 ; @M_CAN_CCCR
	.comm	_M_CAN_TEST,4,2                 ; @M_CAN_TEST
	.comm	_TEST_LBCK,4,2                  ; @TEST_LBCK
	.comm	_CCCR_TEST,4,2                  ; @CCCR_TEST
	.comm	_CCCR_MON,4,2                   ; @CCCR_MON
	.comm	_CCCR_CMR_MASK,4,2              ; @CCCR_CMR_MASK
	.comm	_CCCR_CMR_SHIFT,4,2             ; @CCCR_CMR_SHIFT
	.comm	_CCCR_CME_MASK,4,2              ; @CCCR_CME_MASK
	.comm	_CCCR_CME_SHIFT,4,2             ; @CCCR_CME_SHIFT
	.comm	_CAN_CTRLMODE_FD,4,2            ; @CAN_CTRLMODE_FD
	.comm	_CCCR_CME_CANFD_BRS,4,2         ; @CCCR_CME_CANFD_BRS
	.comm	_CCCR_BRSE,4,2                  ; @CCCR_BRSE
	.comm	_CCCR_FDOE,4,2                  ; @CCCR_FDOE
	.comm	_CCCR_NISO,4,2                  ; @CCCR_NISO
	.comm	_CAN_CTRLMODE_FD_NON_ISO,4,2    ; @CAN_CTRLMODE_FD_NON_ISO
	.comm	_CAN_CTRLMODE_LOOPBACK,4,2      ; @CAN_CTRLMODE_LOOPBACK
	.comm	_CAN_CTRLMODE_LISTENONLY,4,2    ; @CAN_CTRLMODE_LISTENONLY
	.comm	_M_CAN_IR,4,2                   ; @M_CAN_IR
	.comm	_IR_ALL_INT,4,2                 ; @IR_ALL_INT
	.comm	_CAN_CTRLMODE_BERR_REPORTING,4,2 ; @CAN_CTRLMODE_BERR_REPORTING
	.comm	_M_CAN_IE,4,2                   ; @M_CAN_IE
	.comm	_IR_ERR_LEC_30X,4,2             ; @IR_ERR_LEC_30X
	.comm	_IR_ERR_LEC_31X,4,2             ; @IR_ERR_LEC_31X
	.comm	_M_CAN_ILS,4,2                  ; @M_CAN_ILS
	.comm	_ILS_ALL_INT0,4,2               ; @ILS_ALL_INT0
	.no_dead_strip	_m_can_chip_config
.subsections_via_symbols
