	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_chip_start
_at91_chip_start:                       ## @at91_chip_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	%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, %r15
	movq	_AT91_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_IRQ_ALL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_at91_write
	movq	_AT91_MR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_at91_read
	movl	(%rbx), %esi
	movq	_AT91_MR_CANEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	callq	_at91_write
	movq	%r14, %rdi
	callq	_at91_set_bittiming
	movq	%r14, %rdi
	callq	_at91_setup_mailboxes
	movq	_CAN_CTRLMODE_LISTENONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%r15), %edx
	je	LBB0_2
## %bb.1:
	movq	_AT91_MR_ABM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	orl	(%r12), %edx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_at91_write
	movq	_CAN_STATE_ERROR_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_get_irq_mb_rx
	movl	%eax, %ebx
	movq	_AT91_IRQ_ERRP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_AT91_IRQ_ERR_FRAME@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_AT91_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_at91_write
	movq	_AT91_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_at91_write                     ## TAILCALL
	.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
	.comm	_CAN_CTRLMODE_LISTENONLY,4,2    ## @CAN_CTRLMODE_LISTENONLY
	.comm	_AT91_MR_ABM,4,2                ## @AT91_MR_ABM
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ## @CAN_STATE_ERROR_ACTIVE
	.comm	_AT91_IRQ_ERRP,4,2              ## @AT91_IRQ_ERRP
	.comm	_AT91_IRQ_ERR_FRAME,4,2         ## @AT91_IRQ_ERR_FRAME
	.comm	_AT91_IER,4,2                   ## @AT91_IER
	.no_dead_strip	_at91_chip_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_chip_start
_at91_chip_start:                       ; @at91_chip_start
	.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
Lloh0:
	adrp	x21, _AT91_IDR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AT91_IDR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _AT91_IRQ_ALL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _AT91_IRQ_ALL@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_at91_write
Lloh4:
	adrp	x23, _AT91_MR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _AT91_MR@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_at91_read
	ldr	w1, [x23]
Lloh6:
	adrp	x24, _AT91_MR_CANEN@GOTPAGE
Lloh7:
	ldr	x24, [x24, _AT91_MR_CANEN@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_at91_write
	mov	x0, x20
	bl	_at91_set_bittiming
	mov	x0, x20
	bl	_at91_setup_mailboxes
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _CAN_CTRLMODE_LISTENONLY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CAN_CTRLMODE_LISTENONLY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _AT91_MR_ABM@GOTPAGE
Lloh12:
	ldr	x10, [x10, _AT91_MR_ABM@GOTPAGEOFF]
	ldr	w11, [x24]
Lloh13:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, wzr, w10, eq
	orr	w2, w8, w11
	ldr	w1, [x23]
	mov	x0, x19
	bl	_at91_write
Lloh14:
	adrp	x8, _CAN_STATE_ERROR_ACTIVE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAN_STATE_ERROR_ACTIVE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_get_irq_mb_rx
Lloh17:
	adrp	x8, _AT91_IRQ_ERRP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AT91_IRQ_ERRP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh20:
	adrp	x9, _AT91_IRQ_ERR_FRAME@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AT91_IRQ_ERR_FRAME@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w20, w8, w9
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_at91_write
Lloh23:
	adrp	x8, _AT91_IER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AT91_IER@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	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	_at91_write
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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
	.comm	_CAN_CTRLMODE_LISTENONLY,4,2    ; @CAN_CTRLMODE_LISTENONLY
	.comm	_AT91_MR_ABM,4,2                ; @AT91_MR_ABM
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ; @CAN_STATE_ERROR_ACTIVE
	.comm	_AT91_IRQ_ERRP,4,2              ; @AT91_IRQ_ERRP
	.comm	_AT91_IRQ_ERR_FRAME,4,2         ; @AT91_IRQ_ERR_FRAME
	.comm	_AT91_IER,4,2                   ; @AT91_IER
	.no_dead_strip	_at91_chip_start
.subsections_via_symbols
