	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcan4x5x_clear_interrupts
_tcan4x5x_clear_interrupts:             ## @tcan4x5x_clear_interrupts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_TCAN4X5X_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCAN4X5X_CLEAR_ALL_INT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_tcan4x5x_write_tcan_reg
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_TCAN4X5X_MCAN_INT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCAN4X5X_ENABLE_MCAN_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tcan4x5x_write_tcan_reg
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_TCAN4X5X_INT_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_tcan4x5x_write_tcan_reg
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_TCAN4X5X_ERROR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tcan4x5x_write_tcan_reg        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCAN4X5X_STATUS,4,2            ## @TCAN4X5X_STATUS
	.comm	_TCAN4X5X_CLEAR_ALL_INT,4,2     ## @TCAN4X5X_CLEAR_ALL_INT
	.comm	_TCAN4X5X_MCAN_INT_REG,4,2      ## @TCAN4X5X_MCAN_INT_REG
	.comm	_TCAN4X5X_ENABLE_MCAN_INT,4,2   ## @TCAN4X5X_ENABLE_MCAN_INT
	.comm	_TCAN4X5X_INT_FLAGS,4,2         ## @TCAN4X5X_INT_FLAGS
	.comm	_TCAN4X5X_ERROR_STATUS,4,2      ## @TCAN4X5X_ERROR_STATUS
	.no_dead_strip	_tcan4x5x_clear_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcan4x5x_clear_interrupts
_tcan4x5x_clear_interrupts:             ; @tcan4x5x_clear_interrupts
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _TCAN4X5X_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCAN4X5X_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _TCAN4X5X_CLEAR_ALL_INT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TCAN4X5X_CLEAR_ALL_INT@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_tcan4x5x_write_tcan_reg
	cbnz	w0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _TCAN4X5X_MCAN_INT_REG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCAN4X5X_MCAN_INT_REG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _TCAN4X5X_ENABLE_MCAN_INT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TCAN4X5X_ENABLE_MCAN_INT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tcan4x5x_write_tcan_reg
	cbnz	w0, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _TCAN4X5X_INT_FLAGS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCAN4X5X_INT_FLAGS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_tcan4x5x_write_tcan_reg
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh14:
	adrp	x8, _TCAN4X5X_ERROR_STATUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TCAN4X5X_ERROR_STATUS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tcan4x5x_write_tcan_reg
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TCAN4X5X_STATUS,4,2            ; @TCAN4X5X_STATUS
	.comm	_TCAN4X5X_CLEAR_ALL_INT,4,2     ; @TCAN4X5X_CLEAR_ALL_INT
	.comm	_TCAN4X5X_MCAN_INT_REG,4,2      ; @TCAN4X5X_MCAN_INT_REG
	.comm	_TCAN4X5X_ENABLE_MCAN_INT,4,2   ; @TCAN4X5X_ENABLE_MCAN_INT
	.comm	_TCAN4X5X_INT_FLAGS,4,2         ; @TCAN4X5X_INT_FLAGS
	.comm	_TCAN4X5X_ERROR_STATUS,4,2      ; @TCAN4X5X_ERROR_STATUS
	.no_dead_strip	_tcan4x5x_clear_interrupts
.subsections_via_symbols
