	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_can_open
_pch_can_open:                          ## @pch_can_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_pch_can_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_open_candev
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_free_irq
LBB0_4:
	movq	%r14, %rdi
	callq	_pch_can_release
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	callq	_pch_can_init
	movq	%rbx, %rdi
	callq	_pch_can_start
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_napi_enable
	movq	%rbx, %rdi
	callq	_netif_start_queue
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_pch_can_interrupt,4,2          ## @pch_can_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request_irq failed.\n"

L_.str.1:                               ## @.str.1
	.asciz	"open_candev() failed %d\n"

	.no_dead_strip	_pch_can_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_can_open
_pch_can_open:                          ; @pch_can_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _pch_can_interrupt@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pch_can_interrupt@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x4, x20
	bl	_request_irq
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_open_candev
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.3:
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_free_irq
LBB0_4:
	mov	x0, x19
	bl	_pch_can_release
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_6:
	mov	x0, x19
	bl	_pch_can_init
	mov	x0, x20
	bl	_pch_can_start
	add	x0, x19, #8
	bl	_napi_enable
	mov	x0, x20
	bl	_netif_start_queue
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pch_can_interrupt,4,2          ; @pch_can_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request_irq failed.\n"

l_.str.1:                               ; @.str.1
	.asciz	"open_candev() failed %d\n"

	.no_dead_strip	_pch_can_open
.subsections_via_symbols
