	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_can_start
_c_can_start:                           ## @c_can_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_c_can_chip_config
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	(%r12), %rax
	movq	_BOSCH_D_CAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_IF_COMM_RCV_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_IF_COMM_RCV_LOW@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_CAN_STATE_ERROR_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movl	8(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_pinctrl_get_select
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	8(%r12), %edi
	callq	_pinctrl_pm_select_default_state
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	_pinctrl_put
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BOSCH_D_CAN,8,3                ## @BOSCH_D_CAN
	.comm	_IF_COMM_RCV_LOW,4,2            ## @IF_COMM_RCV_LOW
	.comm	_IF_COMM_RCV_HIGH,4,2           ## @IF_COMM_RCV_HIGH
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ## @CAN_STATE_ERROR_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active"

	.no_dead_strip	_c_can_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c_can_start
_c_can_start:                           ; @c_can_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x19
	bl	_c_can_chip_config
	mov	x19, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _BOSCH_D_CAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BOSCH_D_CAN@GOTPAGEOFF]
Lloh2:
	adrp	x10, _IF_COMM_RCV_LOW@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IF_COMM_RCV_LOW@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _IF_COMM_RCV_HIGH@GOTPAGE
Lloh6:
	ldr	x11, [x11, _IF_COMM_RCV_HIGH@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _CAN_STATE_ERROR_ACTIVE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CAN_STATE_ERROR_ACTIVE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	ldr	w0, [x20, #8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pinctrl_get_select
	mov	x21, x0
	bl	_IS_ERR
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_pinctrl_pm_select_default_state
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	bl	_pinctrl_put
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BOSCH_D_CAN,8,3                ; @BOSCH_D_CAN
	.comm	_IF_COMM_RCV_LOW,4,2            ; @IF_COMM_RCV_LOW
	.comm	_IF_COMM_RCV_HIGH,4,2           ; @IF_COMM_RCV_HIGH
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ; @CAN_STATE_ERROR_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active"

	.no_dead_strip	_c_can_start
.subsections_via_symbols
