	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_chip_stop
_at91_chip_stop:                        ## @at91_chip_stop
	.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
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_AT91_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_IRQ_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_at91_write
	movq	_AT91_MR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_at91_read
	movl	(%r15), %esi
	movq	_AT91_MR_CANEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_at91_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_at91_transceiver_switch
	movl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_IDR,4,2                   ## @AT91_IDR
	.comm	_AT91_IRQ_ALL,4,2               ## @AT91_IRQ_ALL
	.comm	_AT91_MR,4,2                    ## @AT91_MR
	.comm	_AT91_MR_CANEN,4,2              ## @AT91_MR_CANEN
	.no_dead_strip	_at91_chip_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_chip_stop
_at91_chip_stop:                        ; @at91_chip_stop
	.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, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _AT91_IDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_IDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AT91_IRQ_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91_IRQ_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_at91_write
Lloh6:
	adrp	x21, _AT91_MR@GOTPAGE
Lloh7:
	ldr	x21, [x21, _AT91_MR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_at91_read
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _AT91_MR_CANEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AT91_MR_CANEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x20
	bl	_at91_write
	mov	x0, x20
	mov	w1, #0
	bl	_at91_transceiver_switch
	str	w19, [x20]
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_IDR,4,2                   ; @AT91_IDR
	.comm	_AT91_IRQ_ALL,4,2               ; @AT91_IRQ_ALL
	.comm	_AT91_MR,4,2                    ; @AT91_MR
	.comm	_AT91_MR_CANEN,4,2              ; @AT91_MR_CANEN
	.no_dead_strip	_at91_chip_stop
.subsections_via_symbols
