	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m_can_config_endisable         ## -- Begin function m_can_config_endisable
	.p2align	4, 0x90
_m_can_config_endisable:                ## @m_can_config_endisable
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_M_CAN_CCCR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_m_can_read
	movq	_CCCR_CSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %ebx
	notl	%ebx
	andl	%eax, %ebx
	testl	%eax, %ecx
	cmovnel	%ebx, %eax
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	testl	%ecx, %eax
	cmovel	%eax, %ebx
	movl	(%r12), %esi
	movq	_CCCR_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	%ebx, %edx
	movq	%r14, %rdi
	callq	_m_can_write
	movl	$5, %edi
	callq	_udelay
	orl	(%r13), %ebx
	movl	(%r12), %esi
	movq	_CCCR_CCE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	jmp	LBB0_3
LBB0_2:
	movl	(%r12), %esi
	movq	_CCCR_INIT@GOTPCREL(%rip), %rcx
	movq	_CCCR_CCE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
	movq	%r14, %rdi
	movl	%eax, %edx
LBB0_3:
	callq	_m_can_write
	movq	_CCCR_INIT@GOTPCREL(%rip), %rax
	movq	_CCCR_CCE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	orl	(%rax), %ebx
	testl	%r15d, %r15d
	cmovel	%r15d, %ebx
	movq	%rax, %r15
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.4:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.5:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.6:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.7:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.8:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.9:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.10:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.11:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.12:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	je	LBB0_14
## %bb.13:
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	(%r13), %ecx
	orl	(%r15), %ecx
	andl	%eax, %ecx
	cmpl	%ebx, %ecx
	jne	LBB0_15
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CAN_CCCR,4,2                 ## @M_CAN_CCCR
	.comm	_CCCR_CSR,4,2                   ## @CCCR_CSR
	.comm	_CCCR_INIT,4,2                  ## @CCCR_INIT
	.comm	_CCCR_CCE,4,2                   ## @CCCR_CCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to init module\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m_can_config_endisable         ; -- Begin function m_can_config_endisable
	.p2align	2
_m_can_config_endisable:                ; @m_can_config_endisable
	.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	x21, _M_CAN_CCCR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_CAN_CCCR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_m_can_read
Lloh2:
	adrp	x8, _CCCR_CSR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CCCR_CSR@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	bic	w10, w0, w9
	tst	w9, w0
	csel	w8, w0, w10, eq
Lloh5:
	adrp	x22, _CCCR_INIT@GOTPAGE
Lloh6:
	ldr	x22, [x22, _CCCR_INIT@GOTPAGEOFF]
Lloh7:
	adrp	x23, _CCCR_CCE@GOTPAGE
Lloh8:
	ldr	x23, [x23, _CCCR_CCE@GOTPAGEOFF]
	cbz	w20, LBB0_2
; %bb.1:
	tst	w8, w9
	csel	w24, w8, w10, eq
	ldr	w1, [x21]
	ldr	w8, [x22]
	orr	w2, w8, w24
	mov	x0, x19
	bl	_m_can_write
	mov	w0, #5
	bl	_udelay
	ldr	w1, [x21]
	ldr	w8, [x22]
	orr	w8, w8, w24
	ldr	w9, [x23]
	orr	w2, w8, w9
	b	LBB0_3
LBB0_2:
	ldr	w1, [x21]
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w9, w10, w9
	bic	w2, w8, w9
LBB0_3:
	mov	x0, x19
	bl	_m_can_write
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	cmp	w20, #0
	csel	w20, wzr, w8, eq
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.4:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.5:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.6:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.7:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.8:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.9:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.10:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.11:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.12:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.eq	LBB0_14
; %bb.13:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_m_can_read
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, w20
	b.ne	LBB0_15
LBB0_14:
	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_15:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	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	_netdev_warn
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CAN_CCCR,4,2                 ; @M_CAN_CCCR
	.comm	_CCCR_CSR,4,2                   ; @CCCR_CSR
	.comm	_CCCR_INIT,4,2                  ; @CCCR_INIT
	.comm	_CCCR_CCE,4,2                   ; @CCCR_CCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to init module\n"

.subsections_via_symbols
